@font-face {
    font-family: Inter-VariableFont_slnt;
    src: url(./assets/fonts/Inter-VariableFont_slnt\,wght.ttf);
}
:root{
    --primary-color:hsl(36, 100%, 99%);
    --secondary-color:hsl(35, 77%, 62%);
    --soft-red: hsl(5, 85%, 63%);
}
body{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:Inter-VariableFont_slnt,sans-serif;
    max-width: 1200px;
    margin: auto;
}


header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    user-select:none;
}

header nav>ul{
    display: flex;
    list-style: none;
    gap: 40px;
}

header nav>ul a{
    text-decoration:none;
    color:inherit;
    transition: 0.3s ease-in-out color;
}
header nav>ul a:hover{
    color: var(--soft-red);
}

.ctn-img img{
    width: 100%;
}
.header-wrapper{
    display: flex;
    gap: 20px;
}

.header-wrapper .ctn-info{
    width: 70%;
}

.header-wrapper>article{
    width: 30%;
    padding: 15px;
    background-color: hsl(240, 100%, 5%);
    color: var(--primary-color);
}
article h1{
    color:var( --secondary-color);
    font-size:2em
}
article section{
    margin-top:30px
}
.info-view{
    display: flex;
    gap: 20px;
    padding-top: 20px;
}
.info-view>.newTitle{
    font-size: 1.4em;
    margin: 0;
}
.newTitle h1{
    margin: 0;
}
.info-view div{
    width: 50%;
}

.ctn-desc button{
    padding: 15px 30px;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: bold;
    color:var(--primary-color) ;
    background-color: var(--soft-red);
    border: none;
    font-size: 0.8em;
    transition: 0.3s ease-in-out background-color;
    cursor: pointer;
    letter-spacing: 5px;
}
.ctn-desc button:hover{
    background-color: hsl(240, 100%, 5%);
}
.ctn-article{
    display: flex;
    gap: 20px;
    height: 200px;
    width: 31.2%;
}
.ctn-article h1,.ctn-article h3{
    margin-top: 0;
}
.ctn-article h1{
    color:lightgray
}
h3>a{
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease-in-out color;
}
h3>a:hover{
    color: var(--secondary-color);
}
.ctn-article h3>a:hover{
    color: var(--soft-red);
}
.ctn-article img{
    height: 100%;
}
.article-wrapper{
    margin-top: 25px;
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    
}
.menu-drawer,.closer-menu{
    display: none;
}
@media only screen and (max-width:1200px){
    body{
        margin: 0 20px;
        overflow-x: hidden;
        position: relative;
    }
    /**/
}

@media only screen and (max-width:1030px){
    header {
        position: fixed;
        width: 100%;
        justify-content: space-between;
        background-color: white;
        top: 0;
        left: 0;
        z-index: 2;
    }
    body{
        padding-top: 80px;
    }
    header div{
        padding-left:20px;
    }
    header nav{
        padding-right: 20px;
    }
    
    .ctn-article{
        width: 45%;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width:870px){
    .header-wrapper{
        flex-direction: column;
        width: 100%;
    }
    .header-wrapper .ctn-info {
        width: 100%;
    }
    
    .header-wrapper>article{
        width: 100%;
        padding: 0;
    } 
    .header-wrapper>article section,.header-wrapper>article h1{
        padding: 0 15px;
    }
    .header-wrapper>article hr{
        margin: 0 15px;
    }

}

@media only screen and (max-width:750px){
    .ctn-article{
        width: 100%;
    }
    .info-view {
        gap: 0px;
        flex-wrap: wrap;
    }

    .info-view div {
        width: 100%;
    }
}
@media only screen and (min-width:630px){
   .ctn-mobile-menu{
	background-color:inherit!important
   }
}
@media only screen and (max-width:630px){
    header{
        display: block;
    }
    header>div{
        display: inline-block;
        padding-top: 20px;
    }
    .ctn-mobile-menu{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgb(0, 0, 0,0);
        transition: 0.5s ease-in-out background-color;
        display: none;
    }
    nav{
        position: fixed;
        top: 0;
        right: -100%;
        width: 65%;
        height: 100vh;
        background-color: white;
        transition: 0.3s ease-in-out;
    }
    header nav>ul{
        margin-top: 170px;
        flex-direction: column;
        z-index: 3;
        padding-left: 30px;
    }
    .menu-drawer{
        top: 50%;
        padding: 0;
        transform: translateY(-50%);
        right: 20px;
        display: inline-block;
        position: absolute;
    }

    .closer-menu{
        display: inline-block;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 45px;
        right: 30px;
        z-index: 4;
        cursor: pointer;
    }
}