* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  color: black;
  background-color: pink;
}

.Mainpage {
  width: 100%;
  height: 100vh;
  background-color: #ff257e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Mainpage .navbar {
  width: 50%;
  height: 50vh;
  background-color: #ffc5e6;
  background-color: #ff6cff;
  border-radius: 10px;
  border: 1.5px solid black;
  box-shadow: 2px 2px 10px black;
  transition: 0.5s ease;
  opacity: 1;
  z-index: 1;
  transition: 0.2s ease;
}

/* hide navbar when active */
.navbar.active {
  display: none;
}

.Mainpage .navbar:hover {
  box-shadow: 2px 2px 50px black;
}

.Mainpage .navbar .texts {
  width: 100%;
  height: 20vh;
  /* background-color: red; */
  align-items: center;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  text-shadow: 2px 2px 10px #e54e8a;
  margin-top: 30px;
}

.buttons {
  position: relative;
  width: 300px;
  height: 60px;
}

.Mainpage .navbar .buttons {
  width: 100%;
  height: 20vh;
  /* background-color: yellow; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#yesBtn {
  z-index: 2;
  width: 100px;
  height: 40px;
  /* margin: 30px; */
  border-radius: 15px;
  border: 2px solid wheat;
  background-color: #ff257e;
  color: wheat;
  font-weight: 500;
  transition: 0.5s ease;
  font-size: 16px;
}

#yesBtn:hover {
  box-shadow: 2px 3px 60px black;
  background-color: rgb(84, 211, 84);
  color: black;
}

#noBtn {
  z-index: 1;
  width: 100px;
  height: 40px;
  border-radius: 15px;
  border: 2px solid wheat;
  background-color: #ff257e;
  color: wheat;
  font-weight: 500;
  transition: 0.5s ease;
  font-size: 16px;
}

#noBtn:hover {
  box-shadow: 2px 3px 60px black;
  background-color: rgb(255, 4, 4);
  color: black;
}

.Mainpage .navbar .sty {
  display: flex;
  justify-content: center;
  align-items: center;
}

.heart {
  color: #ff0037;
  font-size: 25px;
  margin-top: 10px;
}

.hide {
  opacity: 0;
}

.Mainpage .thanks {
  width: 50%;
  height: 70vh;
  background-color: #ffc5e6;
  border-radius: 10px;
  border: 1.5px solid black;
  box-shadow: 2px 2px 10px black;
  transition: 0.5s ease;
  z-index: 2;
  display: none;
}

.thanks.active {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 50px black;
  flex-direction: column;
  text-shadow: 2px 2px 10px #ff2644;
}

.thanks .gif {
  width: 50%;
  height: 30vh;
  background-color: #fff;
  margin-top: 20px;
  background-image: url("images/giphy.gif");
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  box-shadow: 3px 3px 40px #ff257e;
}

.thanks .check {
  width: 100px;
  height: 8vh;
  margin-top: 40px;
  border-radius: 10px;
  border: 2px solid wheat;
  transition: 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  background-color: black;
  color: #ff257e;
}

.thanks .check:hover {
  border: 2px solid black;
  background-color: #ff257e;
  color: black;
  border-radius: 100px;
  box-shadow: 2px 2px 30px black;
}

.thanks .check:active {
  color: black;
}

/* letter */

.letter {
  width: 100%;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.letter.active {
  display: flex;
}

.letter .mainletter {
  width: 100%;
  height: 80vh;
  background-image: url("images/Untitled\ design\ \(1\).png");
}

.letter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/Untitled\ design\ \(1\).png");
  background-size: 100% 100%;
  filter: blur(1px);
  z-index: 1;
}

.letter .seeurmemories {
  width: 170px;
  height: 50px;
  background-color: gray;
  z-index: 2;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  color: wheat;
  font-size: 16px;
  border: 2px solid white;
  padding: 5px;
  transition: 0.4s ease;
}

.letter .seeurmemories:hover {
  box-shadow: 4px 4px 90px black;
  color: whitesmoke;
}

/*   Memories  */

.memories {
  width: 100%;
  height: 200vh;
  background-color: #ff257e;
  display: none;
}

.memories.active {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
}

.memories .headmem {
  margin-top: 20px;
}

.memories .pics {
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.memories .pics .images {
  width: 22%;
  height: 100%;
  border-radius: 10px;
}

.image1 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-10\ at\ 5.42.41\ PM.jpeg");
  background-size: cover;
  background-position: center;
}

.image2 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-06\ at\ 10.05.35\ PM.jpeg");
  background-size: cover;
  background-position: bottom;
}

.image3 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-07\ at\ 3.36.02\ PM.jpeg");
  background-size: cover;
  background-position: center;
}

.image4 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-07\ at\ 11.30.38\ AM\ \(1\).jpeg");
  background-size: cover;
  background-position: center;
}

.image5 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-07\ at\ 11.30.37\ AM\ \(1\).jpeg");
  background-size: cover;
  background-position: center;
}

.image6 {
  background-image: url("images/image.png");
  background-size: cover;
  background-position: center;
}

.image7 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-09\ at\ 10.18.08\ PM\ \(1\).jpeg");
  background-size: cover;
  background-position: center;
}

.image8 {
  background-image: url("images/WhatsApp\ Image\ 2026-02-09\ at\ 10.18.07\ PM.jpeg");
  background-size: cover;
  background-position: center;
}

.memories .pics .images {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.images:hover {
  box-shadow: 2px 2px 40px wheat;
}

/* Dark overlay */
.memories .pics .images .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s ease;
  flex-direction: column;
}

/* Text */
.memories .pics .images .overlay span {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  transform: translateY(15px);
  transition: 0.4s ease;
  color: wheat;
}

/* Hover effect */
.memories .pics .images:hover .overlay {
  opacity: 1;
}

.memories .pics .images:hover .overlay span {
  transform: translateY(0);
}

.memories .pics .images {
  background-size: 100%;
  transition: background-size 0.4s ease;
}

.memories .pics .images:hover {
  background-size: 110%;
}

.memories .date-btn button {
  width: 100px;
  height: 40px;
  border: 2px solid black;
  transition: 0.3s ease;
}

.memories .date-btn button:hover {
  width: 120px;
  height: 50px;
  font-size: 16px;
  box-shadow: black;
  background-color: wheat;
  box-shadow: 2px 2px 40px wheat;
}

/* Dates  */

.dates {
  width: 100%;
  height: 100vh;
  background-color: #ff257e;
  /* display: flex; */
  display: none;
  align-items: center;
  justify-content: center;
}

.dates.active {
  display: flex;
}

.dates .date-text {
  width: 35%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: red; */
  flex-direction: column;
  text-align: center;
  font-size: larger;
  color: wheat;
}

.dates .date-pics {
  width: 65%;
  height: 100%;
  /* background-color: blue; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.dates .date-pics .dp {
  width: 95%;
  height: 95vh;
  background-image: url("images/Untitled\ design\ \(1\).jpg");
  background-position: center;
  background-size: cover;
  border-radius: 30px;
  border: 1px solid transparent;
}

.dates .date-text .play-quiz-btn {
  width: 100px;
  height: 40px;
  font-size: medium;
  font-weight: 600;
  background-color: rgb(249, 206, 127);
  transition: 0.4s ease;
  border-radius: 3px;
  border: 1px solid black;
}

.dates .date-text .play-quiz-btn:hover {
  box-shadow: 2px 2px 60px black;
}

/*   Quiz   */

.quiz {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  background-color: #ff257e;
  min-height: 100vh;
  position: relative;
  display: none;
}

/*  Changed */
.quiz.active {
  display: block;
}

.quiz.hide {
  display: none;
}

.start-screen,
.score-container {
  position: absolute;
  inset: 0;
}

.wishbutton {
  box-shadow: 2px 2px 30px black;
  transition: 0.3s ease;
}

.wishbutton:hover {
  border-radius: 10px;
  box-shadow: 4px 4px 100px black;
}

/*  Wishes */
.wishes {
  display: flex;
  width: 100%;
  height: 100vh;
  background-color: #ff257e;
}

.wishes.active {
  display: flex;
}

.hide {
  display: none !important;
}

/*   change */

.spinbro {
  background-color: #34495e;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

.container {
  width: 500px;
  height: 500px;
  background-color: #ccc;
  border-radius: 50%;
  border: 15px solid #dde;
  position: relative;
  overflow: hidden;
  transition: transform 5s ease-in-out;
  transform-origin: 50% 50%;
}

.container {
  transform-origin: 50% 50%;
}

.container div {
  height: 50%;
  width: 200px;
  position: absolute;
  clip-path: polygon(100% 0, 50% 100%, 0 0);
  transform: translateX(-50%);
  transform-origin: bottom;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  font-family: sans-serif;
  color: #fff;
  left: 135px;
}

.container .one {
  background-color: #3f51b5;
  left: 50%;
}
.container .two {
  background-color: #ff9800;
  transform: rotate(45deg);
}
.container .three {
  background-color: #e91e63;
  transform: rotate(90deg);
}
.container .four {
  background-color: #4caf50;
  transform: rotate(135deg);
}
.container .five {
  background-color: #009688;
  transform: rotate(180deg);
}
.container .six {
  background-color: #795548;
  transform: rotate(225deg);
}
.container .seven {
  background-color: #9c27b0;
  transform: rotate(270deg);
}
.container .eight {
  background-color: #f44336;
  transform: rotate(315deg);
}

.arrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}

.arrow::before {
  content: "\1F817";
  font-size: 50px;
}

#spin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: #e2e2e2;
  text-transform: uppercase;
  border: 8px solid #fff;
  font-weight: bold;
  font-size: 20px;
  color: #a2a2a2;
  width: 80px;
  height: 80px;
  font-family: sans-serif;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  letter-spacing: 1px;
}

.container div {
  transform: translateX(-50%);
}

.spin-section {
  display: none; /*none*/
  min-height: 100vh;
  background-color: #ff257e;
}

.spin-section.active {
  display: flex;
}

.spin-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.spin-right {
  flex: 1;
  padding: 60px;
  color: #fff;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spin-right h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.spin-right p {
  font-size: 20px;
  line-height: 1.6;
}

.spin-right button {
  width: 200px;
  height: 30px;
  font-weight: 900;
  box-shadow: 2px 4px 10px black;
  transition: 0.3s ease;
  border-radius: 0px;
  background-color: wheat;
  color: black;
}

.spin-right button:hover {
  width: 250px;
  height: 40px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .spin-section {
    flex-direction: column;
  }
}

#results {
  margin-top: 20px;
}

.result-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  font-size: 20px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* her */
.her.active{
  display: flex;
} 

.her {
  position: relative;
  display: none;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  padding: 0 5%;
  overflow: hidden;
}


.her::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/WhatsApp\ Image\ 2026-02-07\ at\ 9.12.28\ PM\ \(1\).jpeg');
  background-position: center left;
  background-size: cover;
  filter: blur(2px);
  transform: scale(1.1); /* prevents edge cutting after blur */
  z-index: -1;
}


.rightside {
  width: 50%;
  min-height: 500px;
   
  color: white; 
  padding: 20px;
  border-radius: 10px;
  background-color: transparent;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.rightside .up{
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #f309e3;
}

.rightside .down{
  width: 70%;
  height: 40vh;
  background-position: center;
  background-size: cover;
  background-image:url('images/promise.gif') ;
}

.leftside{
  width: 40%;
  min-height: 300px;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent */
  color: white;
  padding: 20px;
  border-radius: 10px;
  background-image: url('images/WhatsApp\ Image\ 2026-02-12\ at\ 7.25.41\ PM.jpeg');
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.up h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* When active */
.up.show h2 {
  opacity: 1;
  transform: translateY(0);
}

/* Delay each line */
.up.show h2:nth-child(1) { transition-delay: 0.2s; }
.up.show h2:nth-child(2) { transition-delay: 0.6s; }
.up.show h2:nth-child(3) { transition-delay: 1s; }
.up.show h2:nth-child(4) { transition-delay: 1.4s; }
.up.show h2:nth-child(5) { transition-delay: 1.8s; }
