
html {
    height: -webkit-fill-available;
}
:root{
  --primary-color: rgb(230, 226, 18);
    --secondary-color: #141414;
    --font-family: "Staatliches", serif;
  }
  @media (max-width: 900px){
    .nav-v2 { position: sticky; top: 0; z-index: 1200; }
    .nav-v2 .navbar { position: relative; padding: 6px 8px; display:flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
    .nav-v2 .navbar .brand { position: static; transform: none; }
    .nav-v2 .navbar .logo { width: 56px; margin-top: 0; }
    .nav-v2 .nav-toggle-wrap { display: inline-flex; position: relative; z-index: 1400; }
    .nav-v2 .nav-toggle { display: inline-flex; width: 48px; height: 40px; align-items: center; justify-content: center; padding: 6px; border: 2px solid var(--primary-color); border-radius: 8px; background: rgba(0,0,0,0.25); z-index: 1400; }
    .nav-v2 .nav-toggle:hover { background: rgba(0,0,0,0.35); }
    .nav-v2 .nav-toggle span { height: 6px; width: 28px; background: var(--primary-color); margin: 4px 0; border-radius: 999px; box-shadow: 0 0 4px rgba(230,226,18,.5); }
    .nav-v2 .nav-label { display: inline-block; color: var(--primary-color); font-family: var(--font-family); font-size: 1.05rem; margin-left: 8px; letter-spacing: 1.5px; cursor: pointer; user-select: none; padding: 6px 4px; line-height: 1; z-index: 1400; }
    .nav-v2 .nav-label:focus { outline: 2px dashed var(--primary-color); outline-offset: 3px; }
    /* Dropdown superpuesto (overlay) bajo la barra; oculto por defecto */
    .nav-v2 .nav-menu, .nav-v2 .nav-actions { display: none !important; position: absolute; left: 0; right: 0; top: 100%; background: #0d0d0d; padding: 12px; flex-direction: column; gap: 10px; border-top: 2px solid var(--primary-color); box-shadow: 0 8px 18px rgba(0,0,0,.35); z-index: 1300; }
    .nav-v2.is-open .nav-menu, .nav-v2.is-open .nav-actions { display: flex !important; }
    .nav-v2 .nav-menu .nav-enlaces { padding: 10px 8px; border-radius: 8px; }
    .nav-v2 .nav-actions .btn-primary { width: 100%; justify-content: center; }
    /* Backdrop para cerrar al tocar fuera */
    .nav-v2 .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1200; }
    .nav-v2.is-open .nav-backdrop { display: block; }
  }

/* Existing styles from the original style.css */
h2, h3 {
    color: #333;
}
h4{
  color: white;
  font-size: 1rem;
  font-style: italic;
}
::-webkit-scrollbar {
  height: 12px;
  width: 1rem;
}
::-webkit-scrollbar-track {
  background: var(--secondary-color);
  width: 1.2rem;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border: 2px solid #141414; 
  width: 1rem;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 209, 18, 0.8); 
  cursor: pointer; 
}
::-webkit-scrollbar-horizontal {
  height: 10px; 
}
input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

#comentarios {
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

  *{
      margin: 0;
      font-family: "Staatliches", serif;
  }
  body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    height: auto;
    height: -webkit-fill-available;
    background: #333;
  }
  html { background: #333; overflow-x: hidden; }
 body { overflow-x: hidden; }
  
  /*Navbar*/
  .nav {
      background-color: #000000;
      width: 100%; /* Ensure full width */
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg stroke='%23C3A00F' stroke-width='100' stroke-opacity='0.2' %3E%3Ccircle fill='%23000000' cx='0' cy='0' r='1800'/%3E%3Ccircle fill='%23330d00' cx='0' cy='0' r='1700'/%3E%3Ccircle fill='%23371900' cx='0' cy='0' r='1600'/%3E%3Ccircle fill='%233d2500' cx='0' cy='0' r='1500'/%3E%3Ccircle fill='%23463000' cx='0' cy='0' r='1400'/%3E%3Ccircle fill='%23503c00' cx='0' cy='0' r='1300'/%3E%3Ccircle fill='%235b4800' cx='0' cy='0' r='1200'/%3E%3Ccircle fill='%23685400' cx='0' cy='0' r='1100'/%3E%3Ccircle fill='%23756000' cx='0' cy='0' r='1000'/%3E%3Ccircle fill='%23836d00' cx='0' cy='0' r='900'/%3E%3Ccircle fill='%23927900' cx='0' cy='0' r='800'/%3E%3Ccircle fill='%23a18600' cx='0' cy='0' r='700'/%3E%3Ccircle fill='%23b09400' cx='0' cy='0' r='600'/%3E%3Ccircle fill='%23c0a100' cx='0' cy='0' r='500'/%3E%3Ccircle fill='%23cfaf00' cx='0' cy='0' r='400'/%3E%3Ccircle fill='%23dfbd00' cx='0' cy='0' r='300'/%3E%3Ccircle fill='%23efcb01' cx='0' cy='0' r='200'/%3E%3Ccircle fill='%23FFD923' cx='0' cy='0' r='100'/%3E%3C/g%3E%3C/svg%3E");
      background-attachment: fixed;
      background-size: cover;
      background: var(--secondary-color );
      height: auto;
      z-index: 1200;
  }
  .nav input {
    background: var(--secondary-color);
    border: none;
    color:white;
    padding: 12px;
    text-align: center;
    margin: 1rem;
    margin-right: 0;
  }
  .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px;
      color: white;
  }
  .brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
  .nav-menu { display: flex; align-items: center; gap: 14px; }
  .nav-actions { display: flex; align-items: center; gap: 10px; }
  .nav-toggle-wrap { display: none; align-items: center; gap: 8px; margin-left: auto; }
  .nav-toggle { display: none; background: transparent; border: none; width: 40px; height: 34px; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-color); margin: 3px 0; border-radius: 2px; }
  .nav-label { display: none; }
  .btn-primary{
    position: relative;
    background: var(--primary-color);
    border: none;
    padding: 8px 16px;
    transition: ease .3S;
    text-decoration: none;
    color: black; /* Ensure the text color is black */
    font-size: 0.95rem;
    margin-right: .6rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-primary:hover{
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 1px 1px 10px rgb(109, 107, 10);
    background: black;
    color: rgb(230, 226, 18);
  }
  .navbar .nav-enlaces {
      color: white;
      text-decoration: none;
      margin: 0 24px;
      font-size: 1.05rem;
      transition: ease .3S;
  }
  .navbar .nav-enlaces:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
    transform: scale(1.1);
  }
  .navbar .logo {
    margin-top: 0.5rem;
      width: 75px;
      filter: drop-shadow(0 0 15px rgb(136, 136, 136));
  }
  @media (max-width: 600px){
    .nav input{
      padding: 7px 2px;
      text-align: center;
      margin: 6px;
      margin-right: 0;
    }
    .nav input::placeholder{
      font-size: 10px;
    }
  .navbar .logo {
    width: 45px;
    margin: 0;
  }
  .navbar a:hover {
    transform: scale(1.1);
  }
  .nav {
    height: auto;
    z-index: 2000;
    width: 100%;
  }
  .btn-primary{
    position: relative;
    border: none;
    padding: 6px 10px;
    transition: ease .3S;
    text-decoration: none;
    color: black; /* Ensure the text color is black */
    font-size: 0.65rem;
    margin-right: .4rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .btn-primary:hover{
    transform: scale(1.1);
  }
  .nav .nav-enlaces {
    font-size: 11px;
    margin: 0 5px;
  }
  }
  @media (min-width: 601px) and (max-width: 1024px){
    sections {
    height: -webkit-fill-available;
    }
  }
  /*Sections*/
  section{
        height: -webkit-fill-available;
      text-align: center;
      width: 100%;
      height: auto;
      margin: 0;
      background-color: #161616;
      background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23383838' fill-opacity='0.24' fill-rule='evenodd'/%3E%3C/svg%3E");
  }
  h2{
    padding-top: 3rem;
      color: white;
      font-size: 5rem;
      font-style: italic;
      z-index: 1001;
  }
  @media (max-width: 600px){
    h2{
      font-size: 2.6rem;
      padding-top: 2rem;
    }
  }
  
  /*home*/
  .home {
    background-image: url('../Images/background-valhalla.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100vh; 
    view-timeline: --scroll;
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-items: center;
    width: 100%;
  }
  .home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 1;
    overflow: hidden;
  }
    h1 {
    max-width: 100%;
    font-size: 7rem;
    color: rgb(230, 226, 18);
    letter-spacing: 4px;
    font-style: italic;
    padding: 0;
    margin: 0;
    top: 15rem;
    position: absolute;
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s ease;
    z-index: 10;
    pointer-events: none;
  }
  /* h1:first-child {*/
  /*  animation: fade-away both linear;*/
  /*  animation-timeline: --scroll;*/
  /*  animation-range: exit 20% exit 70%;*/
  /*  padding: 0;*/
  /*  margin: 0;*/
  /*}*/
  /*h1:last-child {*/
  /*  animation: */
  /*    scale-up both ease-in-out,*/
  /*    fade-away both linear;*/
  /*    animation-timeline: --scroll;*/
  /*    animation-range:*/
  /*      exit 0% exit 80%,*/
  /*      exit 20% exit 60%;*/
  /*      padding: 0;*/
  /*      margin: 0;*/
  /*}    */
  .home img {
      width: 340px;
      height: 340px;
      z-index: 0; /* behind .home::before which is z-index:1 */
      object-fit: contain;
      position: absolute;
      top: 7rem;
      right: 7rem;
  }
  .home a {
    color: var(--secondary-color);
    text-decoration: none;
    background: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--primary-color);
    font-size: 15px;
    z-index: 1000;
    position: absolute;
    transition: ease 0.5s;
    top: 2rem;
    left: 2rem;
  }
  .home a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
  }
  @media (max-width: 600px){
    .home {
      height: 60vh;
      align-items: center;
      justify-content: center;
      text-align: center;
      justify-items: center;
      }
    h1 {
    font-size: 3.4rem;
    padding: 0;
    padding-top: 4rem;
    margin: 0;
    width: 100%;
    top: 6.5rem; /* move title below sticky navbar */
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s ease;
    z-index: 10;
    pointer-events: none;
    }
    .home img {
      width: 160px;
      height: 160px;
      z-index: 0; /* behind overlay */
      object-fit: contain;
      position: absolute;
      top: 1rem; /* avoid overlapping with navbar */
      right: 1rem;
  }
  .home a {
    padding: 10px 16px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--primary-color);
    font-size: 12px;
    z-index: 1000;
    position: absolute;
    transition: ease 0.5s;
    top: 1rem;
    left: 1rem;
  }
    }
  
  /*@keyframes scale-up {*/
  /*  to {scale: 1.5;}*/
  /*}*/
  /*@keyframes fade-away {*/
  /*  to {opacity: 0;}*/
  /*}*/
  


/* Clientes */
.hidden-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 24px 16px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  gap: 12px;
  border-top: none;
}
.hidden-section h2 {
  color: #000;
}
.our-clients {
  color: yellow;
  background-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23383838' fill-opacity='0.24' fill-rule='evenodd'/%3E%3C/svg%3E");
  text-align: center;
  font-size: 4.5rem;
  font-style: italic;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 0 .75rem;
  gap: .25rem;
  height: auto;
  width: 100vw;               /* ocupar 100% del viewport */
  max-width: 100vw;
  margin-left: calc(50% - 50vw);  /* extender a los bordes si el contenedor padre centra contenido */
  margin-right: calc(50% - 50vw);
}
  .our-clients h2{
    font-size: 6.5rem;
    color: var(--primary-color);
    margin: 0;
  }
  .our-clients img{
    display: block;
    margin: .25rem auto 0;
    width: 100px;
    cursor: pointer;
    user-select: none;
    text-align: center;
  }
.fa-arrow-down {
  color: var(--accent-color);
  font-size: 5.5rem;
  justify-items: center;
  text-align: center;
  transition: ease 0.3s;
}
.fa-arrow-down:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px #a09eec;
}
.hidden-section {
  justify-content: center;
  align-items: center;
  width: 100%;
  justify-items: center;
  display: flex;
  flex-direction: column;
}
.horario {
  border: 3px solid var(--primary-color);
  background: #000;
  width: 50%;
  margin: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(230,226,18,.15);
}
#horario1 {
  margin-top: 3.3rem;

}
.horario h3 {
  color: white;
  font-size: 2rem;
}

.horario p{
  font-size: 1.2rem;
  color: white;
}
/* Responsive Clientes */
@media (max-width: 768px) {
  .our-clients {
      font-size: 1.5rem;
      height: 9vh;
  }
  .our-clients h2 {
      font-size: 2rem;
  }
  .our-clients img {
      width: 30px;
  }
  .hidden-section {
      width: 100%;
      padding: 16px 12px;
      gap: 10px;
      background: var(--primary-color);
      color: var(--secondary-color);
  }
  .horario h3 {
    color: white;
    font-size: 1.6rem;
  }
  
  .horario p{
    font-size: 1rem;
    color: white;
  }
}


            /* about */
  .about {
    text-align: center;
    justify-content: center;
    justify-items: center;
    height: auto;
    width: 100%;
  }
  .about .container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
    width: 100%;
  }
  .about p{
    color: white;
    width: 60%;
    text-align: justify;
    text-align-last:  center;
    font-size: 28px;
  }
  .about p span{
    color: var(--primary-color);
    font-size: 80px;
  }
  .about .content {
    display: flex;
    flex-direction: row;
  }
  .info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    align-items: center;
    width: 100%;
  }
    .ttl {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }
  .ttl h2{
    font-size: 4rem;
    margin-top: 1rem;
  }
  .ttl p{
    font-size: 1.4rem;
    width: 60%;
    text-align: justify;
    text-align-last:  center;
  }
  .ttl1{
    width: 80px;
    height: 80px;
    background-image: url('../Images/2.PNG');
    background-size: contain;
    background-position: center;
    position: relative;
    opacity: 0.9;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-left: 1rem;
  }
  .ttl2{
    width: 100px;
    height: 80px;
    background-image: url('../Images/3.PNG');
    background-size: contain;
    background-position: center;
    position: relative;
    opacity: 0.9;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-left: 1rem;
  }
  .box {
    width: 500px;
    height: 500px;
    margin: 2rem;
    background-color: var(--secondary-color);
    justify-content: center;
    color: #000;
  }
  .about img {
    object-fit: cover;
    width: 500px;
    height: 500px;
  }
  .cover {
  background-color: lightgray;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s;
  transform-origin: 0;
  box-shadow: 1px 1px 12px #000;
  justify-content: center; 
  align-items: center;   
  justify-items: center;
  margin-top: -5rem;
  
}
#cover {
    margin-top: -7rem;
}

  .cover p {
    font-size: 20px;
    font-weight: bolder;
  }
  .about .equipo {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }
  .about .equipo p{
    color: white;
    font-size: 1.4rem;
    font-style: italic;
    width: 75%;
    text-align: justify;
    text-align-last:  center;
  }
  .about .equipo .equipo1, .about .equipo .equipo2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-items: center;
    margin-bottom: 2rem;
  }

  .about .equipo .equipo1 img,.about .equipo .equipo2 img{
    box-shadow: 0 0 15px var(--primary-color);
    margin-right: 1rem;
    animation: shakeAndSlide 11s ease-in-out infinite;
    width: 40%;
    height: 40%;
  }
  .division-1{
    width: 100%;
    height: 100%;
    
  }
  .division-2{
    width: 100%;
    height: 50%;
    
  }

  @media (max-width: 600px){
    .about {
      height: auto;
      min-height: 100vh;
    }
    .about .container .box p{
      width: 95%;
      font-size: 9px;
    }
    .about h2 {
      margin-bottom: 1rem;
      font-size: 2rem;
    }
    .about #row {
      width: 186px;
      height: 186px;
      margin: 1rem;
    }
    .info {
      flex-direction: column;
    }
    .ttl1{
      width: 40px;
      height: 40px;
    }
    .ttl2{
      width: 40px;
      height: 33px;
    }
    .division-1{
      width: 100%;
      height: 100%;
    }
    .division-2{
      width: 100%;
      height: 50%;
    }
    .division-1 img{
      width: 40%;
      height: 40%;
    }
    .division-2 p{
      font-size: 15px;
    }
    .about p span{
      font-size: 20px;
    }
    .about p{
      width: 80%;
      margin-top: 0;
      margin-top: 0.3rem;
      text-align: justify;
      text-align-last:  center;
      font-size: 15px;
    }
    .about .equipo p{
      color: white;
      font-size: 0.8rem;
      font-style: italic;
    }
    .about .equipo {
      margin: 0;
    }
    .cover{
        bottom: 8rem;
    }
    #cover{
        bottom: 8.5rem;
    }
  }
              /* training */
  .training .container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-items: center;
    justify-content: center;
    width: 100%;
  }
  .training h2 {
    margin-bottom: 2rem;
  }
  .training .container #row{
    border: 4.5px solid var(--primary-color);
    border-radius: 15px;
    width: 40%;
    height: 100vh;
    margin: 2rem;
    padding: 1rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }
  .training .container #row h3{
    font-size: 3.1rem;
    color: white;
    font-style: italic;
    margin-bottom: 1rem;
    }
  .training .container #row h4{
    font-size: 1.9rem;
    color: var(--primary-color);
  }
  .training .container #row p{
    font-size: 19px;
    color: white;
    margin-bottom: 0.5rem;
  }
  .training .container #row h6{
    font-size: 18px;
    color: white;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    letter-spacing: 1.4px;
  }

.img-program1{
  width: 100px;
  height: 145px;
  background-image: url('../Images/1.PNG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0.9;

}
.img-program2{
  width: 130px;
  height: 145px;
  background-image: url('../Images/8.PNG');
  background-size: cover;
  background-position: center;
  position: relative;
  opacity: 0.9;
  
  background-repeat: no-repeat;
}
.yellow-line{
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: var(--primary-color);
    justify-content: center;
    justify-items: center;
    align-items: center;
    margin-bottom: 1rem;
}
  @media (max-width: 600px){
    .training {
      height: auto;
    }
    .training .container #row{
      height: auto; 
      padding: 10px;
      width: 80%;
    }
    .training h2 {
      padding-top: 10px;
      font-size: 1.8rem;
    }
    .training .container #row h3 {
      font-size: 2rem;
    }
    .training .container #row h4 {
      font-size: 1.4rem;
    }
    .training .container #row p {
      font-size: 12px;
    }
    .training .container #row h6{
        font-size: 12px;
        color: white;
        margin-bottom: 3rem;
        letter-spacing: 1px;
      }
    .img-program1{
      width: 70px;
      height: 96px;
    }
    .img-program2 {
      width: 70px;
      height: 70px;
    }
  }
  /* instalaciones */
  .instalaciones {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }
  .instalaciones .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem;  
    width: 75%;
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap: 1rem;
    height: 100%;
    overflow: auto;
  }
  .instalaciones .container .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border: 2px solid white;
    border-radius: 16px;
    width: 350px;
    height: 350px;
    margin: 0.8rem;
    transition: ease .3S;
  }
  .instalaciones-img {
    object-fit: cover;
    width: 350px;
    height: 350px;
    border-radius: 16px;
  }
  .instalaciones .row {
    object-fit: cover;
  }
  .instalaciones .container .row:hover{
    transform: scale(1.02);
    cursor: pointer;
    box-shadow: 0 0 13px var(--primary-color);
  }
  .instalaciones .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem;  
  }
  .instalaciones .load_videos {
    position: relative;
    background: var(--primary-color);
    border: none;
    padding: 12px 25px;
    transition: ease .3S;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 2rem;
  }
  .instalaciones .load_videos:hover{
    cursor: pointer;
    transform: scale(2);
    box-shadow: 1px 1px 10px rgb(109, 107, 10);
    background: black;
    color: var(--primary-color);
  }
  .Lol {
    padding: 4rem;
  }
  @media (max-width: 600px){
    .instalaciones {
      height: auto;
    }
    .instalaciones .container{
      padding: 2rem 1rem;
      justify-content: space-around;
      justify-items: center;
      align-items: center;
      height: 100%;
      background-color: #161616;
      background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23383838' fill-opacity='0.24' fill-rule='evenodd'/%3E%3C/svg%3E");
      overflow: auto;
    }
    .instalaciones .container .row{
      width: 90px;
      height:90px;
      margin: 0.6rem 0.6rem;
      object-fit: cover;
      border-radius: 12px;
    } 
    .instalaciones-img{
      width: 90px;
      height:90px;
      border-radius: 12px;
    } 

.instalaciones .load_videos {
  margin-bottom: 1rem; 
  }
.Lol {
  padding: 2rem;
}
.instalaciones .load_videos {
  padding: 8px 15px;
  font-size: 14px;
}
}

.insta-carousel{ position:relative; width:100%; max-width:900px; margin: 0 auto; padding: 0 8px; }
.insta-viewport{ overflow:hidden; border: 3px solid var(--primary-color); border-radius: 14px; background: #0b0b0b; box-shadow: 0 0 18px rgba(230,226,18,.15); aspect-ratio: 1 / 1; }
.insta-track{ display:flex; will-change: transform; height: 100%; }
.insta-slide{ flex: 0 0 100%; height: 100%; }
.insta-slide img{ width:100%; height: 100%; object-fit: cover; display:block; }
.insta-arrow{ position:absolute; top:50%; transform: translateY(-50%); width:36px; height:36px; border: 2px solid var(--primary-color); background: rgba(0,0,0,0.25); color: var(--primary-color); font-size: 22px; line-height: 1; display:flex; align-items:center; justify-content:center; cursor:pointer; border-radius: 50%; backdrop-filter: blur(2px); z-index: 5; }
.insta-arrow.prev{ left: 10px; }
.insta-arrow.next{ right: 10px; }
.insta-arrow:hover{ background: rgba(0,0,0,0.4); transform: translateY(-50%) scale(1.06); }
@media (max-width: 900px){ .insta-viewport{ aspect-ratio: 1 / 1; } .insta-arrow{ width:32px; height:32px; font-size:20px; } .insta-carousel{ max-width: 680px; } }
@media (max-width: 600px){ .insta-viewport{ aspect-ratio: 1 / 1; } .insta-arrow{ width:28px; height:28px; font-size:18px; } .insta-carousel{ max-width: 95%; padding: 0 4px; margin: 12px auto; } }

  
  footer{
    width: 100%;
      color: var(--secondary-color);
  }
  footer h4{
    color: var(--secondary-color);
  }
  footer p span{
      text-decoration: none;
        color: var(--secondary-color);
  }
  footer a{
      text-decoration: none;
        color: var(--secondary-color);
  }
  .footer-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      align-items: center;
      justify-content: center;
      background-color: var(--primary-color);
      color: var(--secondary-color);
      padding: 20px;
  }
  
  .social-media, .contact-info {
      margin: 10px 0;
  }
  
  .social-media img {
      width: 30px; /* Tamaño de los iconos */
      margin: 0 10px; /* Espaciado entre iconos */
  }
  
  .trademark {
      margin-top: 20px;
      font-size: 14px;
  }
  @media (max-width: 600px){
  h4{
    font-size: 0.8rem;
    margin: 0;
    color: var(--secondary-color);
  }
  p {
    font-size: 0.6rem;
    color: var(--secondary-color);
  }
  }
  

  i {
      color: var(--secondary-color);
      font-size: 2.5rem;
      margin: 0.5rem;
  }
  
  
@keyframes shakeAndSlide {
  0% {
    transform: scale(1) translateX(0);
  }
  10% {
    transform: scale(1) translateX(-3px);
  }
  20% {
    transform: scale(1) translateX(3px);
  }
  30% {
    transform: scale(1) translateX(-3px);
  }
  40% {
    transform: scale(1) translateX(3px);
  }
  50% {
    transform: scale(1) translateX(-3px);
  }
  60% {
    transform: scale(1) translateX(3px);
  }
  70% {
    transform: scale(1) translateX(-3px);
  }
  80% {
    transform: scale(1) translateX(3px);
  }
  90% {
    transform: scale(1) translateX(-3px);
  }
  100% {
    transform: scale(1) translateX(3px);
  }
}
@keyframes shakeAndSlide2 {
  0% {
    transform: scale(1) translateX(0);
  }
  10% {
    transform: scale(1) translateX(-5px);
  }
  20% {
    transform: scale(1) translateX(5px);
  }
  30% {
    transform: scale(1) translateX(-5px);
  }
  40% {
    transform: scale(1) translateX(5px);
  }
  50% {
    -webkit-transition: all 0.5s;
transition: all 0.5s;
-webkit-transform: rotatey(90deg);
-ms-transform: rotatey(90deg);
transform: rotatey(90deg);;
}
60% {
    -webkit-transition: all 0.5s;
transition: all 0.5s;
-webkit-transform: rotatey(90deg);
-ms-transform: rotatey(90deg);
transform: rotatey(90deg);;
}
70% {
    -webkit-transition: all 0.5s;
transition: all 0.5s;
-webkit-transform: rotatey(90deg);
-ms-transform: rotatey(90deg);
transform: rotatey(90deg);; /* Finaliza el temblor */
}
80% {
    -webkit-transition: all 0.5s;
transition: all 0.5s;
-webkit-transform: rotatey(90deg);
-ms-transform: rotatey(90deg);
transform: rotatey(90deg);; /* Desliza el div a la derecha */
}
90% {
    -webkit-transition: all 0.5s;
transition: all 0.5s;
-webkit-transform: rotatey(90deg);
-ms-transform: rotatey(90deg);
transform: rotatey(90deg);; /* Desliza el div a la derecha */
}
100% {
    -webkit-transition: all 0.5s;
transition: all 0.5s;
-webkit-transform: rotatey(90deg);
-ms-transform: rotatey(90deg);
transform: rotatey(90deg);; /* Se mantiene en la posición deslizante */
}
}

#cover1 {
  animation: shakeAndSlide 11s ease-in-out infinite;
  display: inline-block;
  transition: transform 0.3s;
  -webkit-box-shadow: 1px 1px 12px #000;
  box-shadow: 1px 1px 12px #000;
  -webkit-transform: preserve-3d;
  -ms-transform: preserve-3d;
  transform: preserve-3d;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#cover2 {
  animation: shakeAndSlide2 11s ease-in-out infinite;
  display: inline-block;
  transition: transform 0.3s;
  -webkit-box-shadow: 1px 1px 12px #000;
  box-shadow: 1px 1px 12px #000;
  -webkit-transform: preserve-3d;
  -ms-transform: preserve-3d;
  transform: preserve-3d;
  -webkit-perspective: -2000px;
  perspective: -2000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .cover {
    animation-duration: 11s;
  }
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161616;
  padding: 16px;
}
.login-card {
  max-width: 420px;
  width: 92%;
  background: #000;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(230,226,18,.2);
  border: 2px solid rgba(230,226,18,.25);
}
.login-title { color: var(--primary-color); text-align: center; margin-bottom: 16px; font-style: italic; }
.login-error { color: #ff6b6b; text-align: center; margin-bottom: 12px; }
.login-submit {
  background: var(--primary-color);
  color: #000;
  font-weight: bold;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}
.login-submit:hover { background:#111; color: var(--primary-color); box-shadow: 0 0 10px rgba(230,226,18,.35); }
.input-with-icon { position: relative; display: flex; align-items: center; }
.input-with-icon input { padding-right: 44px; }
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--primary-color);
  cursor: pointer;
  transition: transform .15s ease;
  z-index: 2;
}
.toggle-password i { color: var(--primary-color) !important; font-size: 1rem; }
.toggle-password .eye { display: block; color: var(--primary-color) !important; pointer-events: none; }
.toggle-password:hover { transform: translateY(-50%) scale(1.05); }
@keyframes flash { 0%{ opacity:1; } 50%{ opacity:.6; } 100%{ opacity:1; } }
.toggle-password.pulse { animation: flash 220ms ease-out; }

@media (max-width: 480px) {
  .login-card { padding: 18px; }
}
