* {
  margin: 0;
  padding: 0;
}

.contenedor form {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 25%;
  margin-top: 15%;
  margin-bottom: 1%;
  background-color: rgba(24, 27, 75, 0.7);
  padding: 1.25em;
  border-radius: 10px;
}

body {
  background-image: url(../img/fondo-porcorn.jpg);
  font-family: sans-serif;
}

.button {
  width: 100%;
  margin-top: 3%;
  background-color: rgb(71, 209, 163);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.button.enabled:hover {
  transform: scale(1.1);
}

.error {
  width: 100%;
  color: white;
}

label {
  width: 100%;
  color: white;
  font-size: 1.25em;
  font-weight: bold;
}

form label {
  width: 100%;
  margin-bottom: 3%;
}

form input {
  width: 95%;
  margin-bottom: 3%;
  padding: 2%;
}

a {
  width: 100%;
  text-align: center;
  display: flex;
  margin: 0.5%;
  display: flex;
  align-items: center;
  font-size: 1.25em;
  flex-direction: column;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s;
}

a:hover {
  text-decoration: underline;
  transform: scale(1.1);
}

/* Media queries */
@media (max-width: 1200px) {
  .contenedor form {
    width: 75%; 
  }
}

@media (max-width: 768px) {
  .contenedor form {
    width: 75%; 
  }
}

@media (max-width: 576px) {
  .contenedor form {
    width: 75%; 
    margin-top: 20%;
  }
}
