html, body, a, button {
  cursor: url('/cur/Cinnamoroll.png') 0 0, auto !important;
}


body {
  background: url('https://images.alphacoders.com/133/1339211.png');
  /* Hello Kitty tile bg */
  background-repeat: no-repeat;
  background-size: cover;
  /* or use 'contain' or '100% 100%' */
  background-position: center center;
  background-attachment: fixed;
  font-family: 'Comic Sans MS', cursive;
  color: #ff69b4;
  text-align: center;
  margin: 0;
  padding: 0;
}

.container {
  background-color: rgba(255, 255, 255, 0.9);
  margin: 50px auto;
  width: 800px;
  padding: 20px;
  border: 5px dashed #ffb6c1;
}

h1 {
  color: #ff1493;
  text-shadow: 2px 2px #fff0f5;
  font-size: 40px;
}

marquee {
  font-size: 18px;
  color: #ff69b4;
  background-color: #fff0f5;
  padding: 5px;
  border: 2px dotted #ff1493;
  margin-bottom: 10px;
}

.nav {
  margin: 15px 0;
}

.nav a {
  text-decoration: none;
  font-weight: bold;
  color: #ff1493;
  margin: 0 15px;
}

img.glitter {
  width: 200px;
  margin: 10px;
}

.content {
  margin-top: 20px;
}

footer {
  position: fixed;
  bottom: 0;
}

.Webrings {
  font-size: 30px;
}

.audioControls {
  position: fixed;
  bottom: 0;
  right: 0;
  padding-right: 12px;
}

.topGifs {

  font-size: 40px;
  padding: 10px;
  display: block;

  background-image: url('https://media.giphy.com/media/jHE17mC6v5ogU/200.gif');
  background-repeat: repeat-x;
  background-size: auto 100%;
  /* Maintain aspect ratio and fit vertically */
  background-position: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 192, 203, 0.5);
}

.modal-content {
  background-color: #fff0f8;
  margin: 10% auto;
  padding: 20px;
  border: 2px solid pink;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 20px hotpink;
  text-align: center;
}

.modal-content input,
.modal-content textarea {
  width: 90%;
  margin: 10px 0;
  padding: 8px;
  border: 1px solid hotpink;
  border-radius: 8px;
  background: #fffafc;
  font-family: "Comic Sans MS", cursive;
}

.modal-content button {
  background-color: pink;
  color: white;
  border: 2px solid hotpink;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Comic Sans MS", cursive;
}

.close {
  float: right;
  font-size: 28px;
  color: hotpink;
  cursor: pointer;
}

.guestbook-button {
  background-color: pink;
  color: white;
  border: 2px solid hotpink;
  border-radius: 12px;
  padding: 10px 20px;
  font-family: "Comic Sans MS", cursive;
  margin-bottom: 20px;
  cursor: pointer;
}

.content-area {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.content {
  flex: 1;
  min-width: 250px;
  background: #ffeef8;
  border: 2px dashed hotpink;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(255, 105, 180, 0.2);
}

.main-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.container {
  flex: 1;
  min-width: 300px;
}

.guestbook-entries {
  flex: 0.8;
  min-width: 300px;
  background: #fff0f6;
  border: 2px dashed #ff69b4;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(255, 192, 203, 0.3);
}

.entry-box {
  background: #fffafc;
  border: 1px solid pink;
  border-radius: 12px;
  padding: 10px 15px;
  margin-bottom: 15px;
  box-shadow: 2px 2px 4px rgba(255, 192, 203, 0.4);
}

.entry-box p {
  margin: 5px 0;
  font-family: "Comic Sans MS", cursive;
}

.entry-box .date {
  font-size: 0.8em;
  color: #888;
  text-align: right;
}

img#base {
  position: fixed;
  bottom: 0;
}

#heart {
  font-size: 100px;
  animation: pulse 1s infinite;
  transform-origin: center;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.2);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.heart1 {
  position: fixed;
  padding-top: 37px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  justify-content: center;
}

.gallery img {
  width: 150px;
  height: auto;
  border: 4px dashed hotpink;
  background: white;
  padding: 4px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 192, 203, 0.8);
  /* pinkish overlay */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 6px solid hotpink;
  border-radius: 10px;
  background: white;
}

.lightbox.active {
  display: flex;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid hotpink;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}