* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

.container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("bg-image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.container .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  height: auto;
  width: 90%;
  max-width: 700px;
  border-radius: 20px;
  padding: 16px 14px;
  gap: 15px;
}

.card .ques-sec {
  display: flex;
  /* display: none; */
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  font-family: "Poetsen One", sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 200;
  background-color: #a368fe;
  color: white;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: center;
}

.card .opts-sec {
  display: flex;
  /* display: none; */
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  width: 100%;
  height: 40%;
  margin: 0;
}

.options {
  background-color: white;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
  font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
}

.next {
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  margin-top: 4px;
  cursor: pointer;
  border: none;
  background-color: #4ddb13;
  color: white;
}

.scorepage {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.scorepage h1 {
  font-family: "Poetsen One", sans-serif;
  font-size: clamp(30px, 3.5vw, 35px);
  font-weight: 100;
  text-decoration: #a368fe wavy underline;
  text-align: center;
}

.messageSec {
  width: 100%;
  text-align: center;
}

.title {
  position: relative;
  font-size: clamp(30px, 2.5vw, 35px);
  font-weight: 900;
  color: white;
  background-color: black;
  border-radius: 10px;
  padding: 10px;
  z-index: 1;
}

.message {
  font-size: clamp(20px, 1.8vw, 25px);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  background-color: #a368fe;
  color: white;
  border-radius: 10px;
  padding: 20px 10px 10px 10px;
  margin-top: -12px;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 15px;
  background-color: rgb(255, 129, 154);
  padding: 20px 8px;
  width: 100%;
}

.circlesCont {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.circle1,
.circle2,
.circle3 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  width: clamp(70px, 12vw, 85px);
  aspect-ratio: 1;
  font-size: clamp(25px, 2.5vw, 30px);
  font-weight: bold;
}

.textSec {
  display: flex;
  justify-content: space-around;
  width: 100%;
  text-align: center;
  color: black;
}

.textSec h5 {
  font-size: clamp(15px, 1.5vw, 20px);
  width: 50%;
}

.restart-btn {
  font-size: clamp(20px, 2vw, 25px);
  padding: 8px 20px;
  border-radius: 25px;
  border: 2px solid black;
  color: white;
  background: #ff1493;
  cursor: pointer;
  flex-shrink: 0;
}

/* Animations */
@keyframes dropDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.title {
  opacity: 0;
  animation: dropDown 0.3s ease-out 0.2s forwards;
}

.message {
  opacity: 0;
  animation: dropDown 0.3s ease-out 0.5s forwards;
}

.box {
  opacity: 0;
  animation: dropDown 0.3s ease-out 0.8s forwards;
}

.restart-btn {
  opacity: 0;
  animation: popIn 0.3s ease-out 1.1s forwards;
}

/* @media screen and (max-height: 900px) {
  .container .card {
    height: 80%;
    gap: 10px;

    padding: 10px 0;
  }

  .card .ques-sec {
    font-size: 20px;
  }

  .card .opts-sec {
    margin: 10px 0;
    gap: 5px;
    height: 50%;
  }

  .circlesCont {
    gap: 15px;
  }
  .circle1,
  .circle2,
  .circle3 {
    height: 80px;
    width: 80px;
    font-size: 25px;
  }

  .textSec {
    font-size: 18px;
  }
} */
