.rajdhani-light {
  font-family: "Rajdhani", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.rajdhani-regular {
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.rajdhani-medium {
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.rajdhani-semibold {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.rajdhani-bold {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: normal;
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Rajdhani", sans-serif;
    box-sizing: border-box;
}


.logo-responsive-img {
  display: none;
}


.logo-img {
  position: absolute;
  left: 30px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.1s ease;
}

@media (max-width: 1550px) {
  .logo-img {
    display: none;
  }

  .logo-responsive-img {
    display: block;
    width: 80px;
  }

  .nation-title {
    display: flex;
    justify-content: space-between;
  }

  .logo-responsive-link {
    display: flex;
    justify-content: center;
    align-items: center;
  }


}


.logo-img:hover {
  transform: scale(1.01);
}


body {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
}

.container {
  display: flex;
  min-height: 100vh;
  padding: 40px;
  gap: 40px;
  box-sizing: border-box;
}

.left-panel {
  flex: 1;
  background: rgba(30, 30, 30, 0.85);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #444;
  display: flex;
  flex-direction: column;
  gap: 20px;

  
}

.flag {
  width: 100px;
  border-radius: 6px;
  
}

.nation-title {
  font-size: 3rem;
  margin: 0;
  color: #ff0000;

  border-bottom: 1px solid #3a3a3a;
}

.nation-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.strengths h2 {
  color: #ffcc00;
  margin-bottom: 10px;
}

.strengths ul {
  list-style: square;
  padding-left: 20px;
}

.strengths li {
  margin-bottom: 8px;
}

.right-panel {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.video-box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border: 2px solid #333;
  border-radius: 12px;
  overflow: hidden;
}

.video-box iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery img {
  max-width: 30%;
  border-radius: 10px;
  border: 2px solid #222;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}


.download-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 100px;
    
}

.header-download-button {

    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(to right, #c40000, #ff1e1e); /* rojo oscuro a rojo vivo */
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow-x:hidden;

    margin: auto;
    text-align: center;

    
}




/* abrir y cerrar imagen CON JAVASCRIPT YEAH!! */

 .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
  }

  .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
  width: auto;      /* ancho automático según proporción */
  height: auto;     /* alto automático */
  object-fit: contain; /* mantiene aspecto */
}


  .close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }

  .close:hover {
    color: #f00;
    transform: scale(1.2);
  }


/* RESPONSIVE DESIGN */

/* Tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 20px;
  }

  

  .left-panel, .right-panel {
    width: 100%;
    padding: 20px;
  }

  .gallery img {
    max-width: 45%;
  }

  .nation-title {
    font-size: 2.5rem;
  }

  .header-download-button {
    font-size: 1rem;
    padding: 12px 24px;
  }

  

  .logo-link {
    width: 80px;
    height: 80px;
    top: 10px;
    left: 20px;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 600px) {
  .container {
    padding: 16px;
    gap: 20px;
  }

  .nation-title {
    font-size: 2rem;
  }

  .nation-description {
    font-size: 0.95rem;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
  }
  .gallery img {
    max-width: 100%;
  }

  .flag {
    width: 80px;
  }

  .header-download-button {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  .logo-link {
    width: 60px;
    height: 60px;
    top: 8px;
    left: 10px;
  }

  .close {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }
}

@media (max-width:400px) {
  .logo-responsive-img {
    width: 60px;
  }

  .logo-img {
    display: none;
  }

  .nation-title {
    font-size: 1.5rem;
  }

  .nation-description {
    font-size: 0.85rem;
  }

  .strengths h2 {
    font-size: 1.2rem;
  }

  .strengths ul {
    padding-left: 10px;
  }
}
