body {
  background-image: url("images/Neon_Genesis_Evangelion_EVA_Unit_01-25584-483629627.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #ffffff;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
}

.btn-flotante {
  position: fixed;
  top: 10px;
  left: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.btn-flotante img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-flotante img:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

header {
  background-color: #2e7d32;
  color: #ffffff;
  padding: 10px 0;
  text-align: center;
}

main {
  padding: 20px;
}

footer {
  padding: 10px 0;
  background-color: #2e7d32;
  color: #ffffff;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

p {
  line-height: 1.6;
  color: #fdfdfd;
}

a {
  color: #ffeb3b;
}
a:visited {
  color: #ffcc00;
}

.dropdown-content {
  display: none;
  position: fixed;
  top: 50px;
  left: 20px;
  background-color: #5e1596;
  color: #ffffff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: right 0.3s ease;
  overflow-x: hidden;
  border-radius: 8px;
}

.dropdown-content a {
  color: #ffffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #7b1fa2;
  transform: scale(1.02);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.overlay-active::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.show {
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
  header,
  footer {
    font-size: 14px;
  }
}
.gallery button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.gallery button:focus {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.gallery button img {
  display: block;
  width: 100%;
  height: auto;
}
