@font-face {
    font-family: 'Serenata Vantages Light';
    src: url('serenata_vantages/Serenata Vantages Light.ttf') format("truetype");
}

@font-face {
    font-family: 'Garden Of Heaven';
    src: url('garden_of_heaven/GardenOfHeaven.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Serenata Vantages Light', sans-serif;
}

body{
    margin: 0;
    background: #6394bf;
}

@media (prefers-reduced-motion: no-preference){
    *{
        scroll-behavior: smooth;
    }
}

a{
    text-decoration: none;
}

/* scroll-animation */
.container{
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

section{
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Nav-bar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 97%;
  z-index: 999;
  background: linear-gradient(#6394bf, #6394bf3a);
  color: white;
  padding: 10px 20px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#welcome-section {
  padding-top: 60px;
}

#name1, #nav-bar {
  list-style: none;
  margin: 0;
  padding: 0;
}

#name3 {
  color: white;
  text-decoration: none;
  font-size: 30px;
}

#nav-bar {
  display: flex;
  gap: 20px;
}

#nav-bar li a {
  color: white;
  text-decoration: none;
  font-size: 19px;
  font-weight: 550;
}

/* Botón hamburguesa agregado con CSS ::before (sin modificar HTML) */
.nav::after {
  content: "☰";
  font-size: 28px;
  display: none;
  cursor: pointer;
  color: white;
  left: 80%;
}

/* Estilos responsive */
@media (max-width: 860px) {

  #nav-bar {
    display: none;
    flex-direction: column;
    background-color: #6394bf;
    position: absolute;
    top: 60px;
    right: 10%;
    width: 200px;
    padding: 10px;
    border-radius: 10px;
  }
  #nav-bar.active {
    display: flex;
  }

  .nav::after {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  #welcome-section {
      padding-top: 70px; /* o lo que mida tu navbar */
  }
}

/* Pagina 1*/

#Presentacion{
    background: radial-gradient(#bbd8f2, #80b8e9);
    min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 40px 20px;
}

.margen{
    margin: 20px;
    margin-top: 250px;
    padding: 20px;
    color:#dddddd;
}

.primera-titulo {
    font-family: 'Garden Of Heaven', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem); /* mínimo, preferido, máximo */
    font-weight: lighter;
    text-shadow: 2px 2px 2px rgb(59, 35, 0);
    color: #f5ea25;
    margin: 0;
  }
  
  .primera-subtitulo {
    font-family: 'Lucida Sans', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem); 
    color: black;
    font-weight: 100;
    margin: 0.5em auto;
    width: 90%;
    text-align: left;
  }
  
  .subtitulo1 {
    font-weight: bold;
  }
  
  /* Media query para pantallas chicas */
  @media (max-width: 600px) {
    .primera-titulo {
      font-size: 12vw;
    }
  
    .primera-subtitulo {
      font-size: 4.5vw;
      font-weight: 600;
      }
  }
  

/*Pagina 2*/
.video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    min-height: 100vh;
    background-color: linear-gradient(180deg #6394bf,#bbd8f2);
    margin: 90px;
  }

  .video-container {
    width: 100%;
    max-width: 960px;
    height: 60vh !important;
    min-height: 10vh;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 768px){
    .video-section {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5% 2%;
        min-height: 100vh;
        background: linear-gradient(180deg #6394bf,#bbd8f2);
        margin: 9%;
      }

    .video-container {
        position: relative;
        width: 100%;
        max-width: 90vw; /* ancho máximo relativo a la ventana */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        height: 60vh !important;
    min-height: 10vh;
    padding-bottom: 0 !important;
    }
    .video-container iframe {
        position: absolute;
     top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
    }
}

/*Pagina 3*/
.accordion-section1,
.accordion-section2 {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden; 
    padding-top: 40px;
    padding-bottom: 40px;
    align-items: flex-start; 
    height: auto;
    margin-left: 130px;
}

.accordion {
    box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.1), 1px 1px 3px rgba(0, 0, 0, 0.08); 
    border-top: 1px solid rgba(0, 0, 0, 0.187);
    border-radius: 15px; /* Bordes redondeados */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-section2 {
    display: block; /* O "unset" para restaurar su comportamiento predeterminado */
    height: auto; /* Permite que crezca según su contenido */
    width: 90%;
}

.accordion-header {
    width: 100%;
    height: 10%;
    font-size: 2em;
    font-weight: lighter;
    cursor: pointer;
    text-align: left;
    background: white;
    color: black;
    transition: background 0.3s;
    padding: 50px 20px;
}

.accordion-header:hover {
    background: radial-gradient(yellow, rgb(219, 219, 11));
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

/* celus*/
@media (max-width: 768px){
    .accordion-section1,
    .accordion-section2 {
    margin: auto;
    overflow: hidden; 
    padding-top: 110px;
    align-items: flex-start; 
    height: auto;
    padding-bottom: 110px;
    }
}


.grod {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos */
    gap: 10px;
    padding: 20px;
    overflow-x: auto; /* Permite scroll horizontal si es necesario */
    max-width: 100%; /* Evita desbordes */
    background: radial-gradient(yellow, rgb(219, 219, 11));
}

.card {
    flex: 1 1 300px; 
    width: calc(33.33% - 20px); /* 3 columnas por fila */
    min-width: 250px;
    max-width: 300px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card h3 {
    margin: 10px 0;
    font-size: 16px;
    color: black;
    font-family: sans-serif, arial;
}

.card p {
    font-size: 14px;
    color: black;
    font-family: sans-serif, arial;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #ffcc00;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.video-container2 {
    position: relative;
    width: 100%;/* Relación 16:9 */
    overflow: hidden;
    border-radius: 10px;
}

.video-container1 {
    position: relative;
    width: 100%;/* Relación 16:9 */
    overflow: hidden;
    border-radius: 10px;
}

.video-container3 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación 16:9 */
    overflow: hidden;
    border-radius: 10px;
}

.video-container1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Hacer el diseño responsive */
@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px); /* 2 columnas en pantallas medianas */
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%; /* 1 columna en pantallas pequeñas */
    }
}

/* Pagina 4 */
.gallery-section {
    height: 100vh;
    padding: 20px;
    background: radial-gradient(#bbd8f2, #80b8e9);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  
  .gallery-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .gallery-row img {
    max-height: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
  }

  /* Responsivo para tablets */
@media (max-width: 992px) {
    .gallery-row img {
      width: calc(33.333% - 10px); /* 3 imágenes por fila */
    }
  }
  
  /* Responsivo para celulares */
  @media (max-width: 600px) {
    .gallery-row img {
      width: calc(50% - 10px); /* 2 imágenes por fila */
    }

    @media (max-width: 768px) {
        .mobile-hidden {
          display: none !important;
        }
      }
  }

/*Pagina 5*/

#STAFF {
    background: linear-gradient(#80b8e9,#cdc4cc 60%);
    background-size: cover;
    padding: 50px 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Mueve los elementos hacia arriba */
    min-height: 100vh;
    padding-top: 20px; /* Podés ajustar este valor */
    font-weight: bold;

}

strong {
    font-weight: bolder;
    font-size: 20px;
    font-family:  'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
  }

/* Título principal */
#Pipo {
    padding-top: 1px;
    font-family: 'Garden Of Heaven', sans-serif;
    font-size: 55px;
    font-weight: lighter;
    text-shadow: 3px 3px 5px rgba(59, 35, 0, 0.5);
    color: #f5ea25;
    margin-bottom: 10px;
    text-align: center;
    width: auto;
}

#Sub-Pipo{
    font-size: 20px;
    font-weight: lighter;
    margin-bottom: 20px;
    color: black;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.staff-section {
    width: 80%;
    max-width: 1000px;
    max-height: 100vh;
    margin: auto;
    padding: 20px;
}
.staff-box {
    background: #f5ea25;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.staff-header {
    width: 100%;
    padding: 7px;
    font-size: 1.5em;
    font-weight: lighter;
    cursor: pointer;
    background: #333;
    color: white;
    transition: background 0.3s;
    font-family:  'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
}
.staff-header:hover {
    background: #f5ea25;
}
.staff-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding: 0 15px;
    text-align: left;
    color: black;
    font-family:  'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
}
.staff-content ul {
    list-style-type: none;
    font-family:  'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
    padding: 10px 0;
    font-weight: bold;

}
.staff-content li {
    font-family:  'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
    margin: 5px 0;
    font-weight: 700;
}
.staff-content a {
    text-decoration: none;
    color: #007BFF;
}
.staff-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .staff-content {
        max-height: none !important;
        overflow: visible;
        padding: 15px 20px;
        display: block;
      }
    
      .staff-box {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      }
    
      .staff-header {
        cursor: default;
        background: #f0f0f0;
        color: #333;
      }

    #Pipo {
        font-size: 30px;
        padding-top: 10px;
      }
    
      #Sub-Pipo {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
      }
    
      .staff-content li {
        font-size: 14px;
        margin: 4px 0;
      }
    .staff-section {
      overflow-x: auto;
      display: flex;
      flex-wrap: nowrap;
      scroll-snap-type: x mandatory;
      padding: 20px;
      gap: 10px;
    }
  
    .staff-box {
      min-width: 80%;
      flex-shrink: 0;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      scroll-snap-align: start;
      transition: all 0.3s ease;
    }
  
    .staff-header {
      background: #f0f0f0;
      border-radius: 12px 12px 0 0;
      cursor: pointer;
      font-size: 1em;
      padding: 15px;
    }
  
    .staff-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      font-size: 14px;
      line-height: 1.4;
      padding: 0 10px;
    }
  
    .staff-content.open {
      max-height: 500px;
      padding: 15px;
    }
  }

  .staff-section, .staff-box, .staff-content {
    box-sizing: border-box;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }




/*ultima*/
.tezto{
    font-family: 'Lucida Sans', sans-serif;
    font-size: 15px; 
    color: black;
    font-weight: 100;
    margin: 0.5em auto;
    width: 90%;
    text-align: left;
}

@media (max-width: 600px){
  #textofinal{
  display: block;
  padding-top: 10px;
  margin-bottom: 450px;
  font-weight: 600;
  }

  .tezto{
    font-weight: 600;
  }
}

/*footer*/

#footer {
  background: #5081ac;
  color: white;
  padding: 20px;
  text-align: center;
  height: 50vh;
  scroll-snap-align: end;
  display: flex;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items:flex-end;
  margin-bottom: 10px;
  margin-left: 50px;
  margin-top: 80px;
}

.footer-logo img {
  max-width: 80px;
  margin-bottom: 5px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: auto;
  gap: 100px;
}

.footer-column {
  flex: 1;
  text-align: left;
  padding: 10px;
}

.social {
  flex: 2;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 5px 0;
}

.footer-column a:hover {
  color: #e56c2d;
}

.footer-column i {
  margin-right: 5px;
}

@media (max-width: 860px){
  #footer {
  display: block;
  }
}