* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DynaPuff', cursive;
  background-color: #ffa7dd;
  color: #333;
  scroll-behavior: smooth;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 12 12, auto;
}

section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffa7dd;
}

.hero {
  position: relative;
  padding-top: 60px;
}

h1, h2, h3 {
  font-weight: 600;
  color: #F7F1FC;
  text-align: center;
}

#heroHeading {
  font-size: 4.2em;
}

#messageHeading {
  font-size: 3.3em;
}

#voiceHeading {
  font-size: 3.0em;
}

#letterHeading {
  font-size: 2.3em;
}

p {
  font-size: 1.2em;
  max-width: 600px;
  text-align: center;
  line-height: 1.8;
  color: #F7F1FC;
}

img, video {
  margin-top: 20px;
  border-radius: 16px;
  box-shadow: none;
  height: auto;
}

#heroImg {
  max-width: 30%;
}

#messageImg {
  max-width: 45%;
}

#voiceVideo {
  max-width: 53%;
}

#letterImg {
  max-width: 20%;
}

.contact {
  background-color: #ffa7dd;
  border: none;
  padding-bottom: 100px;
}

.contact h3 {
  color: #F7F1FC;
}

.contact p {
  font-size: 1.1em;
}

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 1.0em;
  color: #F7F1FC;
  font-family: 'Georgia', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright-info {
  font-size: 0.8em;
  margin-top: 10px;
  opacity: 0.8;
}

.message, .voice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.content-text {
  max-width: 45%;
  text-align: left;
}

.content-text h2,
.content-text p {
  text-align: left;
}

@media (max-width: 768px) {
  .message, .voice {
    flex-direction: column;
  }

  #heroImg,
  #messageImg,
  #voiceVideo,
  #letterImg,
  .content-text {
    max-width: 90%;
  }

  .content-text h2,
  .content-text p {
    text-align: center;
  }

  section {
    padding: 60px 15px;
  }

  #heroHeading {
    font-size: 2.5em;
  }

  #messageHeading,
  #voiceHeading,
  #letterHeading {
    font-size: 2.0em;
  }

  p {
    font-size: 1.1em;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.spotify-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  max-width: 100%;
}

.spotify-container iframe {
  width: 250px;
}

@media (max-width: 768px) {
  .spotify-container {
    flex-direction: column;
    gap: 15px;
  }

  .spotify-container iframe {
    width: 90%;
    height: 152px;
  }
}

#darkModeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

body.dark {
  background-color: #18053e;
  color: #eee;
}

body.dark h1, 
body.dark h2, 
body.dark p, 
body.dark footer {
  color: #fce4ec;
}

body.dark .contact {
  background-color: #1a042f;
}

body.dark #darkModeToggle {
  color: #ffa7dd;
}

section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffa7dd;
}

body.dark section {
  border-bottom: 1px solid #18053e;
}

.secret-message-container {
  text-align: center;
  margin: 60px 20px;
}

#revealButton {
  background-color: transparent;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}

#revealButton:hover {
  transform: scale(1.1);
}

#hiddenMessage {
  display: none;
  margin-top: 20px;
  font-size: 1.1em;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  line-height: 1.6;
}

.background-music {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 140px;
  padding: 3px 7px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  font-family: 'DynaPuff', cursive;
  user-select: none;
  z-index: 10;
}

.audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.audio-controls button {
  font-size: 1.0rem;
  padding: 3px 5px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: #ffa7dd;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.15s ease;
  box-shadow: none;
}

.audio-controls button:hover,
.audio-controls button:focus {
  color: #ff8acb;
  transform: scale(1.1);
  outline: none;
}

.audio-controls input[type='range'] {
  width: 40px;
  cursor: pointer;
  accent-color: #ffa7dd;
  height: 2px;
  border-radius: 5px;
  background: transparent;
}

#darkModeToggle, #heartToggle {
  transition: transform 0.2s ease;
  transform-origin: center;
}

#darkModeToggle:hover, #heartToggle:hover {
  transform: scale(1.5);
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DynaPuff', cursive;
  background-color: #ffa7dd;
  color: #333;
  scroll-behavior: smooth;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 12 12, auto;
}

section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffa7dd;
}

.hero {
  position: relative; 
  padding-top: 60px; 
}

h1, h2, h3 {
  font-weight: 600;
  color: #F7F1FC;
  text-align: center;
}

#heroHeading {
  font-size: 4.2em;
}

#messageHeading {
  font-size: 3.3em;
}

#voiceHeading {
  font-size: 3.0em;
}

#letterHeading {
  font-size: 2.3em;
}

p {
  font-size: 1.2em;
  max-width: 600px;
  text-align: center;
  line-height: 1.8;
  color: #F7F1FC;
}

img, video {
  margin-top: 20px;
  border-radius: 16px;
  box-shadow: none;
  height: auto;
}

#heroImg {
  max-width: 30%;
}

#messageImg {
  max-width: 45%;
}

#voiceVideo {
  max-width: 53%;
}

#letterImg {
  max-width: 20%;
}

.contact {
  background-color: #ffa7dd;
  border: none;
  padding-bottom: 100px;
}

.contact h3 {
  color: #F7F1FC;
}

.contact p {
  font-size: 1.1em;
}

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 1.0em;
  color: #F7F1FC;
  font-family: 'Georgia', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright-info {
  font-size: 0.8em;
  margin-top: 10px;
  opacity: 0.8;
}

.message, .voice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.content-text {
  max-width: 45%;
  text-align: left;
}

.content-text h2,
.content-text p {
  text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .message, .voice {
    flex-direction: column;
  }

  #heroImg,
  #messageImg,
  #voiceVideo,
  #letterImg,
  .content-text {
    max-width: 90%;
  }

  .content-text h2,
  .content-text p {
    text-align: center;
  }

  section {
    padding: 60px 15px;
  }

  #heroHeading {
    font-size: 2.5em;
  }

  #messageHeading,
  #voiceHeading,
  #letterHeading {
    font-size: 2.0em;
  }

  p {
    font-size: 1.1em;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.spotify-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  max-width: 100%;
}

.spotify-container iframe {
  width: 250px;
}

@media (max-width: 768px) {
  .spotify-container {
    flex-direction: column;
    gap: 15px;
  }

  .spotify-container iframe {
    width: 90%;
    height: 152px;
  }
}

#darkModeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

body.dark {
  background-color: #18053e;
  color: #eee;
}

body.dark h1, 
body.dark h2, 
body.dark p, 
body.dark footer {
  color: #fce4ec;
}

body.dark .contact {
  background-color: #1a042f;
}

body.dark #darkModeToggle {
  color: #ffa7dd;
}

section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffa7dd;
}

body.dark section {
  border-bottom: 1px solid #18053e;
}

.secret-message-container {
  text-align: center;
  margin: 60px 20px;
}

#revealButton {
  background-color: transparent;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}

#revealButton:hover {
  transform: scale(1.1);
}

#hiddenMessage {
  display: none;
  margin-top: 20px;
  font-size: 1.1em;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  line-height: 1.6;
}

.background-music {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 140px;
  padding: 3px 7px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  font-family: 'DynaPuff', cursive;
  user-select: none;
  z-index: 10;
}

.audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.audio-controls button {
  font-size: 1.0rem;
  padding: 3px 5px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: #ffa7dd;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.15s ease;
  box-shadow: none;
}

.audio-controls button:hover,
.audio-controls button:focus {
  color: #ff8acb;
  transform: scale(1.1);
  outline: none;
}

.audio-controls input[type='range'] {
  width: 40px;
  cursor: pointer;
  accent-color: #ffa7dd;
  height: 2px;
  border-radius: 5px;
  background: transparent;
}

#darkModeToggle, #heartToggle {
  transition: transform 0.2s ease;
  transform-origin: center;
}

#darkModeToggle:hover, #heartToggle:hover {
  transform: scale(1.5);
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DynaPuff', cursive;
  background-color: #ffa7dd;
  color: #333;
  scroll-behavior: smooth;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 12 12, auto;
}

section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffa7dd;
}

.hero {
  position: relative;
  padding-top: 60px; 
}

h1, h2, h3 {
  font-weight: 600;
  color: #F7F1FC;
  text-align: center;
}

#heroHeading {
  font-size: 4.2em;
}

#messageHeading {
  font-size: 3.3em;
}

#voiceHeading {
  font-size: 3.0em;
}

#letterHeading {
  font-size: 2.3em;
}

p {
  font-size: 1.2em;
  max-width: 600px;
  text-align: center;
  line-height: 1.8;
  color: #F7F1FC;
}

img, video {
  margin-top: 20px;
  border-radius: 16px;
  box-shadow: none;
  height: auto;
}

#heroImg {
  max-width: 30%;
}

#messageImg {
  max-width: 45%;
}

#voiceVideo {
  max-width: 53%;
}

#letterImg {
  max-width: 20%;
}

.contact {
  background-color: #ffa7dd;
  border: none;
  padding-bottom: 100px;
}

.contact h3 {
  color: #F7F1FC;
}

.contact p {
  font-size: 1.1em;
}

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 1.0em;
  color: #F7F1FC;
  font-family: 'Georgia', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright-info {
  font-size: 0.8em;
  margin-top: 10px;
  opacity: 0.8;
}

.message, .voice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.content-text {
  max-width: 45%;
  text-align: left;
}

.content-text h2,
.content-text p {
  text-align: left;
}

@media (max-width: 768px) {
  .message, .voice {
    flex-direction: column;
  }

  #heroImg,
  #messageImg,
  #voiceVideo,
  #letterImg,
  .content-text {
    max-width: 90%;
  }

  .content-text h2,
  .content-text p {
    text-align: center;
  }

  section {
    padding: 60px 15px;
  }

  #heroHeading {
    font-size: 2.5em;
  }

  #messageHeading,
  #voiceHeading,
  #letterHeading {
    font-size: 2.0em;
  }

  p {
    font-size: 1.1em;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.spotify-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  max-width: 100%;
}

.spotify-container iframe {
  width: 250px;
}

@media (max-width: 768px) {
  .spotify-container {
    flex-direction: column;
    gap: 15px;
  }

  .spotify-container iframe {
    width: 90%;
    height: 152px;
  }
}

#darkModeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

body.dark {
  background-color: #18053e;
  color: #eee;
}

body.dark h1, 
body.dark h2, 
body.dark p, 
body.dark footer {
  color: #fce4ec;
}

body.dark .contact {
  background-color: #1a042f;
}

body.dark #darkModeToggle {
  color: #ffa7dd;
}

section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ffa7dd;
}

body.dark section {
  border-bottom: 1px solid #18053e;
}

.secret-message-container {
  text-align: center;
  margin: 60px 20px;
}

#revealButton {
  background-color: transparent;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}

#revealButton:hover {
  transform: scale(1.1);
}

#hiddenMessage {
  display: none;
  margin-top: 20px;
  font-size: 1.1em;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  line-height: 1.6;
}

.background-music {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 140px;
  padding: 3px 7px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  font-family: 'DynaPuff', cursive;
  user-select: none;
  z-index: 10;
}

.audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.audio-controls button {
  font-size: 1.0rem;
  padding: 3px 5px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: #ffa7dd;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.15s ease;
  box-shadow: none;
}

.audio-controls button:hover,
.audio-controls button:focus {
  color: #ff8acb;
  transform: scale(1.1);
  outline: none;
}

.audio-controls input[type='range'] {
  width: 40px;
  cursor: pointer;
  accent-color: #ffa7dd;
  height: 2px;
  border-radius: 5px;
  background: transparent;
}

#darkModeToggle, #heartToggle {
  transition: transform 0.2s ease;
  transform-origin: center;
}

#darkModeToggle:hover, #heartToggle:hover {
  transform: scale(1.5);
}

#volumeControl {
  -webkit-appearance: none;
  width: 100px;
  height: 6px;
  background: pink;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

#volumeControl::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 2px solid #fce4ec;
}

#volumeControl::-moz-range-track {
  background: pink;
  height: 6px;
  border-radius: 5px;
}
#volumeControl::-moz-range-thumb {
  background: white;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #fce4ec;
  cursor: pointer;
}

#fortuneWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 200px;
  margin: 20px;
}

#fortuneText {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #fff;
  font-style: italic;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.why-i-like-you {
  text-align: center;
  padding: 100px 20px;
  background: #ffa7dd;
  font-family: 'DynaPuff', cursive;
  color: #F7F1FC;
  min-height: 69vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-i-like-you h2 {
  font-size: 3.3rem;
  margin-bottom: 50px;
}

.facts-carousel {
  position: relative;
  font-size: 1.7rem;
  height: 150px; 
  margin-bottom: 25px;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fact {
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.fact.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}



.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.carousel-controls button {
  background-color: #ffa7dd;
  border: none;
  border-radius: 8px;
  color: #f1edef;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px 14px;
  transition: transform 0.2s ease;
}

.carousel-controls button:hover {
  transform: scale(1.1);
}

.carousel-controls button#prevFact,
.carousel-controls button#nextFact {
  display: none;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 2px;
}

.dot {
  width: 14px;
  height: 14px;
  background-color: #f8bbd0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
}

.dot.active {
  background-color: #F7F1FC;
  opacity: 1;
}

.canvas {
  background-color: #ffa7dd;
  color: #fff0f6;
  text-align: center;
  padding: 100px 20px;
  min-height: 50vh;
}

.canvas h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.drawing-controls {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.drawing-controls input[type="color"],
.drawing-controls input[type="range"] {
  cursor: pointer;
}

.drawing-controls button {
  background-color: #ffa7dd;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'DynaPuff', cursive;
  cursor: pointer;
  color: white;
  font-size: 1.23rem;
  transition: transform 0.2s ease;
}

.drawing-controls button:hover {
  transform: scale(1.1);
}

#drawingCanvas {
  border: 2px solid #fff0f6;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(255, 167, 221, 0.4);
  touch-action: none;
}

#brushSize::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #ff69b4;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
}

#brushSize::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #ff69b4;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
}

#brushSize {
  accent-color: #ffe4f2;
  background: #ffe4f2;
  height: 6px;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

body.dark #drawArea {
  background-color: #18053e;
  border: 2px solid #fce4ec;
}

body.dark canvas {
  background-color: #18053e;
  border: 2px dashed #fce4ec;
}

body.dark #brushSize {
  background: #3a104c;
}

body.dark #brushSize::-webkit-slider-thumb,
body.dark #brushSize::-moz-range-thumb {
  background: #fce4ec;
  border: 2px solid #fff;
}

body.dark .canvas {
  background-color: #18053e;
  color: #fce4ec;
}

body.dark .drawing-controls button {
  background-color: #18053e;
  color: #fce4ec;
}

body.dark canvas {
  background-color: #18053e;
  border: 2px dashed #ffb6d9;
}

body.dark .why-i-like-you {
  background-color: #18053e;
  color: #fce4ec;
}

body.dark .fact {
  color: #fce4ec;
}

body.dark .carousel-controls button {
  background-color: #18053e;
  color: #ffa7dd;
}

body.dark .dot {
  background-color: #fce4ec;
}

body.dark .dot.active {
  background-color: #fce4ec;
}

.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #ffa7dd;
  font-family: 'DynaPuff', cursive;
}

.login-container {
  text-align: center;
  background: #ffa7dd;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: n;
}

.login-container input {
  padding: 10px;
  width: 80%;
  margin-top: 10px;
  border: 2px solid #ffa7dd;
  border-radius: 8px;
  font-size: 1rem;
}

.login-container button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #ffa7dd;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'DynaPuff', cursive;
}

.login-container button:hover {
  background: #ffa7dd;
}

.error-message {
  color: red;
  margin-top: 10px;
  font-size: 0.9rem;
}

#logoutBtn {
  background: #ffa7dd;     
  border: 2px solid #fff0f6; 
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

#logoutBtn:hover {
  background: #ff6a9b;    
  color: #fff0f6;        
  border-color: #ff90b3;  
}


.letters-section {
  padding: 60px 20px;
  background-color: #ffa7dd;
  text-align: center;
}

.letters-section h2 {
  font-family: 'DynaPuff', cursive;
  font-size: 2.7em;
  color: #F7F1FC;
  margin-bottom: 20px;
}

.letter-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.letter-images {
  position: relative;
  background: #ffe4f2;
  min-height: 40vh;
}

.letter {
  display: none !important;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: opacity 0.4s ease-in-out;
  background: #fff;
}

.letter.active {
  display: block !important;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffa7dd;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  color: #fce4ec;
  border-radius: 50%;
  box-shadow: none;
}

.carousel-btn:hover {
  background-color: #eea1be;
}

.carousel-btn.prev {
  left: -50px;
}

.carousel-btn.next {
  right: -50px;
}

/* Dark mode for letters carousel section */
body.dark .letters-section {
  background-color: #18053e;
}
body.dark .letters-section h2 {
  color: #fce4ec;
}
body.dark .letter-carousel {
  background: transparent;
}
body.dark .letter {
  background: #2a1850;
  box-shadow: 0 4px 20px rgba(252, 228, 236, 0.13);
}
body.dark .carousel-btn {
  background-color: #2a1850;
  color: #ffa7dd;
}
body.dark .carousel-btn:hover {
  background-color: #3a104c;
}

/* Letter title styling for the letters carousel */
.letter-title {
  margin-top: 18px;
  color: #F7F1FC;
  font-size: 1.4em;
  font-family: 'DynaPuff', cursive;
  text-align: center;
}

body.dark .letter-title {
  color: #fce4ec;
}