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

/* BG */

.bg_hero{
    background-image: url("https://img.fitralin.com/hero_bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 0 64px 0;
}

/* HEADER */

header{
    max-width: 1195px;
    width: 100%;
    margin: auto;
}

.header_container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo_container{
    max-width: 280px;
    width: 100%;
    height: auto;
}

.logoheader_desktop{
    width: 100%;
    height: auto;
}

.logoheader_mobile{
    display: none;
}

.navbar{
    max-width: 631px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: flex-end;
}

.navbar ul{
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar ul li{
    list-style-type: none;
}

.navbar ul li a{
    color: #DDEDDE;
    font-family: "Helvetica Neue";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
}

.navbar button{
    display: flex;
    height: 36px;
    padding: 8px 16px;
    align-items: center;
    gap: 8px;
    background: #EABF1F;
    color: #FFF;
    font-family: "Helvetica Neue";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    border: none;
}

/* MOBILE FIRST NAV HIDDEN */
.menu_icon{
    display: none;
    cursor: pointer;
}

/* MAIN */

main{
    max-width: 1140px;
    width: 100%;
    margin: auto;
    padding-top: 64px;
}

.main_container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.main_info{
    display: flex;
    max-width: 597px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.main_info h1{
    color: #FFF;
    font-family: "Helvetica Neue";
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 90px; /* 125% */
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.main_info h2{
    color: #FFF;
    font-family: "Helvetica Neue";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 34px; /* 113.333% */
}

.buy_btn{
    display: flex;
    width: 300px;
    height: 50px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    background: #EABF1F;
    border: none;
    cursor: pointer;
    color: #FFF;
    text-align: center;
    font-family: "Helvetica Neue";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.main_image{
    max-width: 540px;
    width: 100%;
    margin: auto;
}

.main_image img{
    width: 100%;
    height: auto;
}

/* FEATURES */

.features_wrapper{
    background: #E0EFE1;
    padding: 64px 0;
}

.features_container{
    max-width: 1180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}

.feature{
    display: flex;
    max-width: 295px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.feature img{
    width: 50px;
    height: 50px;
}

.fast_delivery{
    width: 68px !important; 
    height: 50px;
}

.feature_text{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.feature_text h2{
    color: #191915;
    text-align: center;
    font-family: "Helvetica Neue";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.feature_text p{
    color: #191915;
    text-align: center;
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.8;
}

/* DETAILS */

.details_wrapper{
    padding: 80px 0 120px 0;
}

.details_container{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1180px;
    width: 100%;
    margin: auto;
}

.ingredients_container{
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.ingredients_title{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ingredients_title h2{
    color: #1D5542;
    font-family: "Helvetica Neue";
    font-size: 43px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px; /* 104.651% */
    letter-spacing: -1px;
}

.ingredients_title p{
    color: #474744;
    font-family: "Helvetica Neue";
    font-size: 26x;
    font-style: normal;
    font-weight: 500;
    line-height: 45px; /* 104.651% */
}

.ingredients{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.ingredients h3{
    color: #1D5542;
    font-family: monospace;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 133.333% */
    text-transform: uppercase;
    width: 100%;
    border-bottom: 1px solid #BDBDBD;
}

.ingredient{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #BDBDBD;
}

.ingredient p{
    color: #474744;
    text-align: right;
    font-family: monospace;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 144.444% */
}

.inactive_ingredients{
    color: #474744;
    font-family: monospace;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 144.444% */
}

.inactive_ingredients span{
    color: #191915;
}

/* FOOTER */

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 868px;
    width: 100%;
    margin: auto;
    padding: 40px 0;
}

.footer_icon{
    max-width: 25px;
    width: 100%;
    height: auto;
    margin: auto;
}

.footer_icon img{
    width: 100%;
    height: auto;
}

.footer_info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    align-self: stretch;
}

.footer_info img{
    max-width: 115px;
    width: 100%;
    height: auto;
}

.footer_info p{
    color: #474744;
    text-align: center;
    font-family: "Helvetica Neue";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

/* RESPONSIVE DESIGN */

@media (max-width: 480px){
    .header_container, .main_container, .features_container, .details_container, footer{
        width: 90%;
        margin: auto;
    }
    .navbar{
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right .3s ease;
        padding: 24px;
    }

    .navbar.active{
        right: 0;
    }

    .navbar ul{
        flex-direction: column;
        gap: 32px;
    }

    .navbar button{
        width: 100%;
        justify-content: center;
    }

    .header_container {
        justify-content: space-between;
    }

    .navbar ul li a{
        font-size: 22px;
    }

    .menu_icon{
        display: block;
        z-index: 200;
    }
    .main_container{
        flex-direction: column-reverse;
        gap: 40px;
    }
    .main_info h1{
        font-size: 48px;
        line-height: 130%; /* 62.4px */
        margin-bottom: 16px;
    }
    .main_info h2{
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 24px;
    }
    .buy_btn{
        width: 100%;
    }
    .features_wrapper{
        padding: 24px 0;
    }
    .features_container{
        flex-direction: column;
        gap: 24px;
    }
    .details_wrapper{
        padding: 54px 0 100px 0;
    }
    .details_container{
        flex-direction: column;
        gap: 32px;
    }
    .logoheader_mobile{
        display: block;
        width: 132px;
    }
    .logoheader_desktop{
        display: none;
    }
    .main_image{
        width: 90%;
    }
}
