/* General Styles */
body,
html {
  margin: 0;
  padding: 0;
  /* Evita que haya scroll innecesario */
  background-color: #000;
}

.of{
  overflow: hidden;
}

/* Fullscreen Image Styling */
.fullscreen-image {
  background-image: url('../images/cover.jpg');
  /* Imagen para pantallas grandes */
  background-size: cover;   */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
  /* No repite la imagen */
  width: 100%;
  height: 100vh;
  /* Ocupa toda la altura de la pantalla */
}

/* Cambia la imagen en dispositivos móviles en modo vertical */
@media (max-width: 768px) and (orientation: portrait) {
  .fullscreen-image {
    background-image: url('../images/phone.jpg');
    /* Imagen para móviles */
  }
}


.logo img {
  margin: 12px;
  max-width: 124px;
}


/* Fullscreen Image Styling */
.fullscreen-image {
  background-image: url('../images/cover.jpg');
  /* Imagen para pantallas grandes */
  background-size: cover;
  /* La imagen cubre toda la pantalla */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
  /* No repite la imagen */
  width: 100%;
  height: 100vh;
  /* Ocupa toda la altura de la pantalla */
}

/* Cambia la imagen en dispositivos móviles en modo vertical */
@media (max-width: 768px) and (orientation: portrait) {
  .fullscreen-image {
    background-image: url('../images/phone.jpg');
    /* Imagen para móviles */
  }
}

/* Navbar Styling */
.navbar {
  position: absolute;
  top: 0;
  right: 0;
  /* Alinea el navbar al borde derecho */
  width: auto; 
  /* Fondo semitransparente */
  display: flex;
  justify-content: flex-end;
  /* Asegura que los elementos se alineen a la derecha */
  align-items: center;
  padding: 10px 20px;
  z-index: 10;
  box-sizing: border-box;
  /* Evita que el padding desborde */
}

/* Navigation links */
/* Navigation links */
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list li {
  margin: 0 15px;
}

.nav-list a {
  font-family: "Nunito Sans", sans-serif;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #9BA;
  /* Color dorado al pasar el mouse */
}

/* Submenu styles */
.menu-item {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  z-index: 1008;
  background-color: #020202;
}

.submenu li {
  width: 100%;
}

.submenu-link {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}



.menu-item:hover .submenu {
  display: block;
}

/* Menu toggle for mobile (hamburger icon) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 3px 0;
}

.active {
  color: #FFF;
}

.no-active {
  color: #444;
  cursor: none;
}

.uno-active {
  color: #9BA;
  text-decoration: underline;
}

.concurso img {
  text-align: center;
  max-width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  /* Ancho completo de la ventana */
  height: 100vh;
  /* Altura completa de la ventana */
  background: rgba(0, 0, 0, 0.8);
  display: none;
  /* Oculto por defecto */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  width: 80%;
  max-width: 720px;
  background: #000;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.popup-content iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Botón de cerrar */
.close-btn {
  position: absolute;
  top: 10px;bfgv
  right: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
}

.container2 {
  position: relative;
  overflow: hidden;
}

.concurso img{
  max-width: 100%;
}


.concurso {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.image-win {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer; 
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-win img {
  width: 100%;
  height: auto;
  display: block;
}

.image-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.image-button img {
  width: 100%;
  height: auto;
  display: block;
}

.image-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.image-button:focus {
  outline: 2px solid #4A90E2; /* Cambia el color del borde según tu diseño */
  outline-offset: 4px;
}


.main-content {
  width: 100%;
  margin-top: 60px; /* Compensar la altura del header */
  text-align: center;
}
/* Responsiveness: Show hamburger menu on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    /* Muestra el ícono hamburguesa */
  }


  .nav-list {
    display: none;
    /* Oculta la lista por defecto */
    flex-direction: column;
    position: absolute;
    top: 60px;
    /* Debajo del navbar */
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    z-index: 10;
    box-sizing: border-box;
    padding: 15px;
  }

  .nav-list.active {
    display: flex;
    /* Muestra la lista al activar */
  }

  .nav-list li {
    margin: 10px 0;
  }
}

.text-center{
  text-align: center;
}

h2{

  font-family: "Comfortaa", serif;
  color: #fff;
}

h3{

  font-family: "Comfortaa", serif;
  color: #fff;
  text-decoration: none;
}

a{
  text-decoration: none;
}

.wins { 
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: 0;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: auto;
}

.grid-item {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}

.grid-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s, width 0.2s;
    width: 80%;
}

.grid-image:hover {
    transform: scale(1.05);
}

.grid-image2 {
    width: 40%;
}


.image-caption {
  font-family: "Comfortaa", serif;
    margin-top: 5px;
    font-size: 14px;
    color: #eee;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}


.popup-content-wrapper {
    text-align: center;
    color: white;+
}

.popup-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1002;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}