@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: linear-gradient(#593445 65%, #D9C5CE);
}


@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(#593445,#d9c5ce1f);
    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*/

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

#Primera-titulo{
    font-family: 'Serenata Vantages Light', sans-serif;
    font-size: 60px;
    font-weight: lighter;
}

#Primera-subtitulo{
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;;
    font-size: 25px;
    font-weight: lighter;
}

@media (max-width: 860px){
    #Primera-titulo{
        font-size: 40px;
        font-weight: 500;
    }
}

/*Galería*/
.gallery-section {
    height: 100vh;
    padding: 20px;
    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 2*/

.transparent-box {
    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); 
    padding: 20px;
    border-radius: 15px; /* Bordes redondeados */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 40px; /* Espaciado entre las dos cajas */
}

.box, .box_reverse {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: auto; /* Cambio en responsive */
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgb(14, 6, 121), rgb(93, 54, 184));
}

.box_reverse {
    background: linear-gradient(rgb(93, 54, 184), #6394bf);
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    font-size: 2em;
    text-align: center;
}

.content {
    position: relative;
    z-index: 1;
}

iframe {
    width: 100%;
    height: 100%;
    max-width: 700px; /* Ajusta el máximo si es necesario */
    max-height: 400px;
    aspect-ratio: 16 / 9; /* Mantiene la proporción correcta */
}

@media (max-width: 860px) {
    .transparent-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content {
        font-size: 1.2em;
        padding: 10px;
    }

    .box,
    .box_reverse {
        height: auto;
        padding: 40px 0;
    }

    iframe {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}
/*Pagina 3*/
.accordion-section1,
.accordion-section2,
.accordion-section3 {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden; 
    padding-top: 110px;
    align-items: flex-start; 
    height: auto;
    padding-bottom: 110px;
    
}


.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-section3 {
    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%;
    padding: 15px;
    font-size: 2em;
    font-weight: lighter;
    cursor: pointer;
    text-align: center;
    background: white;
    color: black;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgb(93, 54, 184);
}

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

.grid {
    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 */
}

.card {
    width: calc(33.33% - 20px); /* 3 columnas por fila */
    min-width: 250px;
    max-width: 300px;
    background: white;
    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-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container 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*/

#STAFF {
    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;
    max-height: 100%;
}
/* Título principal */
#Pipo {
    padding-top: 10px;
    font-family: 'Garden Of Heaven', sans-serif;
    font-size: 80px;
    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: 30px;
    font-weight: lighter;
    margin-bottom: 20px;
}

.staff-section {
    width: 80%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}
.staff-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.staff-header {
    width: 100%;
    padding: 15px;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    background: #333;
    color: white;
    transition: background 0.3s;
}
.staff-header:hover {
    background: #555;
}
.staff-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding: 0 15px;
    text-align: left;
    color: black;
}
.staff-content ul {
    list-style-type: none;
    padding: 10px 0;
}
.staff-content li {
    margin: 5px 0;
}
.staff-content a {
    text-decoration: none;
    color: #007BFF;
}
.staff-content a:hover {
    text-decoration: underline;
}

/*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;
    }
}