:root{
    --dark-blue: hsl(240, 100%, 5%);
    --dark-gray-blue: hsl(236, 13%, 42%);
    --off-white: hsl(36, 100%, 99%);
    --gray-blue: hsl(233, 8%, 79%);
    --soft-orange: hsl(35, 77%, 62%);
    --soft-red: hsl(5, 85%, 63%);
    --opacity: hsla(234, 17%, 34%, 0.5);
}

*{
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

html{
    font-size: 15px;
    font-family: "inter";
}

header{
    display: flex;
    justify-content: space-between;
    padding: 2rem 1rem 1rem;
    align-items: center;
}

.header_logo{
    width: 50px;
}

.header_hamburger{
    width: 40px;
}

.menu_opacity{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 98;
    background-color: var(--opacity);
    display: none;
}

header nav{
    display: none;
    position: fixed;    
    background-color: var(--off-white);
    width: 65%;
    top: 0;
    left: 35%;
    height: 10rem;
    height: 100%;
    font-size: 1.5rem;
    z-index: 99;
}

header nav ul{
    list-style-type: none;
    padding: 0;
    margin: 15rem 0 0 2rem;
    width: fit-content;
}

header li{
    padding: 1rem 0;
    width: fit-content;
}

.menu_close_img{
    width: 50px;
    float: right;
}

.menu_close{
    padding: 1.5rem 1rem 0 0;
}

main{
    padding: 1rem;
    max-width: 600px;
    margin: auto;
}

h1{
    color: var(--dark-blue);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 2.8rem;
    margin: 1rem 0;
}

.future_content p{
    color: var(--dark-gray-blue);
    line-height: 1.6rem;
}

.future_button{
    background-color: var(--soft-red);
    border: none;
    width: fit-content;
    padding: 1rem 2.3rem;
    margin: 1.5rem 0;
    letter-spacing: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--dark-blue);
}

.new_article{
    background-color: var(--dark-blue);
    color: var(--off-white);
    padding: 1.5rem 1.5rem 0;
    margin: 3rem 0;
}

.new_article section{
    padding: 2rem 0;
}

.ai_section{
    border-top: 1px solid;
    border-bottom: 1px solid;
}

h2{
    color: var(--soft-orange);
    font-size: 2.1rem;
    letter-spacing: 1px;
}

h3{
    font-size: 1.35rem;
}

.new_article p{
    margin-top: 0.5rem;
    line-height: 1.6rem;
    font-weight: 300;
    color: var(--gray-blue);
}

.other_news_article{
    margin: 4.5rem 0; 
}

h4{
    color: var(--dark-blue);
    padding: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 900;
}

.other_news_article p{
    color: var(--dark-gray-blue);
    line-height: 1.5rem;
}

.other_news_article section{
    display: flex;
    margin: 2rem 0;
    gap: 1.5rem;
}

.other_news_article section img{
    width: 45%;
    min-width: 80px;
}

.orange_text{
    color: var(--soft-red);
    font-size: 2.2rem;
    font-weight: 700;
}

button:hover, header nav li:hover, .header_hamburger:hover, .menu_close_img{
    cursor: pointer;
}

button:active, .header_hamburger:active, .menu_close_img:active{
    scale: 1.05;
}

@media screen and (min-width:800px) {
    header{
        padding: 2rem 3rem 1rem;
    }
    
    header nav{
        display: flex;
        width: fit-content;
        position: initial;
        color: var(--dark-gray-blue);
        font-size: 1.2rem;
    }

    .menu_close{
        display: none;
    }

    header nav li{
        padding: 0 1rem;
    }

    header nav ul{
        list-style-type: none;
        padding: 0;
        display: flex;
        margin: 0;
    }

    .header_hamburger{
        display: none;
    }
}

@media screen and (min-width:1080px){
    html{
        font-size: 16px;
    }
    
    header{
        padding: 0;
        max-width: 1200px;
        margin: auto;
    }

    body{
        padding: 5rem 10rem;
    }

    main{
        max-width: 1200px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto auto;
        padding: 0;
        gap: 2rem;
        margin: 3rem auto 0;
    }

    .future_article{
        display: grid;
        grid-column: 1 / span 2;
        grid-row: 1 / span 2;
        grid-template-columns: 50% auto;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    .future_article picture{
        grid-column: 1 / span 2;
    }

    h1{
        font-size: 3.3rem;
        line-height: 3.5rem;
    }

    .new_article{
        grid-column: 3;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .other_news_article{
        grid-row: 3;
        grid-column: 1 / span 3;
        display: flex;
        margin: 0;
    }
}