/* Fondo y tipografía general */
body {
  font-family: 'Spectral SC', serif;
  background-color: #1b1b1b;
  color: #e2ded0;
  margin: 0;
  padding: 10px;
}

/* Sección de inicio */
section#inicio {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Presentación */
.presentation {
  text-align: center;
  color: #d4af37; /* Dorado */
  margin-bottom: 20px;
}

.presentation h1 {
  font-size: 36px;
  font-family: 'IM Fell English', serif;
  color: #8b4513;
  margin-bottom: 20px;
}

.presentation p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Botón principal */
.cta-button {
  background-color: #8b4513;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Spectral SC', serif;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #008ffdb0;
}

/* Sección de Mapas */
.mapas{
padding: 40px 0;
background-color: #2c2c2c;
text-align: center;

}
/* Sección de torneos */
section#torneos {
  padding: 40px 0;
  background-color: #2c2c2c;
  text-align: center;
}

section#torneos h2 {
  font-size: 28px;
  color: #d4af37;
  margin-bottom: 30px;
  font-family: 'IM Fell English', serif;
}

/* Contenedor de torneos */
.tournament-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tournament-container div {
  height: 30rem;
  width: 22rem;
}

.tournament-card {
  background-color: #2c2c2c;
  border: 2px solid #8b4513;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
  padding: 23px;
  margin: 10px;
  text-align: center;
  width: calc(50% - 30px);
  transition: all 0.3s ease;
}

.tournament-card:hover {
  transform: scale(1.05);
}

.tournament-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.tournament-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #d4af37;
}

.tournament-card p {
  font-size: 16px;
  color: #e2ded0;
  margin-bottom: 20px;
}

/* Botón de torneo */
.btn {
  background-color: #8b4513;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-family: 'Spectral SC', serif;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #008ffdb0;
}

/* Calendario */
#calendar {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.calendar-day {
  border: 1px solid #8b4513;
  padding: 10px;
  color: #e2ded0;
}

.calendar-day:hover {
  background-color: #8b4513;
}

.calendar-event {
  background-color: #333;
  padding: 5px;
  color: #ffd700;
  margin-bottom: 5px;
}

.fc-unthemed td.fc-today {
  background: #4af95866;
}

/* Centrado para calendario */
.calendario {
  text-align: center;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
  max-width: 400px;
  margin: 10% auto;
  background-color: #2c2c2c;
  border: 2px solid #8b4513;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.modal-header,
.modal-footer {
  padding: 10px;
  background-color: #333;
  color: #ffd700;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-family: 'IM Fell English', serif;
}

.modal-body {
  padding: 10px;
}

.modal-footer {
  text-align: right;
}

.modal-body a {
  color: #d4af37;
  text-decoration: none;
}

.modal-body a:hover {
  text-decoration: underline;
}
.icon:hover {
  transform: rotate(10deg); /* Gira ligeramente el icono */
}

/* Estilos para dispositivos móviles */
@media (max-width: 480px) {
  header {
      padding: 10px;
  }

  .logo img {
      max-width: 100px;
      height: auto;
  }

  nav {
      margin-top: 10px;
  }

  ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }

  li {
      margin: 5px;
  }
}
