/*ESTILO GERAL*/
/*RESETAR PAGINA*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 800;
    font-style: normal;
}

/*FUNDO DA PAGINA*/
body {
    background-image: linear-gradient( rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)),url(./Imagens/fundo\ home1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

/*TAMANHO DA PAGINA*/
.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: rgb(190, 178, 2);
    border: 0;
    border-radius: 25px;
    cursor: pointer;
    transition: 2s;
}

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

h2.titulo span {
    color: rgb(190, 178, 2);
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 8px rgb(190, 178, 2);
    transform: scale(1.15);
}

/*ESTILO CABEÇARIO*/
header {
    padding: 40px 4%;
}

header img {
    width: 200px;
    height: 200px;
    border-radius: 0%;
}

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

header a {
    color: #fff;        
    text-shadow: 0px 0px 6px rgb(85, 79, 1);
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover {
    color: rgb(190, 178, 2);
    text-shadow: 0px 0px 8px rgb(190, 178, 2);
    transform: scale(1.15);
}

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

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

/*ESTILO MENU MOBILE*/
.btn-abrir-menu i{
    color: rgb(190, 177, 2);
    font-size: 65px;
    display: none;
}


.menu-mobile{
    background-color: rgba(5, 5, 5, 0.63);
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .4s;
}

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


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

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

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

.menu-mobile nav ul li a{
    color: #fff;
    font-size: 25px;
    text-shadow: 0px 0px 12px rgb(190, 178, 2);
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}

.menu-mobile nav ul li a:hover{
    background-color: rgb(190, 177, 2);
    color: black;
    text-shadow: 0px 0px 12px rgb(3, 3, 0);
}

.menu-mobile .btn-fechar i{
    color: rgb(190, 177, 2);
    font-size: 30px;    
}

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

/*ESTILO DO TOPO DO SITE*/
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: #fff;
    font-size: 44px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span {
    color: rgb(190, 178, 2);
    font-size: 50px;
}


.topo-do-site .txt-topo-site p {
    color: #fff;
    margin: 40px 0;
    font-size: 20px;
}

.topo-do-site .img-top-site img {
    width: 500px;
    height: 500px;
    position: relative;
    animation: logo-flutuar 2s ease-in-out infinite alternate;
}

@keyframes logo-flutuar {
    0% {
        top: 0;
    }

    100% {
        top: -40px;
    }
}

/*ESTILO DAS ESPECIALIDADES*/
section.especialidades {
    padding: 40px 4%;
}

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

section.especialidades .especialidades-box {
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
}

section.especialidades .especialidades-box:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgb(190, 178, 2);

}

section.especialidades .especialidades-box i {
    font-size: 70px;
    color: rgb(190, 178, 2);
}

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

section.especialidades .especialidades-box p{
    text-align: justify;
    font-weight: 650;
}

/*ESTILO DO SOBRE*/
section.sobre {
    padding: 60px 4%;
}

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

.sobre .txt-sobre {
    color: #fff;
}

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

.sobre .txt-sobre h2 span {
    color: rgb(190, 178, 2);
    display: block;
}

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

.btn-social button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgb(190, 178, 2);
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

/*ESTILO PORTIFOLIO*/
section.portifolio {
    padding: 80px 8%;
    box-shadow: 0 0 40px 10px rgb(190, 177, 2);
}

section.portifolio .flex {
    justify-content: space-around;
    margin-top: 60px;
}

.img-port {
    width: 360px;
    height: 460px;
    background-size: cover;
    background-position: 100% 0%;
    transition: 10s;
    cursor: pointer;
    border-radius: 40px;
    position: relative;
}

.img-port:hover {
    background-size: cover;
    background-position: 100% 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(190, 177, 2, 0.541);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: .5s;
}

.overlay a{
    color: #fff;
    text-decoration: none;
}

.overlay:hover {
    opacity: 1;
}

/*ESTILO DO FORMULARIO DE CONTATO*/
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: rgba(190, 177, 2, 0.288);
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    color: #fff;
    font-size: 18px;
}

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

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

form .btn-enviar input {
    width: 120px;
    background-color: rgb(190, 177, 2);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

/*ESTTILO DO RODAPE*/
footer {
    padding: 40px 4%;
}

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

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

}

footer .line-footer img {
    width: 90px;
    height: 90px;
}

.borda {
    border-top: 2px solid rgb(190, 177, 2);
}

footer .line-footer p {
    text-align: right;
}

footer .line-footer p i {
    color: rgb(190, 177, 2);
    font-size: 20px;
}

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

/*ESTILO MOBILE*/
@media screen and (max-width: 1020px) {

    /*CLASSE GERAIS*/
    .flex {
        flex-direction: column;
    }

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

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    /*CABEÇARIO*/
    .menu-desktop,
    .btn-contato {
        display: none;
    }

    .btn-abrir-menu i{
        display: block;
    }

    /*TOPO DO SITE*/
    section.topo-do-site .flex {
        gap: 40px;
    }

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

    .topo-do-site h1 {
        font-size: 30px;
    }

    .topo-do-site .img-top-site img {
        width: 100%;
        height: auto;
    }

    /*ESTILO DAS ESPECIALIDADES*/
    section.especialidades {
        padding: 40px 12%;
    }
    
    /*SOBRE*/
    section.sobre {
        padding: 60px 8%;
    }

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

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

    .img-sobre img{
        width: 100%;
    }

    /*PORTIFOLIO*/
    section.portifolio {
        padding: 80px 8%;
    }

    .img-port {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;        
    }

    section.portifolio .flex {
        gap: 50px;
    }

    /*RODAPE*/
    footer .flex {
        flex-direction: row;
    }    
}