/* Fondo principal */
.portada {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../imagenes/portada.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

.portada video{
    display: none;
}

/* Capa superior que se desvanecerá */
.portada-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../imagenes/portada-2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 1;                 /* inicia visible */
  transition: opacity 1.8s ease-in-out;
}

/* Clase que activará el fade-out */
.portada-2.fade-out {
  opacity: 0;
}


.boleto{
    background-image: url(../imagenes/boleto.jpg);
    background-size: cover;
    width: 300px;
    height: 180px;
    position: absolute;
    bottom: 40px;
    transform: rotate(-10deg);
    margin-left: -400px;
    box-shadow: 4px 4px 15px rgb(0, 0, 0);
    color: #111111;
    text-decoration: none !important;
}


/* Estado inicial del boleto */
.boleto {
  opacity: 0;
  animation: fadeInBoleto 1.5s ease forwards;
  animation-delay: 3s; /* Espera 3 segundos antes del fade-in */
}

/* Animación */
@keyframes fadeInBoleto {
  from {
    opacity: 0;
    transform: rotate(-10deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: rotate(-10deg) translateY(0);
  }
}

.img-ramcho{
    width: 80%;
    margin: 0 auto;
}




@media (max-width: 1200px) {
    .boleto{
        width: 250px;
        height: 150px;
        bottom: 40px;
    }
    .img-ramcho{
        width: 70%;
    }
    .detalles{
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .boleto{
        width: 250px;
        height: 150px;
        bottom: 40px;
        margin-left: -300px;
    }
    .img-ramcho{
        width: 70%;
    }
    .detalles{
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .boleto{
        width: 210px;
        height: 110px;
        bottom: 40px;
        margin-left: -00px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .boleto p{
        font-size: 14px;
    }
    .img-ramcho{
        width: 50%;
    }
    .detalles{
        font-size: 12px !important;
        margin-top: 0px !important;
    }
 
}

@media (max-width: 580px) {
   
    .portada video{
        display: block;
    }
    .portada-2{
        display: none;
    }
    .portada {
        background-image: none;
        background-color: #1f2f22;
    }
}

@media (min-height: 800px) {
    .boleto{
        bottom: 20vh;
    }
}