/* Base styles and font */
body {
 background-color: #f0e1f1;
  background-image: url('Sm4.jpg');
  background-size: contain;
  background-repeat: repeat;
  font-family: 'Times New Roman', serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Sidebar styling */
.sidebar {
  width: 200px;
  background-color: rgba(255, 102, 204, 0.4); /* Changed to pastel pink with less opacity */
  padding: 20px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: #800080;
  box-shadow: 5px 5px 15px rgba(255, 102, 204, 0.7);
  text-align: center;
}

.sidebar a {
  display: block;
  margin: 10px 0;
  color: #800080;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: #ff66cc;
  text-decoration: underline;
  position: relative;
  animation: sparkle 1.5s infinite;
}

/* Main container to avoid sidebar overlap */
.main-container {
  margin-left: 220px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.4); /* More transparent white */
  min-height: 100vh;
}

/* Marquee text */
.marquee {
  width: 100%;
  background-color: #ffccf9;
  color: #800080;
  font-size: 1.5em;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-family: 'Courier New', monospace;
}

/* Headings */
h1 {
  font-size: 36px;
  color: #ff3399;
  text-align: center;
  font-style: italic;
  text-shadow: 2px 2px 4px #ff00ff;
  margin-top: 0;
}

/* Paragraphs */
p {
  font-size: 18px;
  color: #660066;
  line-height: 1.6;
  text-shadow: 1px 1px 3px #ff99cc;
}

/* Images */
img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border: 3px solid #ffc0cb;
  border-radius: 10px;
  box-shadow: 0 0 8px #ff99cc;
  transition: filter 0.3s ease-in-out;
}

img:hover {
  filter: drop-shadow(0 0 6px #ff99cc) drop-shadow(0 0 10px #ff66cc);
}

/* Sparkle animation for links */
@keyframes sparkle {
  0%, 100% {
    text-shadow:
      0 0 5px #ff99cc,
      0 0 10px #ff66cc,
      0 0 15px #ff33cc;
  }
  50% {
    text-shadow:
      0 0 12px #ffccff,
      0 0 20px #ff33cc,
      0 0 30px #ff99cc;
  }
}

/* Neon glowing links */
a:link, a:visited {
  color: #ffccff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff66cc;
  text-decoration: underline;
  animation: sparkle 1.5s infinite;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #f0e1f1;
  font-size: 16px;
}

/* Gallery specific styles */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 300px;
  margin: 10px;
  border: 3px solid #ffc0cb;
  border-radius: 10px;
  box-shadow: 0 0 8px #ff99cc;
  transition: filter 0.3s ease-in-out;
}

.gallery img:hover {
  filter: drop-shadow(0 0 8px #ffccff) drop-shadow(0 0 15px #ff66cc);
}

/* Music player styling */
.music-player {
  position: fixed;
  bottom: 10px;
  right: 10px;
  opacity: 0.7;
  z-index: 1000;
  width: 300px;
  height: 60px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  border-radius: 8px;
  overflow: hidden;
}

.sidebar {
  padding-top: 40px;
}

.box {
  border: 3px double #FF99FF;
  padding: 15px;
  margin: 10px;
  background-color: #330033;
}