* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter Tight", sans-serif;
  font-weight: 100, 900;
  background-color: #000;
  color: #000;
  overflow: hidden;
}

.container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 0;
  width: 100vw;
  height: 100vh;
}

.column {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.titulos h2{
  font-weight: 400;
  font-size: 24px;
}

.titulos h3{
  font-weight: 600;
  font-size: 18px;
  padding-bottom: 5px;
}

.titulos h5{
  font-weight: 400;
  font-size: 16px;
  padding-bottom: 15px;
}

.titulos{
  font-weight: 400;
  font-size: 100%;
  color: white;
  padding-top: 1%;
}

.descripciones{
  font-weight: 400;
  font-size: 100%;
  color: white;
  padding-top: -5%;
  padding-bottom: 1%;
}

.descripciones p {
  white-space: pre-line;
  line-height: 1.3;
  max-width: 50%;
}

.descripciones a{
  display: block;
  margin-top: 15px;
}

.descripciones p a {
  display: inline;
  margin-top: 0;
}

.full-screen-video {
  width: 75vw;    /* matches your main column width */
  height: 100vh;  /* full viewport height */
  object-fit: cover;
}

a {
  color: #f8ed01;    
  text-decoration: none;  /* Remove the underline */
}

/* Change color when the user hovers over the link */
a:hover {
  color: #f8ed01;
  text-decoration: underline;
}

/* Style for links the user has already visited */
a:visited {
  color: white;
}

.image-container {
  padding-top: 10px;
  display: flex;
  width: calc(50% - 5px);
  justify-content: flex-start; /* Adds even space between and around images */
  gap: 10px; /* Optional: adds a consistent gap between images */
}

.image-container img {
  width: calc(50% - 5px); /* Ensures images are responsive */
  height: auto;
}

/* Estilos para la columna principal de medios */


.main-column {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
}

.media-item {
  position: relative;
  cursor: pointer;
  margin-bottom: 20px;
  display: block;
  width: 100%;
}

.media-item img,
.media-item video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.logo-alt {
  width: 2%;
}

.logo-alt-dato{
  padding-top: 25px;
  width: 15%;
}

/* BOTON IDIOMA INICIO */
.lang-btn {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 6px 12px;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  margin-bottom: 15px;
}

.lang-btn:hover {
  color: #f8ed01;
  border-color: #f8ed01;
}
/* BOTON IDIOMA FIN */


/* VIDEO YOUTUBE INICIO */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
    /* Optional: Center the container */
    margin: 0 auto; 
    max-width: 100%; /* Optional: Set a max width for large screens */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* VIDEO YOUTUBE FIN */


/* DITELLA INICIO */
.DiTella-video {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.DiTella-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.DiTella-VideoRow {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.DiTella-VideoRow img,
.DiTella-VideoRow video {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* DITELLA FIN */


/* CARRUSELL DE FOTOS RENDERS 3D INICIO */
.carousel {
  width: 100%;
}

.carousel-main img {
  width: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.carousel-main {
  position: relative;    /* this is required for the arrows to position correctly */
  width: 100%;
  aspect-ratio: 16 / 9;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 18px;
}

.arrow.left  { left: 15px; }
.arrow.right { right: 15px; }

.carousel-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.thumb {
  flex: 1;              /* each thumb takes equal share of available space */
  min-width: 0;         /* prevents flex items from overflowing */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.thumb.active {
  opacity: 1;
}
/* CARRUSELL DE FOTOS RENDERS 3D FIN */


/* VISUALES ENIGMATIK INICIO */
.Enigmatik-VideoPpal {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.Enigmatik-VideoPpal > video {
  width: 100%;
  height: auto;
  display: block;
}

.Enigmatik-VideoRow {
  display: flex;
  gap: 10px;
  width: 100%;
}

.Enigmatik-VideoRow video {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* VISUALES ENIGMATIK FIN */


/* VISUALES SELLERS INICIO */
.Sellers-VideoPpal {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.Sellers-VideoPpal > video {
  width: 100%;
  height: auto;
  display: block;
}

.Sellers-VideoRow {
  display: flex;
  gap: 10px;
  width: 100%;
}

.Sellers-VideoRow img,
.Sellers-VideoRow video {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* VISUALES SELLERS FIN */


/* DIBUJOS INICIO */
.dibujos {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.dibujos-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.dibujos-row img {
  width: calc(50% - 5px);
  height: auto;
}

.dibujos-full {
  width: 100%;
  height: auto;
}

.dibujos-row-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.dibujos-row-4 img {
  width: calc(50% - 5px);
  aspect-ratio: 1080 / 864;
  object-fit: cover;
}
/* DIBUJOS FIN */


/* BOTÍN BACK TO TOP INICIO */
.top-btn {
  cursor: pointer;
  width: 100px;   /* adjust to whatever size you want */
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  scale: 200%;
}
/* BOTÍN BACK TO TOP FIN */

/* Overlay que aparece al hacer hover */
/*.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.media-item:hover .overlay {
  opacity: 1;
}

.overlay p {
  font-size: 16px;
  line-height: 1.5;
}
*/


.overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white; 
  pointer-events: none;
}

/* ARROW INICIO */

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;        /* remove dark background */
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;             /* size of your arrow image */
  height: 40px;
}

.arrow.left  { left: 10px; }
.arrow.right { right: 10px; }

.arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ARROW FIN */

/* Estilos para la columna de información (1/4 derecha) */


.info-column {
  background-color: black;
  color: white;
  padding: 20px;
}

.info-column a:hover{
  color: #f8ed01;
}

.info-column h2 {
  font-weight: 100;
  font-size: 24px;
  margin-bottom: 15px;
  margin-top: 15px;
}

.info-column h3 {
  font-weight: 100;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.titulos-columna h3 {
  font-weight: 600;
  font-size: 18px;
}

.proyectos h3 {
  background-color: #f8ed01;
  color:black;
  padding: 2px 6px;
  display: inline-block;
}

.titulos-columna {
  margin-top: 8px;
  margin-bottom: -15px;
}

.info-column p {
  margin-top: 0px;
  line-height: 1.6;
  margin-bottom: 1px;
}

.info-column p {
  margin-top: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.info-column ul {
  list-style: none;
  padding-left: 0;
}

.info-column ul li {
  padding: 5px 0;
}

.info-column a {
  color: white;
  text-decoration: none;
}

.info-column a:hover {
  text-decoration: underline;
}

/* Custom scrollbar */
.column::-webkit-scrollbar {
  width: 8px;
}

.column::-webkit-scrollbar-track {
  background: black;
}

.column::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 4px;
}

.column::-webkit-scrollbar-thumb:hover {
  background: black
}

/* hide hamburger on desktop */
.hamburger-menu {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {

  body {
    overflow: auto;
  }

  .container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .column {
    height: auto;
    overflow-y: visible;
    overflow-x: hidden;
  }

  /* hide the original info column on mobile */
  .info-column {
    display: none;
  }

  .main-column {
    padding: 15px;
    gap: 15px;
    width: 100%;
  }

  .full-screen-video {
    width: 100vw;
    height: 50vh;
    margin-left: -15px;
  }

  .descripciones p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }

  .titulos h2 {
    font-size: 20px;
  }

  .titulos h3 {
    font-size: 16px;
  }

  .titulos h5 {
    font-size: 14px;
  }

  .top-btn {
    scale: 100%;
    width: 80px;
  }

  .arrow {
    width: 25px;
    height: 25px;
  }

  .info-row {
    flex-direction: column;
    gap: 5px;
  }

  .titulos-columna {
    margin-bottom: 0;
  }

  .logo-alt {
    width: 12%;
  }

  .logo-alt-dato {
    width: 30%;
  }

  .dibujos-row-4 img {
    width: calc(50% - 5px);
  }

  .image-container {
    width: 100%;
  }

  .image-container img {
    width: calc(50% - 5px);
  }

  /* HAMBURGER MENU */
  .hamburger-menu {
    display: block;
  }

  .hamburger-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: black;
    color: white;
    border: 1px solid white;
    font-size: 15px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
  }

.hamburger-btn.active {
  color: #f8ed01;
  border-color: #f8ed01;
}

  .hamburger-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    height: 100vh;
    background: black;
    color: white;
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
    transition: right 0.3s ease;
  }

  .hamburger-panel.open {
    right: 0;
  }

  .hamburger-close {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 20px;
    display: block;
  }

  .hamburger-panel .logo-alt {
    width: 12%;
    margin-bottom: 15px;
  }

  .hamburger-panel .logo-alt-dato {
    width: 30%;
    padding-top: 20px;
  }

  .hamburger-panel p {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .hamburger-panel a {
    color: white;
    text-decoration: none;
  }

  .hamburger-panel a:hover {
    color: #f8ed01;
  }

  .hamburger-panel .titulos-columna h3 {
    font-size: 16px;
    margin-top: 15px;
  }

  .hamburger-panel .lang-btn {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .lang-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  font-size: 15px;
  margin-bottom: 0;
  background: black;
  color: white;
  font-family: "Inter Tight", sans-serif;
  } 

  .hamburger-panel .logo-alt {
  width: 8%;
  margin-bottom: 10px;
  }

.hamburger-panel .logo-alt-dato {
  width: 20%;
  padding-top: 15px;
  }
}

