
/* ESTILO GERAL */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.opening-photo {
    width: 100%;
    height: auto;
    margin: 0;
}

body {
    background-color: #ffffff;
    height: 100vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex{
    display: flex;
}

.flexreverse{
    display: flex;
    margin-right: 15px;
}

h2.titulo{
    color: #6b6b6b;
    font-size: 38px;
    text-align: center;
}

h2.titulo span{
    color: #f88603;
}

button:hover, form .btn-enviar input:hover{
    transform: scale(1.05);
    box-shadow: 0 0 10px #ffffff71;
}


/* ESTILO barra CABEÇALHO */

header{
    padding: 20px 4%;
    background-color: #48887bcc;
}

header > .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

header a{
    color: #b69797;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover{
    color: #ffffff;
    text-decoration: none;
    transform: scale(1.05);
}

header nav.menu-desktop a{
    color: #dfdfdf;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
    text-align: center;
} 

header nav.menu-desktop a:hover{
    color: #ffffff;
    text-decoration: none;
    transform: scale(1.05);
}

header nav ul{
    list-style-type: none;
}

header nav.menu-desktop ul li{
    display: inline-block;
    padding: 0 40px;
}

/* ESPAÇAMENTO ITENS MENU*/
header nav.menu-desktop ul li{
    display: inline-block;
    padding: 0 20px;
}

header .btn-entrar button{
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 400;
    background-color: #fff;
    border: 0;
    border-radius: 30px;
    cursor: pointer;   
}

header .btn-entrar button:hover{
    box-shadow: 0px 0px 8px #ffffff;
}


/* MENU MOBILE */

.btn-abrir-menu{
    display: none;
}

.btn-abrir-menu i{
    color: #fff;
    font-size: 40px;
}

.overlay-menu{
    background-color: #000000ad;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}

.menu-mobile{
    background-color: #48887bcc;  
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu-mobile.abrir-menu{
    width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;
}

.menu-mobile .btn-fechar i{
    color: #fff;
    font-size: 25px;
}

.menu-mobile .btn-fechar{
    padding: 20px 5%;
    margin-top: 5px;
}

.menu-mobile nav ul{
    text-align: right;
}

.menu-mobile nav ul li a{
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}

.menu-mobile nav ul li a:hover{
    background-color: #ffffff;
    color: #000;
}

/* ESTILO DO TOPO DO SITE - materias*/
section.topo-do-site{
    padding: 40px 4%;
}

section.topo-do-site .flex{
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1{
    color: #6b6b6b;
    font-size: 42px;
    line-height: 40px;
    text-decoration: none;
}

.topo-do-site .txt-topo-site h1 span{
    color: #f88603;
}

.topo-do-site .txt-topo-site p{
    color: #6b6b6b;
    margin: 40px 0;
}

.topo-do-site .txt-topo-site i{
    color: #f88603;
    margin: 40px 0;
    font-size: 16px;
    text-decoration: none;
}

.topo-do-site .txt-topo-site a{
    color: #f88603;
    margin: 40px 0;
    text-decoration: none;
}

.topo-do-site .txt-topo-site a:hover{
    color: #6b6b6b;
    margin: 40px 0;
    text-decoration: none;
}

.topo-do-site .btn-conheca button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 500;
    background-color: #c7c5c5;
    border: 0;
    border-radius: 20px;
    cursor: pointer;   
    transition: .2s;
}

.topo-do-site .btn-conheca button:hover{
    box-shadow: 0px 0px 8px #ffffff;
    transform: scale(1.05);
}

.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 4s ease-in-out infinite alternate;
    border-radius: 20px;
    margin-left: 40px;
    align-items: center;
}


@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top: 10px;
    }
}

/* ESTILO DAS ESPECIALIDADES*/

section.especialidades {
    padding: 20px 4%;
}

section.especialidades .flex{
    gap: 60px;
}

.especialidades .especialidades-box{
    color: #48887B;
    padding: 20px;
    margin-top: 35px;
    border-radius: 20px;
    transition: .2s;
}

.especialidades .especialidades-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 15px #48887B;
}

.especialidades .especialidades-box i{
    font-size: 58px;
    color: #f88603;
}

.especialidades .especialidades-box h3{
    font-size: 28px;
    margin: 10px 0;
}

.especialidades .btn-conheca button{
    padding: 7px 15px;
    font-size: 15px;
    font-weight: 400;
    background-color: #c7c5c5;
    border: 0;
    border-radius: 20px;
    cursor: pointer;   
    transition: .2s;
    margin-top: 10px;
}

.especialidades .btn-conheca button:hover{
    box-shadow: 0px 0px 8px #ffffff;
    transform: scale(1.05);
}

/* SOBRE */
section.sobre {
    padding: 40px 4%;
}

section.sobre .flex{
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre{
    color: #6b6b6b;
}

.sobre .txt-sobre h2{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 20px;
}

.sobre .txt-sobre h2 span{
    color: #f88603;
    font-size: 40px;
}

.sobre .txt-sobre p{
    margin: 20px 0;
    text-align: justify;
}

.btn-social button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: #fff;
    background-color: #f88603;
    font-size: 25px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

.img-sobre img{
    border-radius: 20px;
    justify-content: center;
}

.img-sobreqr img{
    padding-top: 10px;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
}

/* ESTILO DE FORMULARIO */

section.formulario {
    padding: 80px 4%;
}

form{
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

form input, form textarea{
    width: 100%;
    background-color: #5050503b;
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    color: #000000;
    font-size: 15px;
}
/*form input:placeholder{
    color: #f88603;
}*/

form textarea{
    resize: none;
    max-height: 300px;
}

form .btn-enviar{
    margin-top: 20px;
    text-align: center;
}

form .btn-enviar input{
    width: 120px;
    background-color: #f88603;
    color:#fff;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
}

/* Estilo do Rodapé */
footer{
    padding: 7px 4%;
    box-shadow: 0 0 20px #48887B;
}

footer .flex{
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px;
}

.borda{
    border-top: 2px solid #f88603;
}

footer .line-footer p i{
    color: #f88603;
    font-size: 22px;
}

footer .line-footer p a{
    color: #f88603;
}

.icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    background-color: #df8217;
    color: #ffffff;
    border-radius: 50%;
    padding: 3px;
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    z-index: 100;
  }
  
  .icon .fab{
    padding-top: 8px;
  }
  
  .icon:hover{
    background-color: #fff;
    color: #029e3b;
    font-weight: 900;
    box-shadow: 2px 2px 10px #5fe690;
  }


@media screen and (max-width: 1020px){
  
    /* CLASSES GERAIS */
    .btn-abrir-menu{
        display: block;
    }
 
    .opening-photo {
        display: none;
    }
    
    .flex{
        flex-direction: column;
    }

    .flexreverse{
        flex-direction: column-reverse;
    }

    h2.titulo{
        font-size: 34px;
        line-height: 30px;
    }

    /* CABEÇALHO */

    .menu-desktop, .btn-entrar{
        display: none;
    }

    /* TOPO DO SITE */

    section.topo-do-site{
        padding: 20px 8%;
    }

    section.topo-do-site .flex{
        gap: 40px;
    }
    
    .topo-do-site h1{
        font-size: 30px;
    }

    .topo-do-site .img-topo-site img{
        width: 100%;
        border-radius: 20px;
        margin-left: 0px;
        justify-content: center;
    }

    /* ESPECIALIDADES */

    section.especialidades {
        padding: 40px 8%;
    }

    /* SOBRE */

    section.sobre {
        padding: 34px 8%;
    }

    .sobre .txt-sobre h2{
        font-size: 40px;
        line-height: 30px;
        text-align: center;
    }

    .btn-social{
        text-align: center;
    }

    .img-sobre img{
        width: 100%;
        border-radius: 20px;
        
    }

    .img-sobreqr img{
        display: flex;
        padding-bottom: 15px;
        width: 180px;
        border-radius: 20px;
        align-items: center;
        justify-content: center;
        flex-direction: center;
    }


    /* icone whats */
    .icon {
        position: fixed;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
        background-color: #df8217;
        color: #ffffff;
        border-radius: 50%;
        padding: 3px;
        width: 50px;
        height: 50px;
        text-align: center;
        text-decoration: none;
        z-index: 100;
      }
      
      .icon .fab{
        padding-top: 8px;
      }
      
      .icon:hover{
        background-color: #fff;
        color: #029e3b;
        font-weight: 900;
        box-shadow: 2px 2px 10px #5fe690;
      }

      
    /* RODAPE */

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

    footer .line-footer {
        text-align: center;
    }
}

