* {
  margin: 0;
  padding: 0;
  font-family: "Lucida Grande", sans-serif;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
  user-select: none; /* Prevent selecting ui text when dragging */
}

html,
body {
  height: 100%;
}

body {
  /* Prevent pull-down-to-refresh gesture */
  overscroll-behavior-y: contain;

  /* Prevent iOS rubber-band effect */
  position: fixed;
  width: 100%;

  /* Prevent browser from handling touch events */
  touch-action: none;

  display: flex;
  flex-direction: column;
  justify-items: stretch;
  align-items: stretch;

  background: url("../img/bg-1.png") no-repeat bottom center,
    /* Image at bottom */ linear-gradient(to top, #0a0a8c, #0a0a5a); /* Gradient background */

  background-size: auto 40%, cover; /* Decrease height of image to 20% */
  background-repeat: no-repeat;
  background-attachment: fixed;

  /* animation: fadeBackground 6s infinite alternate; */

  border: 20px solid #ffffff; /* White border */
  box-sizing: border-box;
}

@keyframes fadeBackground {
  0% {
    opacity: 0.7; /* Slightly transparent */
  }
  50% {
    opacity: 1; /* Fully visible */
  }
  100% {
    opacity: 0.7; /* Fade back */
  }
}

.wheel-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.wheel-wrapper::after {
  content: "";
  position: absolute;
  top: 50%; /* Start strip from behind the wheel */
  left: 50%;
  width: 200px; /* Width of the white strip */
  height: calc(50% + 600px); /* Extend strip to bottom */
  background-color: #ffffff; /* White strip */
  transform: translateX(-50%);
  z-index: -1; /* Place it behind the wheel */
}
.title-intro {
  color: #fff;
  font-family: the-seasons, sans-serif;
  font-style: normal;
  font-size: 24px;
  text-align: center;
}

.quote-cont {
  padding: 20px 0px;
}
.quote-text-generic {
  font-size: 25px;
}
.quote-text {
  color: #fff;
  font-family: the-seasons, sans-serif;
  font-style: normal;
  text-align: center;
  line-height: 90%;
}
.quote-italics {
  color: #fff;
  font-family: the-seasons, sans-serif;
  font-style: italic;
  text-align: center;
  font-family: the-seasons, sans-serif;
  font-weight: 400;
  line-height: 90%;
}
.quote-person {
  color: #fab4b4;
  font-family: the-seasons, sans-serif;
  font-style: normal;
  font-size: 15px;
  text-align: center;
  padding-top: 20px;
}

.wheel-1 {
  height: 100%;
  width: 100%;
}

.wheel-2 {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0px;
}

button {
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 10px;
  max-width: 100px;
}

svg {
  position: absolute;
  top: 0px;
  height: 100%;
  width: 100%;
  color: magenta;
}

.the-seasons-bold {
  font-family: the-seasons, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.wheel-wrapper img.center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20%; /* Adjust size */
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Ignore clicks on the image */
}

.spin-button {
  vertical-align: top;
  width: 200px;
  display: inline-block; /* Ensure inline layout */
  margin: 0px auto 0; /* Center below the wheel */
  font-family: "the-seasons", sans-serif;
  font-size: 22px;
  font-weight: 400;
  background-color: #ffffff; /* No background */
  border: none; /* No border */
  text-align: center; /* Center-align the text */
  cursor: pointer;
  padding-bottom: 20vh;
}

.header-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Default for mobile screens */
}

.header-svg img {
  max-width: 100%;
  height: auto;
  width: 100%; /* Full width by default */
}

.header-splash {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Default for mobile screens */
}

.splash {
  width: 25px; /* Full width by default */
  height: auto;
}

/* For Medium Screens */
@media (min-width: 768px) {
  .quote-text-generic {
    font-size: 30px;
  }
  .quote-person {
    font-size: 20px;
  }
  .header-svg img {
    width: 75%; /* Reduce to 75% on medium screens */
  }
  .spin-button {
    padding-bottom: 0vh;
  }
  body {
    background-size: auto 60%, cover; /* Decrease height of image to 20% */
  }
}

/* For Large Screens */
@media (min-width: 1200px) {
  .quote-text-generic {
    font-size: 40px;
  }

  .quote-person {
    font-size: 20px;
  }
  .header-svg img {
    width: 40%; /* Reduce to 50% on large screens */
  }
  .spin-button {
    padding-bottom: 1vh;
  }
  body {
    background-size: auto 80%, cover; /* Decrease height of image to 20% */
  }
}
@keyframes sparkle {
  50% {
    opacity: 0.4;
    transform: scale(0.5);
    box-shadow: 0px 0px 10px 5px #ffffff5e;
  }
  50% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0px 0px 10px 5px white;
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
    box-shadow: 0px 0px 10px 5px #ffffff5e;
  }
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 4s infinite alternate;
}

.wheel-wrapper {
  position: relative;
  transition: transform 1s ease-out; /* Sliding effect */
}

.quote-container {
  opacity: 0; /* Start hidden for fade-in effect */
  text-align: center;
  transition: opacity 1s ease-in; /* Smooth fade-in */
}

.title-intro,
.spin-button {
  transition: opacity 1s ease-out; /* Smooth fade-out */
}
