/*ESTILO GERAL*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Google Sans Code", monospace;
}
body {
  background-color: #282a36;
  height: 100vh;
}
html {
  scroll-behavior: smooth;
}
.interface {
  max-width: 1280px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.contato_button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: rgb(0, 0, 0);
  background-color: #bd93f9;
  transition: 0.2s;
}
.contato_button:hover {
  box-shadow: 0 0 8px rgb(82, 16, 224);
  transform: scale(1.05);
}
h2.especialidade_titulo {
  color: #ff79c6;
  font-size: 32px;
  text-align: center;
}
/*ESTILO DO CABEÇALHO*/
.header {
  padding: 40% 4%;
}

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

header nav a {
  text-decoration: none;
  color: #f8f8f2;
  font-weight: 700;
  display: inline-block;
  transition: 0.2s;
  scroll-behavior: smooth;
}
header nav.menu_desktop a:hover {
  color: antiquewhite;
  transform: scale(1.05);
  scroll-behavior: smooth;
}
header nav ul {
  list-style-type: none;
}
header nav.menu_desktop ul li {
  display: inline-block;
  padding: 0 40px;
}
/*ESTILO DO MENU MOBILE*/
.menu_mobile {
  background-color: #20222ab8;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999999999;
  width: 0%;
  overflow: hidden;
  transition: 0.5s;
  display: none;
}
.menu_mobile nav ul {
  text-align: right;
  display: none;
}
.menu_mobile nav ul li a {
  color: #f8f8f2;;
  font-size: 20px;
  font-weight: 300px;
  padding: 20px 4%;
  display: none;
}
.menu_mobile nav ul li a:hover {
  background-color: rgb(82, 16, 224);
  color: antiquewhite;
  display: none;
}
.menu_mobile .fechar_menu i {
  color: blueviolet;
  font-size: 30px;
  display: none;
}
.menu_mobile .fechar_menu {
  text-align: left;
  padding: 20px 4%;
  display: none;
}
.abrir_menu_button i {
  color: blueviolet;
  font-size: 50px;
  display: none;
}
.overlay_menu {
  background-color: #000000ec;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.5;
  z-index: 999999;
  display: none;
}
.menu_mobile.btn-abrir-menu-mobile {
  width: 70%;
  display: none;
}
.menu_mobile.btn-abrir-menu-mobile ~ .overlay_menu {
  display: none;
}
/*ESTILO DO TOPO DO SITE*/
section.topo_do_site {
  padding: 1% 4%;
}

section.topo_do_site .flex {
  align-items: center;
  justify-content: center;
  gap: 90px;
}
.topo_do_site h1 {
  color: blueviolet;
  font-size: 42px;
  line-height: 40px;
}
.topo_do_site img {
  width: auto;
  height: 400px;
}
.topo_do_site h1 span {
  color: rgb(4, 235, 0);
  font-size: 46px;
}
.topo_do_site p {
  color: #f8f8f2;
  font-size: 18px;
  margin: 20px 0;
  line-height: 22px;
}
@keyframes flutuante {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
.img_topo_site {
  position: relative;
  animation: flutuante 2s ease-in-out infinite;
}
/*ESTILO DAS ESPECIALIDADES*/
.especialidades {
  padding: 80px 4%;
}

/* ensure each specialty card is spaced and wraps on smaller screens */
.especialidades .flex {
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
}
.especialidades .interface .especialidade_titulo {
  margin-bottom: 80px;
  margin-top: 80px;
  color: blueviolet;
  font-size: 48px;
  line-height: 22px;
}
.especialidades .interface .especialidade_titulo span {
  color: rgb(4, 235, 0);
}
.especialidades .especialidades_box {
  background-color: #21222c;
  padding: 0px;
  border-radius: 8px;
  flex: 1 1 280px; /* allow cards to grow but set a minimum width */
  max-width: 350px;
  border: 2px solid blueviolet;
  transition: 0.2s;
  text-align: center;
}
.especialidades .especialidades_box:hover {
  box-shadow: 0 0 20px rgb(82, 16, 224);
  transform: scale(1.05);
}

.especialidades .especialidades_box i {
  font-size: 58px;
  color: blueviolet;
  margin: 10px 10px;
}

.especialidades .especialidades_box h3 {
  margin: 16px 12px;
  color: antiquewhite;
}

.especialidades .especialidades_box p {
  margin: 12px 12px;
  color: #f8f8f2;
  line-height: 1.4;
}
/*ESTILO LOGO DAS ESPECIALIDADES*/
.especialidades .especialidades_box .linguagem {
  height: 60px;
  width: 60px;
}
/*ESTILO DO SOBRE*/
section.sobre {
  padding: 80px 4%;
}
section.sobre .flex {
  align-items: center;
  gap: 60px;
}
.sobre .txt_sobre {
  color: #f8f8f2;;
}
.sobre .txt_sobre h2 {
  color: blueviolet;
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 40px;
}
.sobre .txt_sobre h2 span {
  color: rgb(4, 235, 0);
  display: block;
}
.sobre .txt_sobre p {
  margin: 20px 0px;
  text-align: justify;
  line-height: 1.4;
  font-size: 18px;
}
.sobre .img_sobre img {
  height: 500px;
  width: 500px;
  border-radius: 25px;
}
.sobre .txt_sobre .redes_button button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  margin: 10px 0px;
  cursor: pointer;
  transition: 0.5s;
  color: #6471b1;
  background-color: #252525;
  border: none;
}
.sobre .redes_button button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgb(82, 16, 224);
  transform: scale(1.05);
}
/*ESTILO DO PORTFOLIO*/
section.portfolio {
  padding: 80px 4%;
  box-shadow: 0 0 40px 10px rgba(100, 29, 167, 0.6);
  background-color: #20222a;
}
.portfolio h2 {
  color: blueviolet;
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 40px;
  text-align: center;
}
.portfolio h2 span {
  color: rgb(4, 235, 0);
  display: block;
}
.portfolio .flex {
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 60px;
}
.portfolio .img_port {
  width: 360px;
  height: 460px;
  background-color: #6471b1;
  background-size: cover;
  background-position: 100% 0%;
  transition: 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: #25252576;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  opacity: 0;
  transition: 0.5s;
}
.overlay:hover {
  opacity: 1;
}
/*ESTILO DO FORMULARIO*/
section.formulario {
  padding: 80px 4%;
}
.formulario h2 {
  color: blueviolet;
  font-size: 40px;
  text-align: center;
  margin-bottom: 50px;
}
.formulario h2 span {
  color: rgb(4, 235, 0);
  display: block;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}
form input {
  width: 100%;
  background-color: rgba(40, 34, 50, 0.601);
  outline: 0;
  padding: 20px 15px;
  border-radius: 15px;
  color: #f1fa8c;
  font-size: 24px;
}
form textarea {
  width: 100%;
  background-color: rgba(40, 34, 50, 0.601);
  outline: 0;
  padding: 20px 15px;
  border-radius: 15px;
  color: #f1fa8c;
  font-size: 24px;
  resize: none;
  max-height: 250px;
}
form .enviar_button {
  margin-top: 20px;
  text-align: center;
}
form .enviar_button input[type="submit"] {
  width: 120px;
  background-color: rgb(101, 28, 170);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
form .enviar_button input[type="submit"]:hover {
  box-shadow: 0 0 8px rgb(82, 16, 224);
  transform: scale(1.05);
}
/*ESTILO DO FOOTER*/
footer {
  padding: 60px 4%;
  background-color: #221d2d;
  text-align: center;
  box-shadow: 0 0 40px 10px rgba(100, 29, 167, 0.6);
}

footer .flex {
  justify-content: space-between;
}
footer .redes_button button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  margin: 10px 0px;
  cursor: pointer;
  transition: 0.5s;
  color: #000000;
  background-color: rgb(4, 235, 0);
  border: none;
}
.logo-footer {
  display: flex;
  align-items: center;
}
footer .redes_button button:hover {
  box-shadow: 0 0 8px rgb(42, 150, 0);
  transform: scale(1.05);
}
footer .line-footer-mail p {
  color: rgb(4, 235, 0);
  font-size: 22px;
}
footer .line-footer-mail a {
  color: #f1fa8c;
  text-decoration: none;
}
footer .line-footer-mail {
  padding: 40px 0%;
}
footer .line-footer {
  border-bottom: 2px solid rgb(4, 235, 0);
  padding: 40px 0%;
}
/*ESTILO MOBILE*/
@media screen and (max-width: 1020px) {
  /*ESTILOS GERAIS*/
  .flex {
    flex-direction: column;
  }
  /*ESTILO DO CABEÇALHO*/
  .menu_desktop,
  .contato_button {
    display: none;
  }
  .logo img {
    width: 125px;
    height: 125px;
  }
  /*ESTILO TOPO DO SITE*/
  section.topo_do_site {
    padding: 10px 4%;
  }
  .topo_do_site img {
    width: auto;
    height: 300px;
  }
  .topo_do_site h1 {
    font-size: 24px;
    line-height: 40px;
  }
  .topo_do_site h1 span {
    font-size: 28px;
  }
  /*ESTILO ESPECIALIDADES*/
  .especialidades .interface .especialidade_titulo {
    margin-bottom: 80px;
    margin-top: 80px;
    font-size: 34px;
    line-height: 40px;
  }
  .especialidades .flex {
    gap: 100px;
    flex-direction: column;
  }
  .especialidades_box {
    padding: 10% 4%;
    align-self: center;
  }
  /*ESTILO DO SOBRE*/
  section.sobre {
    padding: 20% 4%;
  }
  .sobre .interface .flex {
    flex-direction: column;
  }
  .sobre .txt_sobre h2 {
    font-size: 34px;
    line-height: 40px;
  }
  .sobre .img_sobre img {
    width: 100%;
    height: auto;
  }
  .redes_button {
    text-align: center;
  }
  /*ESTILO DO PORTFÓLIO*/
  section.portifolio {
    padding: 20% 4%;
  }
  .portfolio .interface .flex {
    flex-direction: column;
    gap: 60px;
  }
  .img_port {
    width: 100%;
    max-width: 330px;
    height: auto;
    align-self: center;
  }
  /*ESTILO DO FOOTER*/
  footer {
    flex-direction: column;
    padding: 20px 4%;
  }
  .logo-footer {
    justify-content: center;
  }
  footer .redes_button button {
    width: 50px;
    height: 50px;
  }
  footer .line-footer-mail {
    padding: 40px 0%;
  }
  footer .line-footer-mail p {
    font-size: 18px;
  }
  /*MENU MOBILE*/
  .menu_mobile {
    display: block;
  }
  .menu_mobile nav ul {
    display: block;
  }
  .menu_mobile nav ul li a {
    display: block;
  }
  .menu_mobile nav ul li a:hover {
    display: block;
  }
  .menu_mobile .fechar_menu i {
    display: block;
  }
  .menu_mobile .fechar_menu {
    display: block;
  }
  .abrir_menu_button i {
    display: block;
  }
  .overlay_menu {
    display: hidden;
  }
  .menu_mobile.btn-abrir-menu-mobile {
    display: block;
  }
  .menu_mobile.btn-abrir-menu-mobile ~ .overlay_menu {
    display: block;
  }
}
