@import url("https://fonts.googleapis.com/css2?family=Genos:ital,wght@0,100..900;1,100..900&family=Offside&display=swap");

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

h1 {
  font-family: Genos;
  margin-bottom: 40px;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
}

.galeria {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 80vh;
  gap: 10px;
}

.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  flex: 0.5;
  position: relative;
  transition: flex 0.7s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.panel.active::before {
  background: rgba(0, 0, 0, 0.1);
}

.panel-content {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out 0.4s;
}

.panel.active .panel-content {
  opacity: 1;
  transform: translateY(0);
}

.panel h3 {
  font-family: Genos;
  font-size: 34px;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #ff4b2b, #ff416c);
}

.panel.active {
  flex: 5;
}

/* Indicador de panel activo */
.panel.active::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #ff416c;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff416c;
}

/* Responsive para tablets */
@media (max-width: 768px) {
  .container {
    height: 70vh;
  }

  .panel h3 {
    font-size: 20px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* Responsive para móviles */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  .container {
    flex-direction: column;
    height: 90vh;
  }

  .panel {
    border-radius: 25px;
  }

  .panel h3 {
    font-size: 18px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }

  .panel-content {
    bottom: 20px;
  }
}

/* .icon {
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #e0a800;
}

.galeriatitle {
  font-size: 35px;
  margin-bottom: 50px;
  font-family: "Genos", sans-serif;
  color: #ffffff;
  text-align: center;
}

.galeria {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 80vh;
  gap: 10px;
}

.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  flex: 0.5;
  position: relative;
  transition: flex 0.7s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.panel h3 {
  font-size: 40px;
  font-family: "Genos", sans-serif;
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin: 0;
  opacity: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease-in 0.4s;
}

.panel.active {
  flex: 8;
}

.panel.active h3 {
  opacity: 1;
}

/* Responsive para tablets */
/* @media (max-width: 768px) {
  .container {
    height: 70vh;
  }

  .panel h3 {
    font-size: 18px;
    bottom: 15px;
    left: 15px;
  }
}

/* Responsive para móviles */
/* @media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  .container {
    flex-direction: column;
    height: 90vh;
  }

  .panel {
    border-radius: 25px;
  }

  .panel h3 {
    font-size: 16px;
    bottom: 10px;
    left: 10px;
  }
} */
