/*Estilo Geral*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: black;
    height: 100vh;
    color: white;
    line-height: 1.6;
}

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

}

.flex{
    display: flex;
}

.btn-contato button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: red;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

button:hover,form .btn-enviar input:hover{
    box-shadow: 0px 0px 8px red;
    background-color: white;
    color: red;
    transform: scale(1.05);
}

h2.titulo{
    font-size: 40px;
    color: white;
    margin-bottom: 40px;
    text-align: center;
}

h2.titulo span{
    color: red;
    font-size: 40px;
}

/*Estilo do Cabeçalho*/ 

header{
    text-align: center;     
    padding: 40px 4%;
}

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

header a{
    color: rgb(145, 133, 133);
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover{
    color: rgb(148, 144, 144);
    transform: scale(1.05);
}

header nav ul{
    display: flex;
    list-style: none;
}

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

img{
    width:50%;
    background-color: #020202;
    height: auto;
    display: flex;
    align-items: center;
}

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

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

.topo-do-site h1{
    font-size: 50px;
    color: black;
    margin-bottom: 20px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span{
    color: red;
    font-size:84px
}

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

.topo-do-site .img-topo-site img{
    display: flex;  
    align-items: center;
    position: relative;
    animation: fluidez 2s ease-in-out infinite alternate;
}
@keyframes fluidez{
    0%{
        top: 0;
    }
    100%{
        top: 30px;
    }
}

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

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

.especialidades .especialidades-box{
    color: white; 
    padding: 40px;
    border-radius: 30px;
    margin-top: 45px;
    transition: .2s;
}

.especialidades .especialidades-box:hover{
    transform: scale(1.05);
    box-shadow: 0px 0px 8px rgba(201, 41, 41, 0.336);

}
.especialidades .especialidades-box i{
    font-size: 70px;
    color: red;
}

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

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

section.sobre .flex{
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.sobre .txt-sobre{
    color: white;

}

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

.sobre .txt-sobre h2 span{
    color: red;
    font-size: 40px;
    display: block;
}

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

.btn-social button{
    margin-bottom: 30px;
    text-align: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: .2s;
    color: red;
    background-color: black;
    font-size: 25px;
    margin: 0 5px;
}

/*ESTILO DOS PROJETOS */
section.projetos{
    padding: 80px 4%;   
    box-shadow:  0 0 40px 10px rgb(61, 60, 60);
}

section.projetos .flex{
    justify-content: space-around;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

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

}

.img-ports:hover{
    background-position: 100% 100%;
}

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

.overlay:hover{
    opacity: 1;
}

/*ESTILO DO CONTATO */

section.formulario{
    padding: 80px 4%;

}

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

form input{
    width: 100%;
    background-color: #706a6a67;
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    margin-top: 20px;
}

form input,::placeholder{
    color: rgb(170, 163, 163);
}

textarea{
    height: 200px;
    background-color: #706a6a67;
    color: white;
    border: 0px;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    font-size: 18px;
    margin-top: 20px;
}

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

form .btn-enviar input{
    width: 120px;
    background-color: red;
    color: white;
    cursor: pointer;
    transition: .2s;
}

/*ESTILO DO RODAPÉ */

footer{
    padding: 40px 4%;
    box-shadow:  0 0 40px 10px rgb(61, 60, 60);
}

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

}

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

.borda{
    border-bottom: 2px solid red;
}

footer .line-fotter p i{
    color: red;
    font-size: 22px;
}

footer .line-footer p a{
    color: white;
}

/*ESTILO MENU-MOBILE*/

.btn-abrir-menu i{
   color: red;
   font-size: 40px;
   overflow: hidden;
   text-align: right;
   flex-direction: column;

}


.menu-mobile{
    background-color: #050505;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 100vh;
    z-index: 999999;
    overflow: hidden;
    transition: .2 s;
}
.menu-mobile.abrir-menu{
    width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;
    text-align: left;

}

.menu-mobile .btn-fechar i{
    color: red;
    font-size: 30px;
    text-align: left;

}

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


.menu-mobile nav ul{
    text-align: right;
    flex-direction: column;
    display:flex;

}

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

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

.overlay-menu{

    display: flex;
    background-color: #020202c9;
    width: 100%;
    height: 100%;
    position: right;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
    overflow: hidden;
}

@media screen and (max-width: 1020px) {

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

     h2.titulo{
      font-size: 32px;
      line-height: 35px;
   }

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

   /*TOPO DO SITE */

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

   }

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

   }

   .topo-do-site .img-topo-site img{
       width: 100%;

   }

   section .topo-do-site .flex{
    gap: 40px;
   }

   /*TOPO DO ESPECIALIDADES */
   section.especialidades{
    padding: 20px 8%;
   }

   /*SOBRE*/
   section.sobre{
    padding: 80px 8%;
   }

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

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

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

   /*PROJETOS*/
   section.projetos{
    padding: 80px 8%;
   }

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

   section.projetos .flex{
    gap: 60px
   }

   /*RODAPÉ*/
   footer .flex{
    flex-direction: column;
   }

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

  

    
}