/* ====== Menú vertical ====== */
.menu-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  gap: 1rem;
}

.menu-vertical a {
  font-family: 'UnifrakturCook', cursive;
  display: flex;
  justify-content: center;
  width: 200px;
  padding: 1rem;
  background: #000000;
  border-radius: 8px;
  text-decoration: none;
  color: #cd0000;
  font-weight: bold;
  font-size: 1.8rem;
  transition: background 0.3s;
}

.menu-vertical a:hover {
  color: rgb(203, 0, 0);
}

#listaPoemas {
  list-style: none;
  padding: 0;
}

#listaPoemas li {
  padding: 0.5rem 0;
  cursor: pointer;
  transition: background 0.2s;
  
}

#listaPoemas li:hover {
  background: #f0f0f0;
}

.slider {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}

/* ====== Dots ====== */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: red;
}

/* ====== Lightbox ====== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px black;
  cursor: zoom-out;
}

/* ====== SWITCH DESLIZANTE ====== */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 1rem;
}

.switch input {
  display: none; /* ocultamos el checkbox */
}

.slider {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: #777;
  border-radius: 34px;
  transition: 0.4s;
  margin-right: 10px;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #500404; 
}

input:checked + .slider::before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.switch-label {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  font-family: sans-serif;
}