*, *::after, *::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

html{
    font-size:12px;
    font-family: "Average Sans", sans-serif;
    background-color: #EEEBC7;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    height: 8rem;
    padding: 0 2rem;

    color: white;
    background-color: #4481D5;
    border-bottom: 2px solid #4251B0;
}

.logo-nutri{
    width:8rem;
    height: 5.5rem;
}

.logo-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.5rem;
}

.nav-btn{
    background-color: #4251b000;
    border: transparent;
    font-size: 2rem;
    color: white;
}

.nav-btn:active{
    color: #2c5fa7;
}

nav{
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 9;

    display: flex;
    flex-direction: column;

    width: 15rem;
    height: 100vh;
    padding-top: 8rem;


    background-color: #4481D5;
    
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.nav-link{
    display: flex;
    align-items: center;

    width: 100%;
    height: 6rem;
    padding-left: 1rem;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
}

.nav-link:hover{
    background-color: #1d64c9;
}

.nav-icon-spacing{
    margin-right: 1rem;
}

.hidden {
    transform: translateX(-100%);
}

#overlay{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.507);
    z-index: 8;
}

.overlay-hidden{
    display: none !important;
}

.header-section {
    position: relative;

    background-image: url("../imagens/header-img-mobile.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;

    height: 78vh;
    width: 100vw;
    padding: 0 1.5rem;
}

/* camada que diminui a intensidade da imagem */
.header-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background-color: rgba(238, 235, 199, 0.35);
}

.header-section > * {
    position: relative;
    z-index: 1;
}

.header-title{
    font-size: 3.5rem;
    margin: 5rem 0;
}

.header-article{
    font-size: 1.4rem;
    font-weight: 600;
}

main{
    margin: 0 auto;
}

.presentation-grid{
    width: 100%;
    padding:2rem 1rem;
    display: grid;
    font-size: 1.3rem;
    gap: 3rem;
    
    justify-items: center;
    
    color: white;
    background-color: #4481D5;
}

.presentation-pfp{
    width:20rem;
    border: solid #D9D9D9 11px;
    border-radius: 20px;
}

.presentation-title{
    margin: 1rem auto;
    margin-bottom: 0.5rem;
    color: white;
}

.title-row{
    width: 23rem;
    height: 0.25rem;
    background-color: white;
    border: 0;
    margin-bottom: 3rem;
}

.presentation-paragraph{
    margin-bottom:1rem;
}

.questionary-row{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;

    margin: 7rem 1.5rem;
}

.questionary-cta{
    margin: 1rem 0;
    font-size: 3rem;
}

.questionary-link {
    display: inline-block;

    background-color: #30C7BB;
    text-decoration: none;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    font-size: 1.3rem;

    transform: scale(1);
    transition: transform 0.3s ease;
}

.questionary-link:hover {
    transform: scale(1.05);
}

.blue-row{
    height: 10rem;
    background-color: #4251B0;
}

.video-section, .recipy-section{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4481D5;
    height: 70vh;
    width: 100%;
}
/* =========================
   CARROSSEL
========================= */

.video-section,
.recipy-section {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 70vh;

    background-color: #4481D5;
}


/* A "janela" do carrossel */
.carousel-viewport {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* A faixa que contém os cards */
.carousel-track {
    display: flex;

    height: 100%;
    width: 100%;

    align-items: center;

    transition: transform 0.4s ease;
}


.video-card,
.recipy-card {
    flex: 0 0 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    width: 100%;
    height: 100%;

    padding: 2rem;
}

.card-border{
    width: 75%;
    display:flex;
    flex-direction: column;
    align-items: center;
    border: #2c5fa7 solid 2px;
    box-shadow: 8px 12px 9px 0px rgba(0, 0, 0, 0.47);
    -webkit-box-shadow: 8px 12px 9px 0px rgba(0, 0, 0, 0.47);
    border-radius: 15px;
    padding: 2rem 0;
}

.video-card img,
.recipy-card img {
    width: 30rem;
    max-width: 80%;

    aspect-ratio: 16 / 9;
    object-fit: cover;

    border-radius: 15px;
}

.video-card h3,
.recipy-card h3 {
    width: 30rem;
    max-width: 80%;

    margin-top: 1rem;

    font-size: 2rem;
    text-align: center;
    color: white;
}

.video-card p,
.recipy-card p {
    width: 30rem;
    max-width: 80%;

    margin-top: 0.5rem;

    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
    color: white;
}


/* =========================
   BOTÕES
========================= */

.carousel-btn {
    position: absolute;
    z-index: 3;

    background-color: #30C7BB;
    color: white;

    border: 0;
    border-radius: 50%;

    width: 3rem;
    height: 3rem;

    font-size: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

footer{
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    grid-template-rows: repeat(2, 1fr);

    color: white;
    background-color: #4251B0;

    margin-top: 10rem;
    padding-top:2rem;
    padding-inline: 1.5rem;
    height: 40rem;
    width: 100vw;
}

.footer-left{
    display: flex;

    flex-direction: column;
    font-size: 1.4rem;
    max-width: 350px;
}

.footer-right{
    margin-top: 5rem;
    font-size: 1.4rem;
    text-align: center;
}