@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400&family=Syne:wght@600;700&display=swap");

h1,
h2,
h3,
h4,
h5,
h6 {
  color: rgba(255, 255, 255, 0.83);
  font-family: "Syne";
  font-weight: 400;
}

p {
  color: rgba(255, 255, 255, 0.83);
  font-family: "Inter";
  font-weight: 300;
  font-size: 16px;
}

text {
  fill: white;
  opacity: 0.83;
  font-family: "Inter";
}

body {
  background: #242635;
  padding: 5vh;
}

.sticky-top {
  top: 2em;
}

.step {
  margin-bottom: 100px;
  height: 650px;
  text-align: left;
}

.x-axis-label,
.winner-chart-label,
.allContestantDotLegend-label,
.allContestantCirclesSeasonLabels {
  fill: white;
  font-family: "Inter";
  font-weight: 300;
}

.chart-label {
  fill: white;
  font-size: 13px;
  font-family: "Inter";
  font-weight: 300;
}

.x-axis axis {
  fill: white;
}

table {
  font-family: "Inter";
  font-weight: 300;
  background-color: #c8bafb;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 160px;
  display: block;
  text-align: center;
  font-size: 20px;
  z-index: 100;
  text-decoration: none;
  text-shadow: 0;
  width: 50px;
  height: 50px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  z-index: 9;
  left: 50%;
  -webkit-transform: translate(-50%, 0%) rotate(45deg);
  -moz-transform: translate(-50%, 0%) rotate(45deg);
  transform: translate(-80%, 0%) rotate(45deg);
  -webkit-animation: fade_move_down 3s ease-in-out infinite;
  -moz-animation: fade_move_down 3s ease-in-out infinite;
  animation: fade_move_down 2s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
  0% {
    -webkit-transform: translate(0, -10px) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(0, 30px) rotate(45deg);
    opacity: 0;
  }
}
@-moz-keyframes fade_move_down {
  0% {
    -moz-transform: translate(0, -10px) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(0, 30px) rotate(45deg);
    opacity: 0;
  }
}
@keyframes fade_move_down {
  0% {
    transform: translate(0, -10px) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 30px) rotate(45deg);
    opacity: 0;
  }
}

#app {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.doors {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.door {
  background: #fafafa;
  margin: 10px;
  width: 100px;
  height: 110px;
  overflow: hidden;
  border-radius: 5px;
}

.boxes {
  transition: transform 1s ease-in-out;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  color: #5e5977;
}

.buttons {
  margin: 1rem 0 2rem 0;
}

button {
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0 0.2rem;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
}

#spinner {
  background-color: #d0c3ff;
  box-shadow: 3px 4px #5e5977;
  font-family: "Syne";
}

#spinner:hover {
  background-color: #a99cd2;
}

#spinner:active {
  background-color: #d0c3ff;
  box-shadow: 3px 4px #5e5977;
  transform: translateY(4px);
}

#reseter {
  background-color: #ffffff;
  box-shadow: 3px 4px #919191;
  font-family: "Syne";
}

#reseter:hover {
  background-color: #b2b2b2;
}

#reseter:active {
  background-color: #ffffff;
  box-shadow: 3px 4px #919191;
  transform: translateY(4px);
}

.info {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.credits {
  margin-top: 2vh;
  width: 100%;
  text-align: center;
}

#bottom line {
  stroke: white;
}

#bottom path {
  stroke: white;
}
