/* Reset and Base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', monospace;
  background: radial-gradient(circle at center, #453373 0%, #1B042E 100%);
  color: #ffffff;
  overflow-x: hidden;
  padding: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Nav */
.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(2px);
}

.navbar a {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem;
  transition: 0.3s;
}

.navbar a:hover {
  color: #66fcf1;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

/* Home */
.glitch {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  color: #66fcf1;
  z-index: -1;
}

.glitch::before {
  animation: glitchTop 1.5s infinite linear alternate-reverse;
}

.glitch::after {
  color: #ff0080;
  animation: glitchBot 1.5s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { clip-path: inset(0 0 90% 0); transform: translate(-2px, -2px); }
  100% { clip-path: inset(10% 0 80% 0); transform: translate(2px, 2px); }
}

@keyframes glitchBot {
  0% { clip-path: inset(80% 0 0 0); transform: translate(2px, -1px); }
  100% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 1px); }
}

.typewriter {
  border-right: 2px solid #66fcf1;
  white-space: nowrap;
  width: fit-content;
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #00ffec;
}

@keyframes typing {
  from { width: 0; }
  to { width: 20ch; }
}

/* Book */
.book-section {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  text-align: center; 
  gap: 2rem;
}

.book-image img {
  width: 250px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.book-image img:hover {
  transform: rotate(5deg) scale(1.05);
}

/* Buttons */
.glow-button {
  background-color: transparent;
  border: 2px solid #00ffec;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: #00ffec;
  margin-top: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;  
  justify-content: center;
}

.glow-button:hover {
  box-shadow: 0 0 10px #00ffec, 0 0 20px #00ffec;
  transform: scale(1.05);
}

/* Music */
.music-section {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  text-align: center; 
  gap: 8rem;
}

.behind-scenes {
  font-style: italic;
  margin-top: 1rem;
 
  color: #ffffff; 
}

.lyric-hover {
  color: #00ffec;
  transition: text-shadow 0.3s ease;
  cursor: pointer;
}

.lyric-hover:hover {
  text-shadow: 0 0 10px #fff;
}

/* Contact */
.contact-section h2 {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #888;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: auto;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.about-text {
  max-width: 800px; 
  text-align: center; 
  margin: 2rem auto; 
  padding: 1rem;
  line-height: 1.6;
  color: #ffffff;
}

.about-section h1 {
  margin-bottom: 1rem;
}

.gallery-section {
  text-align: center;
  padding: 2rem;
}

.gallery-container::-webkit-scrollbar {
  height: 8px;
}

.gallery-container::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 10px;
}

.gallery-container img {
  height: 200px;
  border-radius: 15px; /* Rounded corners */
  flex-shrink: 0; /* Prevents image from shrinking */
  transition: transform 0.3s ease;
}

.gallery-container img:hover {
  transform: scale(1.05);
}
