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

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}


.scroll-container{
  background-color: #000000;
  height: auto;
  width: 100%;
}



.panel.proyecto {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}

.content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
}

.project-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
  font-size: 2.5rem;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  color: #ffffff;
}

.project-title:hover {
  color: #ffb12b;
}

.project-detail {
  display: none;
  margin-top: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
  max-width: 100%;
  overflow-x: hidden;
}

.project-detail.active {
  display: block;
}

.sinopsis {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.galeria-imagenes {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.galeria-imagenes img {
  height: 200PX;
  width: 200px;
  max-height: 400px;
  border-radius: 8px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.galeria-imagenes video {
  height: 200PX;
  width: 200px;
  max-height: 400px;
  border-radius: 8px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.galeria-imagenes img:hover {
  transform: scale(1.05);
}




/* Overlay del lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
  cursor: default; /* 👈 Asegura que el mouse se vea */
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay video {
  max-width: 100PX;
  max-height: 100PX;
  border-radius: 12px;
  object-fit: contain;
}

/* Contenedor del contenido */
.lightbox-overlay > div {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Estilo para imagen y video */
.lightbox-overlay img,
.lightbox-overlay video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}





.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
}

.boton{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #fff;
  text-decoration-line: none;
}

.menu-btn {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0);
  color: white;
  cursor: pointer;
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.5s ease;
  z-index: 999;
}

.menu-overlay.active {
  right: 0;
}

.menu-overlay ul {
  list-style: none;
  text-align: center;
}

.menu-overlay li {
  font-size: 2rem;
  margin: 1rem 0;
  color: white;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: transform 0.2s ease;
}





.footer {
  position: relative;
  background-color: #000000;
  height: 100%;
  width: 100%;
  padding: 0;
}



.footer-redes {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-redes a {
  color: white;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.footer-redes a:hover {
  color: #ffb12b;
}

.footer-copy {
  font-size: 1rem;
  margin-top: 1rem;
  color: #ffffff;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 1024px) {

  .content{
    background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  width: 150%;
  }

.footer {
  position: relative;
  background-color: #000000;
  height: 100%;
  width: 100%;
  padding: 0;
}



}