*{
    box-sizing: border-box;
    margin: 0;
    padding: 0; 
}

:root{
    /* Primary  */
    --Blue-950: hsl(233, 26%, 24%); 
    --Green-500: hsl(136, 64%, 51%); 
    --Cyan-400: hsl(192, 69%, 51%);
    
     /* Neutral  */
    --Gray-600: hsl(233, 8%, 62%); 
    --Gray-100: hsl(220, 16%, 96%); 
    --Gray-50: hsl(0, 0%, 98%); 
    --White: hsl(0, 100%, 100%);
}

body{
    font-family: "Public Sans", sans-serif;
    overflow-x: hidden;
}

header{
    padding: 20px 0;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 5;
    position: relative;
}

.menu-button{
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu-list a{
    text-decoration: none;
    color: var(--Gray-600);
    font-weight: 500;
    font-size: 14px;
}
.menu-list a:hover{
    color: var(--Blue-950);
    border-bottom: 2px solid var(--Green-500);
}
.btn-request {
    border-radius: 50px;
    background: linear-gradient(to right, var(--Green-500), var(--Cyan-400));
    color: var(--White);
    border: none;
    padding: 10px 25px;
    cursor: pointer;
}

.btn-request:hover {
    background: linear-gradient(to right, hsl(136, 78%, 73%),hsl(192, 72%, 66%) );
}

.intro-container {
    background-color: var(--Gray-50);
    background-image: url('../images/bg-intro-desktop.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top -200px right -100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* padding: 50px 0; */
}

.intro-row h1{
    font-size: 3.5rem;
    font-weight: 300;
    width: 60%;
    margin-bottom: 20px;
}

.intro-row p{
    color: var(--Gray-600);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    width: 27.938rem;
}

.intro-image {
    position: relative;

}

.choice-section {
    padding: 80px 130px;
}

.choice-container h2{
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.choice-container p:nth-child(2){
    color: var(--Gray-600);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 60px;
    width: 26.063rem;
}

.choice-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.choice-row h3{
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 20px;
}

.choice-row p{
    color: var(--Gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 20px;
    width: 15.938rem;
}

.choice-icons{
    margin-bottom: 2rem;
}

.articles-content {
    padding: 80px 80px;
    background-color: var(--Gray-100);
}


.articles-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.article-column{
    background-color:var(--White);
    border-radius: 5px;
    max-width: 255px;
    width: 100%;
}

.article-column .writer{
    color: var(--Gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0 20px;
}

.article-column h4{
    color: var(--Blue-950);
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 1rem;
    width: 12.938rem;
    padding: 0 20px;
}

.article-column p{
    color: var(--Gray-600);
    font-size: 0.813rem;
    margin-bottom: 0.5rem;
    padding: 0 20px;
    width: 12.938rem;
}

.article-column h4:hover{
    color: var(--Green-500);
    cursor: pointer;
}

.article-image {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-bottom: 2rem;
}


footer{
    background-color: var(--Blue-950);
    color: var(--White);
    padding: 30px 0;
}

.logo-footer {
    margin-bottom: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.footer-menu-list {
    display: flex;
    gap: 80px;
}
.footer-list {
    list-style: none;
}

.footer-list a{
    text-decoration: none;
    color: var(--White);
    font-size: 14px;
}

.footer-list a:hover{
    color: var(--Green-500);
}

.footer-copyright {
    color: var(--Gray-600);
    margin-top: 2rem;
}

   .attribution {
       font-size: 11px;
       text-align: center;
   }

   .attribution a {
       color: hsl(228, 45%, 44%);
   }

@media (max-width: 48rem) {
    .btn-header{
        display: none;
    }
    .intro-container {
        background-image: url('../images/bg-intro-mobile.svg');
        background-position: top -150px right -50px;
    }
    .intro-row {
        flex-direction: column-reverse;
        text-align: center;
        padding: 0 20px;
    }

    .intro-row h1{
        font-size: 2.5rem;
        width: 100%;
    }

    .intro-row p{
        font-size: 0.938rem;
        width: 100%;
    }

    .choice-section {
        padding: 50px 20px;
    }
    
    .choice-container h2{
        font-size: 2rem;
        text-align: center;
    }

    .choice-container p:nth-child(2){
        text-align: center;
        font-size: 0.938rem;
        width: 100%;
    }

    .choice-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .choice-box-description{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .articles-row p{
        color: var(--Gray-600);
        font-size: 0.813rem;
        padding: 10px 30px;
        width: 100%;
    }

    .articles-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .menu-list {
        display: none;
    }

    .menu-list.active{
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 70px;
        left: 30px;
        border-radius: 10px;
        width: 20.438rem;
        background-color: var(--White);
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menu-button{
        display: block;
    }

    .hamburger.active{
        display: none;
    }

    .icon-close{
        display: none;
    }

    .icon-close.active{
        display: block;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-menu-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .copyright-box{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
   }