@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body {
  height: 100vh;
  background-image: url(../img/darling-in-the-franxx.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px; /* Correção: padding ajustado para ser mais flexível */
  overflow: hidden;
}

.wrapper {
  max-width: 400px;
  width: 95%; /* Usa 95% da largura da tela em dispositivos pequenos */
  height: auto; /* Altura automática para se ajustar ao conteúdo */
  background: rgba(0, 0, 0, 0.233);
  border-radius: 25px;
  box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 1);
  padding: 20px; /* Adiciona padding interno para espaçamento */
}

.wrapper .title {
  color: #00f9fe;
  font-size: 80px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto; /* Remove altura fixa */
  padding: 30px 0; /* Adiciona padding para espaçamento */
}

.wrapper form {
  padding: 15px 15px 25px; /* Padding ajustado para ser mais compacto */
}

.wrapper form .row {
  height: 60px;
  margin-top: 15px;
  position: relative;
}

.wrapper form .row input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 70px;
  background: #1a1a1a5c;
  border-radius: 5px;
  border: 1px solid #00ffff5e;
  font-size: 18px;
  transition: all 0.3s ease;
}

form .row input:focus {
  border-color: #16a085;
}

form .row input::placeholder {
  color: #e9a3a3;
}

.wrapper form .row i {
  position: absolute;
  width: 55px;
  height: 100%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a08483;
}

.wrapper form .pass {
  margin-top: 12px;
}

.wrapper form .pass a {
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: flex-end;
}

.wrapper form .button input {
  color: #fff;
  margin-top: 30px; /* Reduzida a margem para um visual mais compacto */
  font-size: 20px;
  font-weight: 500;
  padding-left: 0px;
  border: 2px solid #caa6a649;
  background: #ff0077;
  cursor: pointer;
}

.wrapper form .signup-link {
  text-align: center;
  margin-top: 30px; /* Reduzida a margem para um visual mais compacto */
  font-size: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wrapper form .signup-link a {
  color: #fff;
}

/* --- MEDIA QUERIES --- */
/* Estilos para telas menores, como a maioria dos celulares */
@media screen and (max-width: 480px) {
  .wrapper {
    width: 95%; /* Garante que o wrapper ocupe quase toda a largura da tela */
    height: auto;
  }
  .wrapper .title {
    font-size: 60px; /* Diminui o tamanho do título */
    padding: 20px 0;
  }
}