/*ESTILO GERAL*/
html{
  scroll-behavior: smooth;
}

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

body{
    background-color: black;
    height: 100vh;
}

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

.flex{
  display: flex;
}

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

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

h2.titulo span{
  color: #FF0000;
}

.especialidades .especialidades-box{
  color: #fff;
}

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

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

header a{
    color: #565656;
    text-decoration: none;
    display: inline-block;
    transition: 2s;
}
header nav.menu-desktop a:hover{
    color: #fff;
    transform: scale(1.05);
}

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

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

/*ESTILO DE MENU MOBILE*/
.btn-abrir-menu i{
  color: #FF0000;
  font-size: 40px;
}

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

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

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

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

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

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

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

.menu-mobile nav ul li a:hover{
  background-color: rgb(255, 0, 0);
  color: #000000;
}

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

.btn-abrir-menu{
  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 .txt_topo_site h1{ 
  color: #fff;
  font-size: 42px;
  line-height: 40px;
}

.topo_do_site .txt_topo_site h1 span{
  color: #FF0000;
  font-size: 84px;
}

.topo_do_site .txt_topo_site p {
  color: #fff;
  margin: 40px 0;
}

.topo_do_site .img-topo-site img{
  position: relative;
  animation: flutuar 2s ease-in-out infinite alternate;

}

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

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

section.especialidades{
  gap: 60px;
}

.especialidades .especialidades-box{
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  margin-top: 45px;
}
.especialidades .especialidades-box:hover{
  transform: scale(1.05);
  box-shadow: 0 0 8px #FF0000;
}

.especialidades .especialidades-box i {
  font-size: 48px;
  color: #FF0000;
}
.especialidades .especialidades-box h3{
  font-size: 28px;
  margin: 15px 0;
}

/*ESTILO DO SOBRE*/

section.Sobre{
  padding: 40px 4%;

}

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

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

.Sobre .txt-sobre h2{
  font-size: 45px;
  line-height: 40px;
  margin-bottom: 30px;
}
.Sobre .txt-sobre h2 span{
  color: #FF0000;
  display: block;
}

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

.btn-social button{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #FF0000;
  font-size: 22px;
  cursor: pointer;
  margin: 0 5px;
} 

/*ESTILO DO PORTFÓLIO*/

section.portfolio{
  padding: 80px 4%;
  box-shadow: 0 0 40px 10px #ff000068;
}

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

.img-port{
  width: 360px;
  height: 460px;
  background-color: #ff0000;
  background-size: cover;
  background-position: 100% 0%;
  transform: 8s;
  cursor: pointer;
  border-radius: 40px;
  position: relative;
}

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

.overlay{
  position: absolute;
  top: 0;
  left: 0; 
  width: 100%;
  height: 100%;
  background-color: #ff0000;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0;
  transition: .5s;
}
.overlay:hover{
  opacity: 1;
}

/* ESTILO DO RODAPÉ */

footer{
  padding: 60px 4%;
  box-shadow: 0 0 40px 10px;
}

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


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

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

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


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

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

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


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


  /*TOPO DO SITE*/
  .topo_do_site .txt_topo_site h1{ 
    color: #fff;
    font-size: 28px;
  }

  .topo_do_site .img-topo-site img{
    width: 100%;
  }

  section.topo_do_site .flex{
    gap: 40px;
  }

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

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

  .img-sobre img{
    width: 100%;
  }
  /*PORTFOLIO*/

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

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

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

  /*RODAPÉ*/

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

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

  html{
    scroll-behavior: smooth;
  }


}