@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Slab:wght@100..900&display=swap");

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto Slab", serif;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  height: 100vh;
  color: #fff;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.loader-item-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.alert-message {
  position: relative;
  left: 25%;
  margin: 0;
}

.clickable {
  cursor: pointer;
}

.mail {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

/* Quiz Container */
.quiz-container {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  padding-top: 1%;
  padding-bottom: 10%;
  align-items: center;
  height: 100vh;
}

#quiz-info {
  background-color: blueviolet;
  color: #fff;
  padding-left: 2%;
  padding-right: 2%;
  padding-top: 1%;
  padding-bottom: 1%;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  width: 95%;
}

.question {
  text-align: center;
}

.choice {
  width: 90%;
}

.option {
  width: 100%;
}

/* Arrows */
.arrows-container {
  display: flex;
  justify-content: space-between;
  width: 50%;
}

.right-arrow,
.left-arrow {
  transition: transform 0.05s ease-in-out;
}

.right-arrow.activated,
.left-arrow.activated {
  cursor: pointer;
}

.right-arrow.deactivated img,
.left-arrow.deactivated img {
  opacity: 0.5; /* Makes the image appear faded */
  filter: grayscale(100%); /* Converts the image to grayscale */
  pointer-events: none; /* Prevents any interaction */
}

.right-arrow.deactivated,
.left-arrow.deactivated {
  cursor: none;
  pointer-events: none;
}

.right-arrow:active,
.left-arrow:active {
  transform: translateY(3px);
}

#view-results img {
  cursor: pointer;
}

#alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050; /* Above other elements */
  display: none;
}

/*Media Querie: Large Smartphone*/
@media screen and (max-width: 991px) {
  .nav-item .nav-link {
    display: inline-block;
  }
}

@media screen and (max-width: 680px) {
  .loader-items-container img {
    position: relative;
    left: 8%;
  }
  .nav-item .nav-link {
    display: inline-block;
  }
}
