/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Cuerpo general */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to right, #ff5c8a, #ff85a2, #ffc2d1);
  color: #4A0072;
  padding: 20px;
  text-align: center;
}

/* Encabezado */
header h1 {
  text-align: center;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Navegación */
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  background-color: #c2188b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
  background-color: #e91e63;
  transform: scale(1.05);
}

/* Contenedor principal */
.contenedor-principal {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Imágenes laterales */
.imagen-lateral img {
  max-width: 150px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Imagen inferior */
.imagen-inferior {
  text-align: center;
  margin-top: 20px;
}

.imagen-inferior img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Formulario más grande */
form.formulario {
  max-width: 900px;
  background: #ffb3e6;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  width: 100%;
}

form h3 {
  margin-bottom: 20px;
  color: #fa04ae;
  text-align: center;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #4a004c;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 14px;
  border: 2px solid #ffd6dc;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Botones */
input[type="submit"],
input[type="reset"] {
  background-color: #c2188b;
  color: white;
  border: none;
  padding: 12px 24px;
  margin: 10px 5px 0 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #e91e63;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-principal {
    flex-direction: column;
    align-items: center;
  }

  .imagen-lateral img {
    max-width: 80%;
    margin: 10px 0;
  }

  .imagen-inferior img {
    max-width: 90%;
  }

  form.formulario {
    width: 90%;
    padding: 20px;
  }
}
