@import "https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;700&display=swap";


:root {
    --primary: #6995E4;
    --secondary: #827BDD;
    --tertiary: #AC4FC0;
    --light-gray: #B53E86;
    --dark-gray: #9BA8AF;
    --light-pink: #FEABB3;
    --white: #EFE9E4;
    --white-background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
}

section {
    min-height: 100vh;
    padding: 14rem 0 0;
    background-image: linear-gradient(90deg, #AC4FC0, #827BDD, #AC4FC0);
    background-size: 200% 200%;
    background-position: top center;
}

.section_card {
    background: var(--white-background);
    border-radius: 10px;
    min-height: 90vh;
    width: 90vw;
    margin: auto;
    padding: 2rem;
}

header {
    background-image: linear-gradient(90deg, #AC4FC0, #827BDD, #AC4FC0);
    background-size: 200% 200%;
    background-position: top center;
    width: 100VW;
    height: 12rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
}

header div.logo-header img {
    width: 12rem;
    margin-top: 1rem;
}

.menu-section {
    position: absolute;
    right: 4.5%;
    top: 70%;
}

nav.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 2rem;
    margin-top: 0.5rem;
}

nav.menu a {
    color: var(--white-background);
    text-transform: uppercase;
    margin-right: 18px;
}

nav.menu a:hover {
    border-bottom: 1px solid var(--white-background);
}

nav.menu a.active-menu {
    border-bottom: 3px solid var(--white-background);
    color: var(--white-background);
}



.home_content {
    border-radius: 1rem;
    align-items: start;
    justify-items: center;
}

.home_content h1,
h3 {
    margin-bottom: 1rem;
}


.nutritionist-info ul {
    margin-bottom: 2rem;
}

.lattes_button {
    background: var(--secondary);
    padding: 1rem;
    border-radius: 10px;
    text-transform: uppercase;
    color: var(--white-background);
    box-shadow: -2px -2px 5px rgba(255, 255, 255, 0.2), 2px 2px 5px rgba(0, 0, 0, 0.2);
}

a.lattes_button:hover {
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.4), 4px 4px 10px rgba(0, 0, 0, 0.4);
}

.about_laila {
    line-height: 2rem;
    display: flex;
}


.about_laila p {
    margin-bottom: 1rem;
}



div.profile {
    margin-top: 1rem;
}

div.about_laila img {
    width: 20vw;
    border-radius: 170rem;
    margin-left: 2rem;
}


/* SECTION SERVICES */
#services {
    line-height: 2rem;
}

#services h1 {
    text-align: center;
    margin-bottom: 4rem;
}

.services_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    align-items: start;
    justify-items: center;
    margin: 0 2rem;
}

.services_content h3 {
    margin-bottom: 2rem;
}


p {
    text-align: justify;
}


div.nutritionist-info ul li {
    list-style: disc;
    list-style-position: outside;
    margin-bottom: 1rem;
    display: list-item;
    list-style-position: inside;
    cursor: initial;
}


/* SECTION TESTIMONY */
#testimony {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#testimony h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.testimony_cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
    justify-items: center;
    max-width: 75vw;
}

.testimony_card {
    background: var(--dark-gray);
    width: 20rem;
    height: 24rem;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.testimony_content {
    line-height: 1.5rem;
}

.testimony_content h4 {
    margin-bottom: 1rem;
}

.testimony_img img {
    width: 4rem;
    border-radius: 50%;
}

.testimony_user {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
}

.testimony_info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


/* FORM CONTACT */
section#contact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact {
    width: 50%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-top: 3px solid var(--secondary);
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background: var(--white);
}

.contact .form-row {
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact_box {
    display: flex;
    align-items: center;
}

.contact_box svg {
    fill: var(--secondary);
    margin-left: 0.7rem;
}

.contact_box svg:hover {
    fill: var(--tertiary);
}

.email_info {
    color: var(--secondary);
    height: 30vh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.email_info h1 {
    font-size: 2rem;
}

.email_info p {
    font-size: 1.4rem;
}


/* FOOTER */

footer {
    width: 100%;
    margin-top: auto;
    color: var(--secondary);
}


footer div.div-footer {
    background: #BCB7B3;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer div.div-footer a {
    text-decoration: none;
    color: var(--secondary);
    margin-left: 0.2rem;
}


/* media queries */
@media (max-width: 1440px) {
    div img {
        width: 500px;
    }

    div.cards_col_one,
    div.cards_col_two {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    div.card-col-one,
    div.card-col-two {
        width: 17rem;
        font-size: 0.96rem;
    }

    .modal-content p {
        line-height: 1.5rem;
    }

    section#scheduling .address-cards {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}

@media (max-width: 1280px) {
    div img {
        width: 350px;
    }

    .image-about img {
        width: 175px;
    }

    div.nutritionist-img img {
        max-width: 20rem;
    }

    .contact {
        width: 80%;
    }
}

@media (max-width: 940px) {

    .about_laila {
        flex-direction: column;
    }

    .img_about_laila {
        display: flex;
        justify-content: center;
    }

    div.about_laila div.img_about_laila img {
        width: 30vw;
        margin: 0;
    }

    div.logo {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--white);
    }

    #specialties {
        font-size: 0.8rem;
    }

    section#specialties {
        grid-template-columns: 1fr;
    }

    .ghost {
        display: none;
    }

    div.cards_col_one,
    div.cards_col_two {
        grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    }

    div.card-col-one,
    div.card-col-two {
        width: 17rem;
    }

    div.wrapper-about .content-about p {
        line-height: 1rem;
    }

    .image-about {
        grid-template-columns: 1fr;
        align-content: space-evenly;
        justify-items: center;
    }

    div.nutritionist-img img {
        max-width: 14rem;
    }

    .nutritionist-info {
        font-size: 0.8rem;
    }

    .modal {
        width: 80%;
        height: 60%;
    }
}

@media (max-width: 850px) {
    header {
        height: 8rem;
    }

    header div.logo-header img {
        width: 10rem;
    }

    nav.menu {
        display: none;
    }

    .one,
    .two,
    .three {
        background-color: var(--white-background);
        opacity: 0.8;
        height: 5px;
        width: 100%;
        margin: 6px auto;

        transition-duration: 0.3s;
    }

    .menu-toggle {
        width: 40px;
        height: 30px;
        margin-right: 20px;
        position: absolute;
        right: -16px;
        top: -38px;
    }

    /* fullscreen */
    .menu-section.on {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: linear-gradient(90deg, #AC4FC0, #827BDD, #6995E4);
        background-size: 200% 200%;
        background-position: top center;

        z-index: 10;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-section.on nav {
        display: block;
    }

    .menu-section.on .menu-toggle {
        position: absolute;
        right: 25px;
        top: 45px;
    }

    .menu-section.on .menu-toggle .one {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-section.on .menu-toggle .two {
        opacity: 0;
    }

    .menu-section.on .menu-toggle .three {
        transform: rotate(-45deg) translate(8px, -9px);
    }

    .menu-section.on nav.menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menu-section.on nav.menu a {
        transition-duration: 0.5s;
        font-size: 2rem;
        line-height: 3rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 700px) {}

@media (max-width: 662px) {

    div.about_laila div.img_about_laila img {
        width: 50vw;
    }

    .email_info {
        height: 45vh;
    }


    .contact .form-row {
        font-size: 0.8rem;
        grid-template-columns: 1fr 3rem;
    }

    .email_info p {
        font-size: 1rem;
    }

    .email_info svg {
        width: 20px;
    }
}

@media (max-width: 530px) {
    div img {
        width: 360px;
    }


    .contact {
        height: 65vh;
    }
}

@media (max-width: 360px) {
    header div.logo-header img {
        width: 10rem;
    }

    div img {
        width: 270px;
    }

    .contact {
        font-size: 0.8rem;
    }

    .email_info p {
        font-size: 0.83rem;
    }
}