@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");

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

body {
  /* background-color: #3d3d3d7b;*/
  background-image: url("./assets/estudio2.jpg  ");
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed; /* Esta linha fixa a imagem de fundo */
}

:root {
  --bg-url: url(./assets/img10-mobile.png);
}

#profile {
  text-align: center;
  padding: 24px;
}

#profile img {
  width: 300px;
  height: 200px;
  margin: auto;
  border-radius: 20%;
  border: none;
  z-index: 1;
}

#profile2 img {
  display: flex;
  position: relative;
  align-items: center;
  backdrop-filter: blur(0px);
  width: 100%;
  top: 10px;
  left: 0px;
  border-radius: none;
  z-index: -1;
}

#label {
  display: inline;
  width: 100px;
}

input[type="checkbox"] {
  display: inline-block;
}

.w50 {
  width: 50%;
  float: left;
  padding-right: 15px;
}
/*
.box {
  display: flex;
  width: 1000px;
}

.img-box {
  background-color: rgba(159, 81, 52, 0.764);
  width: 50%;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
}

.img-box img {
  position: fixed;
  width: 30%;
  padding-top: 30px;
  left: 220px;
  margin-bottom: 110%;
  border-radius: 70px;
} */

/* Centraliza a .box na tela */
.box {
  display: flex;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative; /* Para manter o contexto de posicionamento */
}

/* Estilização da img-box */
.img-box {
  background-color: rgba(159, 81, 52, 0.764);
  width: 50%;
  padding: 20px;
  border-radius: 20px;
}

/* Estilização da imagem fixa e centralizada */
.img-box img {
  position: fixed;
  top: 30%;              /* Centraliza verticalmente */
  left: 30%;             /* Centraliza horizontalmente */
  transform: translate(-50%, -50%); /* Ajusta o ponto de referência para o centro */
  width: 30%;            /* Define um tamanho proporcional */
  max-width: 300px;      /* Define um tamanho máximo */
  border-radius: 70px;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .img-box img {
    width: 50%;          /* Reduz o tamanho da imagem em telas menores */
  }
}


.form-box {
  background-color: rgba(4, 0, 0, 0.927);
  /*backdrop-filter: blur(40px);*/
  padding: 30px 40px;
  width: 50%;
  border-radius: 0 20px 20px 0;
  z-index: 1;
  border-radius: 20px;
}

h3 {
  display: inline-block;
  position: relative;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-top: -100px;
  color: rgb(255, 111, 0);
  text-shadow: 7px 7px 7px gray;
}

.form-box2 {
  margin-top: -50px;
}

.form-box2 p {
  margin-bottom: 80px;
  text-align: center;
  font-weight: bold;
  color: #3d3d3d;
}

.form-box2 p {
  font-size: 18px;
  left: 80px;
  color: rgb(66, 62, 62);
  text-decoration: none;
}

.form-box2 .anamnese {
  font-size: 12px;
  font-weight: bold;
}

.anamnese2 {
  text-align: center;
  font-size: 12px;
  color: rgb(66, 62, 62);
  text-decoration: none;
}

.form-box2 form {
  margin: 20px 0;
}

form {
  display: block;
  position: relative;
  top: 20px;
}

form .input-group {
  color: white;
}

form .input-group label {
  color: white;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

form .input-group input[type="text"] {
  width: 100%;
  background-color: white;
  border-radius: 20px;
  outline: none;
  border: 2px solid white;
  box-sizing: border-box;
  padding: 12px 20px;
  color: black;
  transition: all 0.4s ease;
  /* background: rgba(238, 238, 209, 0.482);*/
}

form .input-group input:hover,
input:focus {
  border-color: rgb(182, 97, 32);
}

form .input-group textarea {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 20px;
  outline: none;
  border: 2px solid white;
  padding: 15px;
  font-size: 15px;
  color: black;
  transition: all 0.4s ease;
  resize: vertical;

  /*background: rgba(238, 238, 209, 0.482);*/
}

form .input-group textarea:hover,
textarea:focus {
  /*border-color: rgb(188, 153, 153);*/
  box-shadow: 0 0 0 0.3125rem rgb(182, 97, 32);
}

.reset {
  width: 250px;
  border-radius: 10px;
  font-size: 15px;
  border: 2px solid rgb(215, 184, 184);
}

.save {
  width: 250px;
  border-radius: 15px;
  font-size: 15px;
  border: 2px solid rgb(215, 184, 184);
}

.revogo {
  width: 45%;
  height: 47px;
  background-color: white;
  border-radius: 20px;
  outline: none;
  border: 2px solid white;
  padding: 15px;
  font-size: 15px;
  color: black;
  transition: all 0.4s ease;
}

input .revogo:hover,
.revogo:focus {
  border-color: rgb(182, 97, 32);
}

.button {
  width: 85px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.button:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.button:active {
  color: #000;
}

.button:active:after {
  background: transparent;
}

.button:hover:before {
  opacity: 1;
}

.button:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

#name[type="text"] {
  width: 100%;
  background-color: white;
  border-radius: 20px;
  outline: none;
  border: 2px solid white;
  box-sizing: border-box;
  padding: 12px 20px;
  color: black;
  transition: all 0.4s ease;
}

#name:hover,
#name:focus {
  outline: none;
  border-color: rgb(182, 97, 32);
}

#rg[type="text"] {
  width: 100%;
  background-color: gray;
  border-radius: 20px;
  outline: none;
  border: 2px solid white;
  box-sizing: border-box;
  padding: 12px 20px;
  color: black;
  transition: all 0.4s ease;
}

#rg:hover,
#rg:focus {
  outline: none;
  border-color: rgb(182, 97, 32);
}

@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-15px);
  }
}
/*
#profile2 img:nth-child(1) {
  transform: rotate(-100deg);
  animation: anim2 4s infinite;
}*/

#profile2 img:nth-child(1) {
  animation: pulsate 2.9s infinite;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* Aumenta a escala para 110% */
  }
  100% {
    transform: scale(1);
  }
}

#date2 {
  width: 100%;
  height: 50px;
  background-color: white;
  border-radius: 20px;
  outline: none;
  border: 1px white;
  padding: 15px;
  font-size: 15px;
  color: #141414;
  transition: all 0.4s ease;
}

#date2:hover,
#date2:focus {
  outline: none;
  border-color: rgb(182, 97, 32);
}

form .input-group select {
  width: 50%;
  height: 50px;
  background-color: white;
  border-radius: 20px;
  outline: none;
  border: 1px white;
  padding: 15px;
  font-size: 15px;
  color: #141414;
  transition: all 0.4s ease;
}

@keyframes anim2 {
  0%,
  100% {
    transform: rotate(-362deg);
  }
  50% {
    transform: rotate(-358deg);
  }
}

@media (max-width: 930px) {
  .img-box {
    display: none;
  }

  .img2 .borboleta {
    display: none;
  }

  .box {
    width: 700px;
  }
  .form-box {
    width: 100%;
    border-radius: 20px;
  }
}

@media (min-width: 700px) {
  :root {
    --bg-url: url(./assets/img10-desktop.png);
  }
}

@media (max-width: 500px) {
  .w50 {
    width: 100%;
    padding: 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: rgb(255, 111, 0);
  color: white;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
  z-index: 1000;
}

.back-to-top {
  -webkit-tap-highlight-color: transparent; /* Remove o flash azul em dispositivos Android */
  outline: none; /* Remove o contorno de foco */
}

.back-to-top:hover {
  opacity: 9;
}

.hidden {
  display: none; /* Oculta o botão */
}

.instagram-button {
  position: fixed;
  bottom: 80px;
  right: 22px;
  z-index: 1000;
  transition: opacity 0.3s, visibility 0.3s;
}

.instagram-button {
  -webkit-tap-highlight-color: transparent; /* Remove o flash azul em dispositivos Android */
  outline: none; /* Remove o contorno de foco */
}

#instagramButton {
  -webkit-tap-highlight-color: transparent; /* Remove o flash azul em dispositivos Android */
  outline: none; /* Remove o contorno de foco */
}

.instagram-button img {
  width: 45px;
  height: 45px;
}

/* Estilos para dispositivos móveis */
@media (max-width: 767px) {
  .instagram-button {
    bottom: 80px;
    right: 23px;
  }

  .instagram-button img {
    width: 42px;
    height: 42px;
  }
}

.instagram-button img {
  -webkit-tap-highlight-color: transparent; /* Remove o flash azul em dispositivos Android */
  outline: none; /* Remove o contorno de foco */
}

footer {
  font-weight: bold;
  border: solid 2px rgba(68, 68, 64, 0.462);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(214, 214, 214, 0.2);
}

footer,
.amancio {
  padding: 5px 25px 5px 25px;
  background: none;
  margin-bottom: -100px;
}

.a {
  background: none;
  border: none;
}

a {
  -webkit-tap-highlight-color: transparent; /* Remove o flash azul em dispositivos Android */
  outline: none; /* Remove o contorno de foco */
}

/* teste */

input[type="text"] {
  width: 200px;
  padding: 5px;
  margin-right: 10px;
}

button {
  padding: 5px 10px;
  cursor: pointer;
  background-color: #eee; /* cor padrão */
}

button:hover {
  background-color: #ddd; /* cor ao passar o mouse */
}

#error {
  color: red;
  font-weight: bold;
}

#validarBtn {
  border-radius: 10px;
}

.scroll-down {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  cursor: pointer;
  animation: bounce 1.5s infinite;
}

/* Animação de pulo para a seta */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

#picture__input {
  display: none;
}

.picture {
  width: 301px;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.402);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  border: 2px dashed currentcolor; 
  cursor: pointer;
  font-family: sans-serif;
  transition: color 300ms ease-in-out, background 300ms ease-in-out;
  outline: none;
  overflow: hidden;
  margin: 50px auto; /* Centraliza horizontalmente com margens automáticas */
}

.picture:hover {
  color: #777;
  background: #0808089c;
}

.picture:active {
  border-color: rgb(182, 97, 32);
  color: rgb(182, 97, 32);
  background: #eee;
}

.picture:focus {
  color: #777;
  background: #0e0e0e;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/*
.picture__img {
  max-width: 100%;
}
.picture__image {
  color: #838282; 
  font-size: 16px; 
} */

.picture__image {
  color: #838282; /* Cor mais escura */
  font-size: 16px; /* Tamanho da fonte */
  display: flex; /* Usa flexbox */
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  width: 100%; /* Garante que ocupa toda a largura do contêiner */
  height: 100%; /* Garante que ocupa toda a altura do contêiner */
  text-align: center; /* Alinha o texto horizontalmente */
  object-fit: contain; /* Garante que a imagem se ajusta mantendo a proporção */
  object-position: center; /* Centraliza a imagem dentro do contêiner */
}

.picture__image:hover {
  color: #555; /* Cor mais escura ao passar o mouse */
}

/* Efeito focus */
.picture:focus .picture__image {
  color: rgb(182, 97, 32); /* Cor ao focar no elemento */
}

.picture__img {
  max-width: 100%; /* Garante que a imagem não ultrapasse a largura do contêiner */
  max-height: 100%; /* Garante que a imagem não ultrapasse a altura do contêiner */
  object-fit: contain; /* Mantém a proporção da imagem e ajusta para caber no contêiner */
  object-position: center; /* Centraliza a imagem dentro do contêiner */
  display: block; /* Evita espaços extras abaixo da imagem */
}
