* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: Candara, sans-serif;
    background: linear-gradient(120deg, #FFD500, #E4095D);
    color: #2b2b2b;
    padding: 20px;
  }

/* Estilos del logo */
header {
    text-align: left;
    margin-bottom: 20px;
}

header img.logo-evento {
    max-width: 300px;  /* Ajusta el tamaño del logo */
    height: auto;
}

.nav-container {
  background-color: #472668;
  padding: 10px 20px;
  border-radius: 10px;
}

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav > li {
  position: relative;
}

.nav a {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #2c3e50;
}

/* Submenú */
.nav li ul {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background-color: #E4095D;
  padding: 10px;
  border-radius: 8px;
  z-index: 999;
}

.nav li:hover ul {
  display: block;
}

.nav li ul li {
  margin-bottom: 8px;
}


h1 {
    font-family: 'Playfair Display', serif;
    color: #472668;
    text-align: center;
    margin-bottom: 20px;
  }
      


form {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  max-width: 400px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

input[type="email"],
input[type="password"],
input[type="submit"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #472668;
  border-radius: 8px;
  font-size: 1rem;
}

input[type="submit"] {
  background-color: #472668;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #E4095D;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  form {
    width: 90%;
  }
}
.cerrar-x {
  position: absolute;
  top: 20px;
  right: 20px;
  text-decoration: none;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  background-color: #472668;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
  z-index: 1000;
}

.cerrar-x:hover {
  background-color: #E4095D;
}
