.container{
    width: 1240px;
    margin: 0 auto;
    font-family: Lora, serif;
    line-height: 1.5;
    color: #1f1e1c;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
.header{
    display: grid;
    grid-template-columns: 145px 1fr;
    grid-column-gap:50px ;
    box-sizing: border-box;
    padding: 25px 0;
    border-bottom: 1px solid rgba(31, 30, 28, 0.2);
}
.logo a{
    font-weight: 900;
    text-decoration: none;
    color: black;
    font-size: 25px;
    color: inherit;  
    justify-self: center; 
    align-self: center;
}
.menu{
    display: flex;
    justify-content: flex-end;
    list-style: none;
    align-self: center;
}
.menu-item{
    margin-right: 25px;

}
.menu-item:last-child{
    margin-right: 0;
}
.menu-item-link{
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}
.menu-item-link:hover{
    text-decoration: underline;
    color: white;
}
.article{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
    column-gap: 50px;
}
.article-header{
    grid-column: 1/4;
    text-align: center;

}
.article-title{
    font-size: 46px;
    font-weight: normal;
    line-height: 1.5;
}
.article-info{
    font-size: 18px;
    line-height: 1.5;
}
.article-text{
    margin-top: 0;
}
.article-figure{
    margin: 0;
}
.article-figcaption{
    font-size: 16px;
    line-height: 1.5;
}
.article-figure-horizontal .article-figcaption{
    margin-top: 0;
}
.article-img-wide{
    grid-column: span 3;
}
.article-figure-wide{
    grid-column: span 2;
}
.footer{
    border-top: 1px solid rgba(31, 30, 28, 0.2);
}
.footer-copyright{
    display: flex;
    justify-content: flex-end;
    list-style: none;
    align-self: center;
    margin-top: -20px;
}
.article-figure-horizontal{
    display: grid ;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 50px;
}