body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    color: aliceblue;
  }

  p {
    font-size: medium;
    font-family: 'Roboto', sans-serif;
  }

  p music {
    font-size: xx-small;
  }
  
  header {
    background: #0c0c0c;
    color: white;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    position: fixed;
    width: 100%;
  }
  
  nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
  }
  
  .nav-links li {
    margin: 0 1rem;
    display: inline;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: red;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px;
      transition: all 0.3s ease;
  }
  
  #language-toggle {
    background: rgb(255, 131, 131);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #language-toggle:hover {
    background: white;
    color: black;
  }

  @keyframes banderaUSA {
    0% { color: red; }
    33% { color: white; }
    66% { color: blue; }
    100% { color: red; }
  }

  .bandera-usa {
      animation: banderaUSA 4s infinite;
      margin-left: 10px;
  }


  #parallax-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: no-repeat center center;
    background-size: cover;
  }

  #parallax-video video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
  }

  #parallax-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Oscurece el video para mejorar la legibilidad */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 1;
  }

  .section {
    padding: 60px 20px;
    text-align: center;
    z-index: 2;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
  }
  
  .section .content {
    max-width: 80%;
    margin: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }

  .overlay h1 {
    color: aliceblue;
    font-family: 'Roboto', sans-serif;
    font-size: xx-large;
  }
  
  h1 {
    color: red;
    font-family: 'Roboto', sans-serif;
    font-size: xx-large;
  }
  
  button {
    width: 120px;
    background: red;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 40px;
    margin-bottom: 100px;
    border-radius: 8px;
  }
  
  button:hover {
    background: white;
    color: black;
  }
  
  form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  form label {
    margin-top: 1rem;
  }
  
  form input, form textarea {
    margin-top: 0.5rem;
    padding: 0.5rem;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
  }
  
  footer {
    display: flex;
    justify-content: space-between;
    background: black;
    text-align: center;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1001;
  }

  footer p {
    font-family: 'Roboto', sans-serif;
    font-size: small;
    padding: 5px;
    margin: 0;
    margin-left: 50px;
    margin-right: 50px;
  }

  


  .gallery-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.gallery-group {
    margin-bottom: 40px;
}

.gallery-group h2 {
    font-size: large;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 30px;
    color: #d8d8d8;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    position: relative;
    flex: 1 1 calc(33.333% - 10px);
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-caption {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 10px);
    }

    nav {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: #0c0c0c;
      text-align: left;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links.active .nav-link {
        display: block;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .overlay {
      display: flex;
      flex-direction: column;
    }

    .section {
      padding: 60px 5px;
      text-align: center;
      z-index: 2;
      position: relative;
      background: rgba(0, 0, 0, 0.7);
    }
    
    .section .content {
      max-width: 90%;
      margin: auto;
      box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    }

    footer {
      display: flex;
      flex-direction: column;
      background: black;
      text-align: center;
      padding: 0.5rem 0;
      position: fixed;
      width: 100%;
      bottom: 0;
      z-index: 1001;
    }
  
    footer p {
      font-family: 'Roboto', sans-serif;
      font-size: small;
      padding: 5px;
      margin: 0;
      margin-left: 50px;
      margin-right: 50px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
    }
}





.container-box h2 {
  font-family: 'Roboto', sans-serif;
  font-size: large;
  padding-bottom: 10px;
}
.container-box p , .container-box ol {
  font-family: 'Roboto', sans-serif;
  font-size: medium;
  width: 80%;
  margin: 0 auto;
}
.container-box li {
  padding-bottom: 10px;
}

.container-box img {
  width: 80%;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 60px;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
}
.effect-hide {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s, transform 0.5s;
}

.box ol {
  font-family: 'Roboto', sans-serif;
  font-size: medium;
}

.effect-show {
  opacity: 1;
  transform: translateY(0);
}