body {
  font-family: 'Roboto Mono', monospace;
  background-color: #f07f77;
  margin: 0px;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: flex-start;
  /* Aligns to the top */
  height: 100vh;
  /* Full viewport height */
  z-index: 10;
  /*border-bottom: .75vh solid #a32620;*/
}

.voter-container {
  /*display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40%;
  width: 50%;
  position: relative;*/
  /*
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  position: relative;
  
  position: relative;
  display: flex;
  justify-content: center; /* Centers horizontally 
  align-items: center; /* Centers vertically */
  margin-top: 25vh;
  position: relative;
}


h1 {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  /* Bold */
}

p span {
  font-family: 'Roboto Mono', monospace;
  font-weight: 400;
  /* Regular */
}


.animation-background {
  overflow: hidden;
  background: #f07f77;
  /*position: absolute;*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*border-bottom: 10px solid #842121;*/
}

.mountain-one,
.mountain-two,
.mountain-three,
.mountain-four,
.mountain-five,
.mountain-six,
.mountain-seven {
  position: absolute;
  bottom: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 180px solid #a32620;
  z-index: 3;
}

.mountain-three,
.mountain-seven {
  border-bottom: 180px solid #f07f77;
}

.mountain-three .mountain-cap-1,
.mountain-three .mountain-cap-2,
.mountain-three .mountain-cap-3,
.mountain-seven .mountain-cap-1,
.mountain-seven .mountain-cap-2,
.mountain-seven .mountain-cap-3 {
  border-top: 25px solid #a32620;
}

.mountain-three .mountain-top,
.mountain-seven .mountain-top {
  border-bottom: 77px solid #a32620;
}

.mountain-two {
  left: 80px;
  bottom: 0px;
  opacity: .7;
  z-index: 1;
}

.mountain-three {
  left: -60px;
  bottom: 0px;
  opacity: 1;
  z-index: 2;
}

.mountain-four {
  left: 200px;
  bottom: 0px;
  opacity: 1;
  z-index: 3;
}

.mountain-five {
  left: -105px;
  bottom: 0px;
  opacity: .8;
  z-index: 1;
}

.mountain-six {
  left: 270px;
  bottom: 0px;
  opacity: .2;
  z-index: 1;
}

.mountain-seven {
  left: 160px;
  bottom: 0px;
  opacity: 1;
  z-index: 2;
}

.mountain-top {
  position: absolute;
  right: -65px;
  border-left: 65px solid transparent;
  border-right: 65px solid transparent;
  border-bottom: 77px solid #842121;
  z-index: 3;
}

.mountain-cap-1,
.mountain-cap-2,
.mountain-cap-3 {
  position: absolute;
  top: 70px;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #842121;
}

.mountain-cap-1 {
  left: -55px;
}

.mountain-cap-2 {
  left: -25px;
}

.mountain-cap-3 {
  left: 5px;
}


.cloud-container {
  position: absolute;
  bottom: 0;
  z-index: 2;
}

.cloud-image {
  position: absolute;
  height: 75px;
  top: -25px;
  z-index: 2;
  margin-left: 25px;

}

.cloud,
.cloud:before,
.cloud:after {
  position: absolute;
  width: 75px;
  height: 35px;
  background: #cc3026;
  box-shadow: 6px 2px 0px #842121;
  -webkit-border-radius: 100px / 50px;
  border-radius: 100px / 50px;
  z-index: 1;
}

.cloud:before {
  content: '';
  left: 50px;
}

.cloud:after {
  content: '';
  left: 25px;
  top: -10px;
}

.rain {
  position: absolute;
  bottom: 100px;
  display: flex;
  padding: 0 5px;

}

.rain span {
  /*position: relative;*/
  bottom: 25px;
  width: 2px;
  height: 9px;
  background: #cb3c3c;
  /*background: #7ac1e4;*/
  margin: 0 .5px;
  border-radius: 50%;
  animation: animate 20s linear infinite;
  animation-duration: calc(50s/var(--i));
  transform-origin: bottom;
}

.trophy {
  position: relative;
  visibility: hidden;
  /*bottom: 10px;
  height: 10px;
  top: -25px;*/
  z-index: 1;
  margin-left: 45px;
  -webkit-animation: trophy 10s;
  animation: trophy-animate 10s;
  animation-fill-mode: forwards;
  animation-delay: 5s;
}

input {
  margin: 0px;
  padding: 0px;
  border: none;
}

.vote-button {
  font-family: 'Roboto Mono', monospace;
  /* Use Roboto Mono for a retro feel */
  font-size: inherit;
  color: #ffffff;
  background-color: #333;
  /* Dark background */
  border: 4px solid #842121;
  /* Thick border for pixel effect */
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  outline: none;
  position: relative;
  display: inline-block;

  /* Box shadow to create pixel effect */
  box-shadow:

    inset -2px -2px 0px #f07f77,
    /* Inner shadows for 3D effect */
    inset 2px 2px 0px #f07f77;

  /* Prevent smoothing for the pixelated font */
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: -webkit-optimize-contrast;
  /* Webkit (Chrome, Safari) */
}

.results-button {
  font-family: 'Roboto Mono', monospace;
  /* Use Roboto Mono for a retro feel */
  font-size: inherit;
  color: #ffffff;
  background-color: transparent;
  /* Dark background */
  border: 4px solid #f07f77;
  /* Thick border for pixel effect */
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  outline: none;
  position: relative;
  display: inline-block;

  /* Box shadow to create pixel effect */
  box-shadow:

    inset -2px -2px 0px #cc3026,
    /* Inner shadows for 3D effect */
    inset 2px 2px 0px #cc3026;

  /* Prevent smoothing for the pixelated font */
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: -webkit-optimize-contrast;
  /* Webkit (Chrome, Safari) */
  text-decoration: none;
}

.vote-button:hover,
.results-button:hover {
  box-shadow:
    inset -2px -2px 0px #842121,
    /* Inner shadows for 3D effect */
    inset 2px 2px 0px #842121;
  border: 4px solid #f07f77;
}

.vote-button:active,
.results-button:active {
  box-shadow:
    inset -2px -2px 0px #842121,
    /* Inner shadows for 3D effect */
    inset 2px 2px 0px #842121;
  border: 4px solid #f07f77;
}

.vote-result {
  background-color: #842121;
  height: 1.5em;
  font-size: 1em;
  padding: 3px;
  color: white;
  text-align: end;
}

.match-list>a>i {
  color: #842121;
}

.match-list>a {
  color: #842121;
  text-decoration: none;
  display: block;
  margin-top: .5em;
}

.match-list>a:hover {
  color: #cb3c3c;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #f07f77;
  color: white;
  text-align: center;
  border-bottom: 1vh solid #842121;
}


@media only screen and (max-width: 1300px) {
  body {
    font-size: 2.3em;
    /*border-bottom: .75vh solid #a32620;*/
  }



  .vote-button,
  .results-button {
    font-size: 1em;
  }

  .cookie-container {
    font-size: .7em;
  }

  .question-icon, 
  .cookie-icon {
    font-size: 1.5em;
  }

  .cookie-tooltip-info {
    max-width: 500px;
    /* Limit width to prevent it from stretching too wide */
  }
}


/*COOKIE-icon and containers*/
.bottom-right-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  /* Stack them vertically */
  align-items: center;
  /* Align to the right */
  gap: 10px;
  /* Space between the containers */
  z-index: 9999;
}


/* Style each container */
.question-container,
.cookie-container {
  position: relative;
  /*background-color: rgba(0, 0, 0, 0.8);
  /* Dark background */
  color: white;
  padding: 10px;
  border-radius: 8px;
  /*width: 250px;*/
}

.question-container a{
  color:#f07f77;
}

.question-container p{
  margin-bottom: .3em;
}

.cookie-icon,
.question-icon {
  font-size: 1.5em;
  cursor: pointer;
  background: #f07f77;
  color: #842121;
  border-radius: 50%;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}
.cookie-icon{
  padding: 5px;
}

.question-icon{
  padding: 8px;
}

@media only screen and (max-width: 1300px) {
  .cookie-icon {
    font-size: 2em;
    /*border-bottom: .75vh solid #a32620;*/
  }
  .question-icon{
    font-size: 1.5em;
  }
}

.question-tooltip-info,
.cookie-tooltip-info {
  font-family: inherit;
  position: absolute;
  bottom: 30px;
  right: 0;
  background: black;
  color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  font-size: .8em;
  min-width: 200px;
  max-width: 400px;
  /* Limit width to prevent it from stretching too wide */
  width: max-content;
  /* Ensures it only takes as much width as needed */
  white-space: normal;
  /* Allow text to wrap */
  word-wrap: break-word;
  /* Break long words if needed */
  display: none;
  opacity: 1;
}

.cookie-tooltip-info p,
.cookie-tooltip-info ul,
.question-tooltip-info p,
.question-tooltip-info ul {
  margin: .5em 0em;
}

.cookie-tooltip-info ul,
.question-tooltip-info ul {
  padding-left: 20px;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.cookie-btn {
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.accept-btn {
  background-color: green;
  color: white;
}

.reject-btn {
  background-color: red;
  color: white;
}

.active-choice {
  margin-right: 20px;
  position: relative;
}

.active-choice::after {
  content: " ✅";
  /* Add a check emoji */
  /* Adjust size if needed */
  position: relative;
  right: 02px;
  /* Position it on the right side of the button */
  top: 0;
}

@media (hover: hover) {

  .question-container:hover .question-tooltip-info,
  .cookie-container:hover .cookie-tooltip-info {
    display: block;
  }

  /* Hide the question tooltip when hovering over the cookie icon */
  .cookie-container:hover~.question-container .question-tooltip-info {
    display: none;
  }

  /* Hide the cookie tooltip when hovering over the question icon */
  .question-container:hover~.cookie-container .cookie-tooltip-info {
    display: none;
  }
}


.question-tooltip-info.active,
.cookie-tooltip-info.active {
  display: block;
}

/* Hide one tooltip when the other is active */
.cookie-tooltip-info.active ~ .question-container .question-tooltip-info {
  display: none;
}

.question-tooltip-info.active ~ .cookie-container .cookie-tooltip-info {
  display: none;
}