
*{
    margin: 0;
    padding: 0;
    list-style: none;
}

body{
    background-color: #181719;
    color: #fff;
}

.head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100vw - 24px);
    height: 31px;
    margin: 18px 12px 0 12px ;
}
.head__title{
    border: 1px solid #ffffff;
    width: 90px;
    height: 16px;
    font-family: 'Crimson Pro', serif;
    font-size:  14px;
    font-weight: 200;
    line-height: 16px;
    color: #fff;
    padding: 8px;
    margin: 0;
    text-transform: uppercase;
    
}
.head__list{
    display: none;
    
    
}
.head__list--close{
    animation: openMenuListClose 0.6s reverse;
}
.head__list--open{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    height: 100%;
    z-index: 12;
    background-color: #181719;
    overflow-y: hidden;
    overflow: hidden;
    transition:all 1s;
    animation: openMenuList 1s ;
    
}
.head__el{
    margin: 32px 0;
    opacity: 1;
    animation: apparitionTitle 2.0s ;
    animation-delay: 0.3s;
    transform-origin: 50% 50% 21px;
    transform: rotateX(0deg);
}

.head__el--gsmMenu{
    opacity: 0;
}
.head__el:nth-child(2){
    animation-delay: 0.6s;
}
.head__el:nth-child(3){
    animation-delay: 0.9s;
}
.head__el:nth-child(4){
    animation-delay: 1.2s;
}
.head__elTitle{
    font-family: 'Montserrat', sans-serif;
    font-size:  18px;
    font-weight: 500;
    line-height: 14px;
    color: #fff;
    
}
.head__el--actif{
    padding: 0 0 8px 0;
    font-weight: 700;
    border-bottom: 2px solid #fff;
    
}



.head__menuBtn{
    display: flex;
    flex-direction: column;
    width: 29px;
    height: 19px;
    justify-content: space-between;
    position: relative;
    z-index: 13;
}
.head__menuBtn--open{
    margin: -4px;
}
.head__menuBtnBox{
    width: 100%;
    height: 3.4px;
    background-color: #fff;
    visibility: visible;
}
.head__menuBtnBox--open:nth-child(1){
    width: 100%;
    height: 3.4px;
    background-color: #fff;
    transform: rotateZ(45deg);
    margin: 15px 0 0 -5px;
    transition: 0.6s;
    animation: openBtnMenuBox1 0.6s backwards;

    animation-delay: 0.3s;
}
.head__menuBtnBox--open:nth-child(2){
    width: 100%;
    height: 3.4px;
    background-color: #fff;
    transform: rotateY(45deg);
    visibility: hidden;
    transition: 0.3s;
    animation: openBtnMenuBox2 0.8s backwards;
}
.head__menuBtnBox--open:nth-child(3){
    width: 100%;
    height: 3.4px;
    background-color: #fff;
    transform: rotateZ(-45deg);
    margin: -5px 0 0 -5px;
    animation: openBtnMenuBox3 0.6s   ;
    transition: 1.2s;

}


.main{
    margin: 38px 12px;
    width: calc(100vw - 24px);
    display: flex;
    flex-direction: column;


}
.main__block{
    
    display: flex;
    flex-direction: column;
    height: 202px;

}
.main__title{
    font-family: 'Lora', serif;
    font-size:  36px;
    font-weight: 500;
    line-height: 140%;
    color: #fff;
    margin: 0;
    
}
.main__txt{
    font-family: 'Montserrat', sans-serif;
    font-size:  14px;
    font-weight: 400;
    line-height: 14px;
    color: #fff;
    margin: 25px 0 0 0 ;
    width: 25ch;
}
.main__txt--btn{
    font-weight: 700;
    width: 82px;
    margin: 0;
}
.main__btn{
    display: flex;
    flex-direction: row;
    width: 125px;
    height: 18px;
    align-items: center;
    align-content: center;
    margin: 25px 0 0 0 ;
    justify-content: space-between;
}

.main__boxImg{
    
    display: flex;
    flex-direction: column;
    margin: 38px 0 0 0;
}
.main__post{
    width: 300px;
    height: 138px;
    background-color: #181719;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    margin: -40px 0 0 15vw;
}
.post__header{
    height: 37px;
    width: 193px;
    display: grid;
    grid-template-columns: 37px 140px;
    column-gap: 14px;
    grid-template-rows: repeat(2 16px);
    grid-template-areas: 
    "im t1"
    "im t2";
    margin: 13px 0 0 23px;
}

.post__img{
    width: 37px;
    height: 37px;
    border-radius: 50%;
    grid-area: im;
    
}
.post__name{
    font-family: 'Montserrat', sans-serif;
    font-size:  12px;
    font-weight: 500;
    line-height: 120%;
    color: #fff;
    grid-area: t1;
    margin: 3px 0 0 0;
    
}
.post__name--small{
    font-family: 'Montserrat', sans-serif;
    font-size:  10px;
    color:#828282;
    grid-area: t2;
    
    
}
.post__txt{
    font-family: 'Lora', serif;
    font-size:  18px;
    font-weight: 700;
    line-height: 140%;
    color: #fff;
    margin: 22px 0 0 23px;
    width: 18ch;
}


.foot{
    width: 100%;
    height: 40px;
    margin: 61px 0 0 0;
}
.foot__txt{
    text-align: center;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #A9A9A9;
}
.foot__lien{
    text-align: center;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #6d6d6d;
    text-decoration: underline;
}



@media (min-width:1100px){

    .head{
        width: calc(100vw - 152px);
        height: 31px;
        margin: 46px 76px 0 76px ;
    }
    .head__list{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 40vw;

    }
    .head__menuBtn{
        display: none;
    }
    .head__el{
        margin: 8px 0;
        opacity: 1;
        animation: apparitionTitle 2.0s ;
        animation-delay: 0.3s;
        transform-origin: 50% 50% 21px;
        transform: rotateX(0deg);
    }

    .main{
        margin: 135px 76px;
        width: calc(100vw - 152px);
        display: flex;
        flex-direction: row;
    
    
    }

    .main__title{
        font-size:  48px;
        margin: 150px 0 0 0 ;
    }
    .main__boxImg{

        max-width: 900px;
        width: 45vw;
        right: 0;
        float: right;
        margin: 0px 0 0 7vw;
    }
    .main__img{
        min-width: 800px;
        max-width: 900px;
        width: 60%;
        height: 580px;
        
    }
    .main__txt{
        font-size:  24px;
        margin: 40px 0 0 0 ;
        line-height: 140%;
        width: 25ch;
    }
    .main__txt--btn{
        font-size:  18px;
        font-weight: 700;
        width: 82px;
        margin: 0;
    }
    .main__btn{
        display: flex;
        flex-direction: row;
        width: 145px;
        height: 18px;
        align-items: center;
        align-content: center;
        margin: 25px 0 0 0 ;
        justify-content: space-between;
    }
    .main__btn:hover{
        
        transition: all 0.6s ease-in;
        width: 185px;
        cursor: pointer;
    }
    .main__btn:hover > .main__txt--btn{
        transition: all 0.6s ease-in;
        color: #d8cac1;
        font-weight: 900;
    }
    .main__btn:hover > .main__imgBtn{
        transition: all 0.3s ease-in;
        opacity: 0.6;
    }
    .main__imgBtn{
        margin: 6px 0 0 0 ;
        color: red;
    }
    .main__post{
        width: 410px;
        height: 190px;
        margin: -100px 0 0 15vw;
    }
    .post__header{
        height: 50px;
        grid-template-columns: 50px 140px;
        column-gap: 14px;
        margin: 18px 0 0 31px;
    }
    .post__img{
        width: 50px;
        height: 50px;
    }
    .post__name{
        font-family: 'Montserrat', sans-serif;
        margin: 5px 0 0 0;
        font-size:  14px;
        
    }
    .post__name--small{
        font-family: 'Montserrat', sans-serif;
        font-size:  12px;
        color:#828282;
        grid-area: t2; 
    }
    .post__txt{
        font-family: 'Lora', serif;
        font-size:  24px;
        font-weight: 700;
        line-height: 140%;
        color: #fff;
        margin: 28px 0 0 28px;
        width: 18ch;
    }
    
}


@media (min-width:1600px){
    .main__boxImg{

        max-width: 900px;
        width: 45vw;
        right: 0;
        float: right;
        margin: 0px 0 0 20vw;
    }
}
@keyframes openBtnMenuBox1 {
    from{
        transform: rotateZ(0deg);
    }
    30%{
        transform: rotateZ(0deg);
    }

    to{
        transform: rotateZ(45deg);
    }
}
@keyframes openBtnMenuBox2 {
    from{
        visibility: visible;
        width: 100%;
    }
    30%{
        visibility: hidden;
        width: 0;
    }

    to{
        visibility: hidden;
    }
}
@keyframes openBtnMenuBox3 {
    from{
        transform: rotateZ(0deg);
    }
    30%{
        transform: rotateZ(0deg);
    }

    to{
        transform: rotateZ(-45deg);
    }
}

@keyframes openMenuList {
    0% {
        transform: translateX(100vw);
        opacity: 0;
    }
    30%{
        transform: translateX(100vw);
        opacity: 0.6;
    }
    to{
        opacity: 1;
        transform: translateX(0vw);
    }
}
@keyframes openMenuListClose {
    0% {
        opacity: 1;
        transform: translateX(0vw);
        
    }
    30%{
        transform: translateX(100vw);
        opacity: 0.6;
    }
    to{
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes apparitionTitle{
    from{

        transform: rotateX(90deg);
        opacity: 0;

    }
    50%{
        transform: rotateX(90deg);
        opacity: 0.2;
    }
    to{
        transform: rotateX(0deg);
        opacity: 1;
    }
}