@import url('https://fonts.googleapis.com/css2?family=Grand+Hotel&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}


body{
     font-family: "Sansation", sans-serif;
     background-color: black;
     color: #fdfdfd;
 
}

header{
   
    background-image: url();
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

html {
  scroll-behavior: smooth;
}

.video{
  width: 100%;
  height: 100%;
  z-index: 1;
    display: flex;
    align-items: center;
    
}
.menu{
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    margin-right: 500px;
}

.menu-btn {
  position: fixed;
  top: 30px;
  right: 30px;

  font-size: 36px;
  color: white;
  cursor: pointer;

  z-index: 1001;
}



.logo{
   width: 100px;
   margin-left: 100px;
}


.menu .navbar ul{
    list-style: none;
}

.menu .navbar ul li{
   position: relative;
   float: left;
  margin-right: 10px;
}

.menu .navbar ul li a{
    
    color: #fdfdfd;
   font-size: 10px;
   padding: 20px;
   display: block;
   text-transform: uppercase;
 transition: color 0.3s ease;
   &:hover span{
    color: #e70b25;
   }
}

.fullscreen-menu {
position: fixed;
  inset: 0;
  background: black;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.6s ease, opacity 0.4s ease;
}

#menu:checked ~ .fullscreen-menu {
   opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


.fullscreen-menu a {
  cursor: pointer;
}




.fullscreen-menu ul {
 list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.fullscreen-menu ul li {
  margin: 20px 0;
    opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fullscreen-menu h1 {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 28px;
  letter-spacing: 4px;
}


.fullscreen-menu ul li a h1 {
  font-size: clamp(28px, 5vw, 48px);
  color: white;
  text-transform: uppercase;
}
#menu:checked ~ .fullscreen-menu ul li {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-menu ul li:nth-child(1) {
  transition-delay: 0.2s;
}
.fullscreen-menu ul li:nth-child(2) {
  transition-delay: 0.35s;
}
.fullscreen-menu ul li:nth-child(3) {
  transition-delay: 0.5s;
}
.fullscreen-menu ul li:nth-child(4) {
  transition-delay: 0.65s;
}


.conocenos-txt span:nth-child(1) { transition-delay: 0.7s; }
.conocenos-txt span:nth-child(2) { transition-delay: 0.6s; }
.conocenos-txt span:nth-child(3) { transition-delay: 0.5s; }
.conocenos-txt span:nth-child(4) { transition-delay: 0.4s; }
.conocenos-txt span:nth-child(5) { transition-delay: 0.3s; }
.conocenos-txt span:nth-child(6) { transition-delay: 0.2s; }
.conocenos-txt span:nth-child(7) { transition-delay: 0.1s; }
.conocenos-txt span:nth-child(8) { transition-delay: 0s; }

.producciones-txt span:nth-child(1) { transition-delay: 1.1s; }
.producciones-txt span:nth-child(2) { transition-delay: 1s; }
.producciones-txt span:nth-child(3) { transition-delay: 0.9s; }
.producciones-txt span:nth-child(4) { transition-delay: 0.8s; }
.producciones-txt span:nth-child(5) { transition-delay: 0.7s; }
.producciones-txt span:nth-child(6) { transition-delay: 0.6s; }
.producciones-txt span:nth-child(7) { transition-delay: 0.5s; }
.producciones-txt span:nth-child(8) { transition-delay: 0.4s; }
.producciones-txt span:nth-child(9) { transition-delay: 0.3s; }
.producciones-txt span:nth-child(10) { transition-delay: 0.2s; }
.producciones-txt span:nth-child(11) { transition-delay: 0.1s; }
.producciones-txt span:nth-child(12) { transition-delay: 0s; }

.titulo span:nth-child(1) { transition-delay: 0.5s; }
.titulo span:nth-child(2) { transition-delay: 0.4s; }
.titulo span:nth-child(3) { transition-delay: 0.3s; }
.titulo span:nth-child(4) { transition-delay: 0.2s; }
.titulo span:nth-child(5) { transition-delay: 0.1s; }
.titulo span:nth-child(6) { transition-delay: 0s; }


.calendario-txt span:nth-child(1) { transition-delay: 1.2s; }
.calendario-txt span:nth-child(2) { transition-delay: 1.1s; }
.calendario-txt span:nth-child(3) { transition-delay: 1s; }
.calendario-txt span:nth-child(4) { transition-delay: 0.9s; }
.calendario-txt span:nth-child(5) { transition-delay: 0.8s; }
.calendario-txt span:nth-child(6) { transition-delay: 0.7s; }
.calendario-txt span:nth-child(7) { transition-delay: 0.6s; }
.calendario-txt span:nth-child(8) { transition-delay: 0.5s; }
.calendario-txt span:nth-child(9) { transition-delay: 0.4s; }
.calendario-txt span:nth-child(10) { transition-delay: 0.3s; }
.calendario-txt span:nth-child(11) { transition-delay: 0.2s; }
.calendario-txt span:nth-child(12) { transition-delay: 0.1s; }
.calendario-txt span:nth-child(13) { transition-delay: 0s; }




#menu{
    display: none;
}

.menu-icono{
    width: 25px;
}

.menu label{
cursor: pointer;

}


.header-imgcon{
    margin-top: 60px;
    width: 200%;

}

.header-txtcon{
    color: #fdfdfd;
    margin-left: 40px;
    padding-right: 25px;
}

.header-txtcon h1{
    display: flex;
  align-items: center;
  justify-content: center;
    font-size: 55px;
    line-height: 70px;
    font-weight: 800;
    margin-bottom: -55px;
    margin-top: 200px;
}

.header-txtcon p{
font-size: 18px;
margin-top: 150px;

}

#principal{
    margin-top: 200px;
}

.personas-texto {
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #fdfdfd;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 
  margin: 80px auto;
}

.persona-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.persona-card img {
  width: 100%;
  height: 950px;
  object-fit: cover;
  display: block;
}

.persona-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.65);
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 30px;

  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.persona-card:hover .persona-overlay {
  transform: translateY(0);
}

.persona-overlay h3 {
  font-size: 22px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

.persona-overlay p {
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.contenedor {
  position: relative;
  height: 100vh;
}

.texto-vertical {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: white;
  font-size: 64px;
  letter-spacing: 6px;
  font-weight: bold;
  z-index: 10;
}



@media (max-width: 1100px) {


  .menu {
    margin-right: 0;
    padding: 0 20px;
  }

  .logo {
    display: flex;
   justify-content: center;
    margin-left: 0;
    width: 70px;
  }

  .menu .navbar ul li {
    float: none;
  }


  .video {
    height: auto;
  }


  .header-content,
  .main-content {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .header-txt,
  .persona-overlay p {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
  }

  .persona-card,
  .main-img {
    width: 100%;
    margin-top: 30px;
  }

  .persona-overlay h3
   {
    font-size: 36px;
    line-height: 44px;
  }
  

  
  .botones {
    justify-content: center;
    flex-wrap: wrap;
  }

  
  .tabla {
    margin: 0;
    padding: 20px;
    font-size: 14px;
    overflow-x: auto;
    display: block;
  }


  .curs-img {
    height: auto;
  }

  .hamb,
  .hamb-h {
    margin-top: 20px;
    border-radius: 20px;
  }

 
  .carrusel-track img {
    height: 250px;
  }

  
  .footer {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 60px 20px;
  }

  .socials {
    justify-content: center;
  }

  .header-txtcon,
  .main-txtcon {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
  }

  .header-imgcon,
  .main-imgcon {
    width: 100%;
    margin-top: 30px;
  }

  .header-txtcon h1,
  .main-txtcon h1 {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 1100px) {

  /* Mostrar botón - primera vez que lo uso*/
  
  
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .texto-vertical {
    font-size: 48px;
    letter-spacing: 4px;
  }
}


@media (max-width: 768px) {

   .persona-card img {
    height: auto;
    max-height: 500px;
  }

  .persona-overlay {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.75);
    position: relative;
  }
  
  .persona-overlay p {
    font-size: 13px;
    line-height: 1.6;
  }

   .texto-vertical {
    writing-mode: horizontal-tb;
    transform: translate(-50%, -50%);
    font-size: 32px;
    letter-spacing: 2px;
    top: 10%;
  }
}


