body {
  margin: 0;
  padding: 0;
  color: white;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}

#background {
  position: fixed;
  background: rgba(5,49,78,1);
  height: 100%;
  width: 100%;
  top: 0;
  right:0;
  bottom:0;
  left: 0;
  z-index: 0;
}

#photo {
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('polideportivo-copas.jpg');
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  background-attachment: fixed;
  filter: grayscale(100%);
  opacity: 0.4;
}

.header {
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 20px;
}

#escudo {
  background-image: url('escudo.jpg');
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  height: 150px;
  width: 150px;
  border-radius: 50%;
}

.header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 82px;
  padding-top: 10px;
}

.container {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  z-index: 1;
}

.caja {
  background-color: rgba(5,49,78,0.5);
  color: white;
  border-radius: 20px;
  padding: 30px 10px;
  width: 30%;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.caja:hover {
  transform: scale(1.05);
}

.caja .precio {
  min-height: 120px;
}

.caja .precio h3 {
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0 11px;
  color: yellow;
}

.caja .precio h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 64px;
  margin: 12px auto 0;
}

.caja .precio h4.text {
  margin-top: 18px;
  line-height: 26px;
  font-size: 30px;
}

.caja .precio h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: -10px auto -10px auto;
}

.caja ul {
  list-style-type: none;
  margin-top: 30px;
  padding: 0;
  width: 100%;
}

.caja li {
  text-align: left;
  margin-bottom: 5px;
  margin-left: 15px;
  margin-right: 15px;
}

.caja a {
  font-family: 'Montserrat', sans-serif;
  color: rgba(5,49,78,1);
  border: none;
  background-color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  width: 80%; /* Botón más ancho para mejor accesibilidad */
  border-radius: 20px;
  margin-top: auto;
  text-transform: uppercase;
  font-weight: 700;
  max-width: 300px;
}

.caja.destacado {
  background-color: white;
  color: rgba(5,49,78,1);
}
.caja.destacado .precio h3 {
  color: rgb(203, 28, 28);
}
.caja.destacado a {
  background-color: rgba(5,49,78,1);
  color: white;
}

.caja.vacia {
  background-color: transparent;
  height: 20px !important;
}

.caja .nota {
  font-size: 12px;
  margin-top: 10px;
}

#link-anual {
  color: rgb(203, 28, 28);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

#link-vip {
  color: yellow;
  cursor: pointer;
  font-weight: 600;
}

.infoBox {
  color: white;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 10px;
  width: 100%;
  display: flex;
}

.container.extra {
  justify-content: left;
}
.container.extra .caja .precio {
  min-height: 0px;
}

.social-icon {
  font-size: 30px;
  margin: 0 5px;
  color: white;
}
.social-icon:hover {
  color: #f8f9fa;
}

*, ::after, ::before {
  box-sizing: unset;
}

@media (max-width: 960px) {  
  .container {
    flex-direction: column;
    align-items: center;
  }

  .header h1 {
    font-size: 42px;
  }

  .caja {
    width: 90%; 
    margin-bottom: 30px;
  }

  .infoBox {
    text-align: justify;
  }

  *, ::after, ::before {
    box-sizing: border-box;
  }
}

.fadeIn {
  animation: fadeIn;
  animation-duration: 1s;
}
#caja1 {
  animation: fadeInUp; 
  animation-duration: 0.4s;
}
#caja2 {
  animation: fadeInUp; 
  animation-duration: 0.6s;
}
#caja3 {
  animation: fadeInUp; 
  animation-duration: 0.8s;
}
#caja4 {
  animation: fadeInUp; 
  animation-duration: 1s;
}
#caja5 {
  animation: fadeInUp; 
  animation-duration: 1.2s;
}
#caja6 {
  animation: fadeInUp; 
  animation-duration: 1.4s;
}
