/* #region Шрифты*/
.anonymous-pro-regular {
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: normal;
}

.anonymous-pro-bold {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-style: normal;
}

.anonymous-pro-regular-italic {
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: italic;
}

.anonymous-pro-bold-italic {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-style: italic;
}

h1, h2, h3, h4{
    font-family: Anonymous Pro, monospace;
    font-weight: 700;
}
/* #endregion */

/* body{
    font-family: 'Anonymous Pro', monospace;
    background-color:black;
    color:white;
    display: flex;
    flex: auto;
    flex-direction: column;
    padding: 10%;
    gap: 50px;
}

header{
    background-color: white;
    color: red;
    border: 10px;
    border-color: red;
}

.sidepanel{
    background-color: blue;
    border: 10px;
    border-color: red;
} */

:root{
    --blue: rgb(110, 134, 238);
    --background: rgb(15,  17, 32);
    --backdrop: rgb(29, 32, 48);
}

body{
    display: grid;
    grid-template-areas:
     "header header header"
     "nav content sidebar"
     "footer footer footer";
     grid-template-columns: 1fr 3fr 1fr;
     padding-inline: 50px;
     gap: 20px 20px;
     background: url("img/backgr.png");
     background-repeat: repeat;
     color: white;
     font-family: anonymous pro;
}

.window{
    background-color: var(--background);
    border: 1px solid var(--blue);
    border-radius: 6px;
    padding: 0px;
    box-shadow: 2px 2px rgb(66, 80, 143);
    overflow: hidden;
    /* min-height: 80vh; */
}

.window-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    background-color: var(--blue);
    font-weight: 700;
    font-size: 18px;
}

.window-content{
    padding: 15px 10px;
}

ul{
    padding: 0px 5px;
    list-style: none;
    color: white;
    margin: 0;
}

li{
     margin-bottom: 8px;
}

a{
    color:white;
    text-decoration: none;
}

a:visited{
    color: gainsboro;
}

a:hover{
    text-decoration:underline;
    color: var(--blue);
}

li:before{
    content: "→";
    margin-right: 2px;
}

header{
    grid-area: header;
    display: flex;
    justify-content: end;
}

.sidepanel{
    grid-area: nav;
}

.content{
    grid-area: content;
}

.sidebar{
    grid-area: sidebar;
}

.sidebar-content{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

img{
    display: block;
}

.bio{
    padding: 5px 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: start;
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-preview{
    padding: 15px 15px;
    background-color: var(--backdrop);
    border-radius: 10px;
    margin-top: 0px;
    margin-inline: 5px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.blog-preview:hover, 
.blog-link:hover {
    border-color: var(--blue);
    color: white;
    text-decoration: none;
}

.blog-preview h2{
    margin-bottom: 0px;
    margin-top: 0px;
}

.blog-desc{
    display: flex; 
    justify-content: space-between;
    align-items: baseline;
}

.blog-desc p{
    margin-bottom: 5px;
    margin-top: 12px;
}

.blog-date{
    font-style: italic;
}

