/* Importamos las variables. */
@import url("variables.css");
@import url("common.css");

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: var(--background);
  font-family: var(--font-family);
  text-align: center;
}

#reset-container {
  max-width: 500px;
  padding: 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  border: 1px solid white;
  background-color: rgba(0, 84, 129, 0.29);
  margin-bottom: 40%;
}

#header-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

#main-container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-container h1 {
  color: #fff;
  font-size: 24px;
  margin-top: 40px;
}

#main-container label {
  display: block;
  color: #fff;
  margin-bottom: 5px;
  text-align: left;
}

#main-container input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}

#back-button {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  margin: 1%;
  padding: 10px;
  border-radius: 42px;
  height: min-content;
}

#back-button:hover {
  cursor: pointer;
}

#reset-password-form {
  width: 50%;
  margin: auto;
}

#buttons-container {
  width: 100%;
  text-align: left;
  display: flex;
}

/* media para tablets*/

@media (max-width: 1024px) {
  /* aumentar el tamaño del input*/

  #reset-password-form {
    width: 80%;
    margin: auto;
  }

  #main-container input[type="email"] {
    width: 90%;
  }
}

/* media para telefonos*/

@media (max-width: 767px) {
  body {
    justify-content: space-evenly;
  }

  #header-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  #header-container img {
    max-width: 100%;
  }

  #header-container h1 {
    width: 80%;
  }

  #main-container {
    width: 80%;
    padding: unset;
  }

  #main-container input {
    width: -webkit-fill-available !important;
  }

  #main-container button {
    margin: unset;
  }

  #login-form {
    width: 100%;
    margin: inherit;
  }

  #footer-container img {
    width: 80%;
  }

  #section-container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    margin: 100px 0 0 20px;
  }
  #section-container .icons {
    width: 11px;
    height: 11px;
    padding: 12px;
    border: 3px solid white;
    border-radius: 14px;
    margin: 0 7px;
  }

  #section-container #section-title {
    padding-top: 3%;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-left: 0px;
  }

  /* aumentar el tamaño del input */

  #reset-password-form {
    width: 90%;
    margin: auto;
  }

  /* ajustes boton atrás */

  #back-button {
    font-size: 1em;
    margin: 3%;
    padding: 7px;
    width: max-content;
  }

  .icons {
    width: 21px;
    height: 21px;
  }
}
