
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+CU:wght@100..400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*A BARRA DE NAVEGAÇÃO DE CIMA - 1*/

header {
    background-color: rgb(51, 32, 94);
    box-shadow: 0px 3px 10px #483383;
}


.nav-bar-cima {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(69, 45, 126);
    height: 8rem;
    box-shadow: 3px 3px 3px #2c1457;
}

.contato-computador { /*nav item especifico p contato p alterar umas coisas*/
    margin-right: 4rem;

    text-decoration: none;
    font-size: 1.0rem;
    color: rgb(211, 196, 233);
    letter-spacing: 0.2rem;
    font-family: Inter;
}

.contato-computador:hover { 
    color: rgb(255, 255, 255);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    margin-left: 2rem;
    padding: 1.5rem 6rem; /*utilizando o rem para deixar mais adaptavel*/
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.nav-list {
    display: flex;
    align-items: center; /*para ficar centralizado*/
    justify-content: center;
    margin-right: 8rem;
}

.nav-list ul {
    display: flex;
    justify-content: center;
    list-style: none;
}


.nav-item {
    margin: 0 15px;
}

.link {
    text-decoration: none;
    font-size: 1.0rem;
    color: rgb(196, 179, 219);
    letter-spacing: 0.2rem;
    font-family: Inter;
    transform: scale();
   
}

.link:hover {
    color: rgb(255, 255, 255); /*Altera a cor quando passa o mouse*/
}

.nav-item:hover .submenu {
    display: block;
    
}

.submenu {
   position: absolute; 
   display: none;
   box-shadow: 0 0 7px rgb(40, 27, 68);
   background-color: rgb(39, 27, 68);
}

.submenu-link {
    display: block; /*para exibir na vertical*/
    color: beige;
    text-decoration: none;
    font-size: 1.25rem;
    padding: 1rem;
    letter-spacing: 0.1rem;
 }

 .submenu-link:hover {
    background-color: rgb(115, 71, 133);
 }

 
/*--------------------CONHEÇA-----------------------*/

.conhecaSarah {
    background:linear-gradient(to bottom,  rgb(48, 33, 83) , rgb(63, 33, 83));
    padding: 45px 9%; /*4% nas laterais*/
    box-shadow:0 0 7px#1c0c38;
}

.container-txt-img { /*Flex*/
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 90px; /*para dar espaço entre o texto e imagem*/
    margin: auto;

}

.txtSarah h1 {
    color: bisque;
    font-size: 39px;
}

.txtSarah h1 span {
    color: rgb(219, 107, 247);
}

.txtSarah p {
    line-height: 1.8;
    text-indent: 5%;
    color: bisque;
    font-family: Inter;
    margin: 40px 0;
    text-align: justify;

}

.txtSarah p span {
    color: rgb(219, 107, 247);
}


.txtSarah p a {
    color: rgb(219, 107, 247);
    text-decoration: none;
}

.txtSarah p i {
    font-size: 20px;
    margin-right: 10px;
}


.imgSarah img{
    position: relative; /*para o Keyframe funcionar */
    animation: flutuar 2s ease-in-out infinite alternate; /*começa suave, rapida no meio e termina suave. Alternate faz ir e voltar*/

}

.imgSarah2 img{
    position: relative; /*para o Keyframe funcionar */
    animation: flutuar 2s ease-in-out infinite alternate; /*começa suave, rapida no meio e termina suave. Alternate faz ir e voltar*/

}

@keyframes flutuar {
    0%{
        top:0;
    }
    100%{
        top:10px;
    }
}

/*------------------FOOTER-------------------------*/

footer {
    padding: 30px;
    background-color: #1c0c38;
}

.conteudo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logoFooter {
    border-right: 2px solid #483383;
    padding-right: 100px;
}

.containerFooter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.linksFooter li {
    margin: 10px 0;
    list-style: none;
}

.linksFooter a {
    text-decoration: none;
    color: rgb(174, 116, 212);
    font-size: 15px;
    font-family: Inter;
}

.contatosFooter li {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    list-style: none;
    justify-content: start;
}

.contatosFooter i {
    font-size: 20px;
}

.contatosFooter p {
    text-decoration: none;
    color: rgb(174, 116, 212);
    font-family: Inter;
}

.linksFooter h3,
.contatosFooter h3{
    color:rgb(192, 144, 231);
    font-size: 18px;
}

.copyright {
    background-color: #140829;
    color: #7052c2;
    margin: 0;
    padding: 20px;
}

/*--------------------MOBILE-----------------------*/


.icon-menu-mobile {
    display: none; /*Não vai aparecer normalmente*/
    margin-top: 1.1rem;
}

.mobile-menu {
    display: none; /*Não vai aparecer normalmente*/
}

 @media screen and (max-width:1020px){
    .nav-bar-cima {
        justify-content: center;
    }
    .logo {
        margin:0
    }
    .navbar {
        padding: 1.5rem 4rem;
    }
    .contato-computador {
        display: none;
    }
    .nav-item {
        display: none; /*Na tela para celular, os itens nao aparecem na navbar*/
    }
    .icon-menu-mobile {
        display: block; 
    }
    .icon-menu-mobile button {
        background-color: transparent; 
        border:none;
        cursor: pointer;

    }
    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }

    .mobile-menu .nav-item {
        display: block;
        padding-top: 1.2rem;

    }
    .mobile-menu .nav-item:hover {
      background-color: rgb(115, 71, 133);

    }

    .mobile-menu .submenu{
        display: none;
    }

    .mobile-menu .submenu .link{
        display: inline-flex;
    }

/*-----------------corpo-----------------*/


    .container-txt-img {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .txtSarah {
        text-align: center;
    }

    .txtSarah p {
        text-align: justify;
    }

    .conhecaSarah .container-txt-img {
        width: 100%;
        height: 100%;
    }

    .imgSarah .imgSarah2 {
        display: flex;
        flex-direction: column;
    }

    .imgSarah img,
    .imgSarah2 img {
        width: 100%;
        height: 100%;
    }

    /*------------------footer-------------------------*/

        
    footer {
        padding: 30px;
        background-color: #1c0c38;
    }

    .containerFooter {
        padding:10px 0 0;
    }

    .conteudo {
        display: flex;
        flex-direction: column;
        text-align: center;
        line-height: 1.5rem;
    }

    .logoFooter img {
        padding:10px;
        display:block;
        margin: 0 auto; /*centraliza*/
    }
 
    .logoFooter {
        border-right: 0px solid #483383;
        padding-right: 0px;
    }

    .linksFooter,
    .contatosFooter {
        margin-top: 20px;
    }

    .linksFooter h3,
    .contatosFooter h3 {
        margin-bottom: 20px;
    }

        
    .linksFooter h3::after{
        display: flex;
        content: '';
        max-width: 90rem;
        height: 1px;
        background-color: #483383;
        display: block;
        margin-top: 0.5rem;
    }

    .contatosFooter h3::after {
        display: flex;
        content: '';
        max-width: 90rem;
        height: 1px;
        background-color: #483383;
        display: block;
        margin-top: 0.5rem;
    }

    .contatosFooter li {
        margin: 15px 0;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .copyright {
        padding:20px;
        text-align: center;

    }


    .open{ /*CLASSE PRO JS*/
        display: block;
    }
    .mobile-menu.open {
        transition: transfom 0.3s ease-in;
    }
 }