/* General layout */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
  background: transparent !important;
  min-height: 100vh;
  
}

#hydra-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  display: block;
}

.main-nav {
  position: sticky;
  top: 0;
  width: 90vw;
  background: rgba(0,0,0,0.7);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5vw 18px 5vw;
  z-index: 10;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
}
.main-nav .logo {
  font-size: 2rem;
  color: #0ff;
  letter-spacing: 2px;
}
.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: white;
  text-decoration: none;
  font-family: inherit;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #0ff;
}

.banner {
  margin: 60px auto 40px auto;
  text-align: center;
  color: #fff;
  z-index: 2;
  position: relative;
}
.banner h1 {
  font-size: 2.5rem;
  color: #0ff;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #0ff, 0 0 2px #fff;
  margin-bottom: 0.5em;
}
.banner p {
  font-size: 1.2rem;
  margin: 0;
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  z-index: 2;
  position: relative;
}

.cards-section, .equipo-section, .contacto-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.cards-section h2, .equipo-section h2, .contacto-section h2 {
  color: #0ff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
  justify-content: center;
  width: 100%;
}
.card {
  background: rgba(20,20,20,0.85);
  color: #fff;
  padding: 32px 20px 24px 20px;
  border-radius: 18px;
  width: 800px;
  min-height: 620px;
  font-size: 1.08rem;
  line-height: 1.6;
  box-shadow: 0 4px 24px 2px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  position: relative;
}
.card img {
  width: 100%;
  border-radius: 18px 18px 0 0;
  margin-bottom: 24px;
  object-fit: cover;
  max-height: 400px;
}
.card h3 {
  margin: 12px 0 8px 0;
  color: #0ff;
  font-size: 1.2rem;
}

.equipo-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.miembro {
  background: rgba(30,30,30,0.85);
  border-radius: 14px;
  padding: 24px 16px;
  width: 220px;
  text-align: center;
  box-shadow: 0 2px 12px 2px rgba(0,255,255,0.08);
  color: #fff;
  z-index: 2;
}
.miembro img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #0ff;
}
.miembro h4 {
  margin: 0 0 4px 0;
  color: #0ff;
}
.miembro p {
  color: #ccc;
  font-size: 1rem;
}

.contacto-section ul.redes {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 18px;
  justify-content: center;
}
.contacto-section ul.redes li a {
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
.contacto-section ul.redes li a:hover {
  color: #fff;
  text-shadow: 0 0 8px #0ff;
}

@media (max-width: 900px) {
  .main-nav { flex-direction: column; gap: 12px; padding: 14px 0 8px 0; }
  .main-nav ul { flex-direction: column; gap: 8px; }
  .banner h1 { font-size: 1.5rem; }
  .cards-container { flex-direction: column; gap: 24px; }
  .card { width: 98vw; min-width: 0; max-width: 100vw; }
  .equipo-container { flex-direction: column; gap: 18px; }
}

/* Carrusel de proyectos */
.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80vw;
  max-width: 1600px;
  max-height: 900px;
  margin: 0 auto;
  left: 0px;
  position: relative;
  
  gap: 0;
}
.carousel-track {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
}
.carousel-track .card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  transition: opacity 0.4s;
  padding: 56px 48px 40px 48px;
  font-size: 1.35rem;
  min-height: 900px;
}
.carousel-btn {
  background: rgba(0,0,0,0.6);
  color: #0ff;
  border: none;
  font-size: 2.2rem;
  padding: 0 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
  height: 56px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-btn:hover {
  background: rgba(0,255,255,0.18);
}
@media (max-width: 600px) {
  .carousel-container { max-width: 98vw; }
  .carousel-track .card { max-width: 98vw; }
  .carousel-btn { font-size: 1.5rem; height: 40px; width: 40px; }
}
@media (max-width: 1100px) {
  .carousel-container {
    width: 98vw;
    max-width: 98vw;
  }
  .carousel-track .card {
    width: 98vw;
    max-width: 98vw;
    padding: 24px 4vw 24px 4vw;
    font-size: 1.08rem;
    min-height: 500px;
  }
  .card img {
    max-height: 180px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 16px;
  }
}