* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* <!-- SUB-NAVBAR ---------------------------------------------------------------------------------------------> */
.sub-navbar {
  position: fixed;/* Initially positioned relative to the page */
  top: 50%;/* Adjust to the point where the navbar should appear */
  transform: translateY(-50%);
  left: 2.5%;/* Adjust horizontal position */
  display: flex;
  flex-direction: column;/* Stack circles vertically */
  gap: 0.625rem;/* Space between circles */
  z-index: 900;
  border-left: 0.3rem solid white;
  padding-left: 0.625rem;
  opacity: 1;
  transition: 0.3s ease;/* Smooth transition for changes */
}

/* Individual links */
.nav-vote {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.125rem;
  text-decoration: none;
  color: white;
  transition: 0.3s ease;/* Smooth transition for changes */
  width: 10%;
}

/* Highlighted priority */
.nav-vote.active {
  font-weight: 900;
}

/* <!-- PRIORITIES SECTION ---------------------------------------------------------------------------------------------> */
#all-votes {
  height: 100%;
  background-color: #1C449B;
  padding: 0 0 15em 0;
  margin: 0
}

.hero {
  height: 100%;
  background: linear-gradient(to top, #1C449B 10%, #1C449B00 75%, #ffffff00), url('/assets/images/VOTE.jpg');/* Gradient + Background Image */
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  flex-direction: column;
  padding: 10em 3em 0 3em;
}

.vote {
  display: flex;
  flex-direction: column;
  background-color: #1C449B;
  color: white;
  padding-top: 15em;
  height: 100%;
}

.way {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10em 0 10em;
}

.icon-placeholder {
  width: 12.5rem;/* Width of the circle */
  height: 12.5rem;/* Height of the circle (should match width for a perfect circle) */
  font-size: 12.5rem;
  display: flex!important;
  justify-content: center;
  align-items: center;
}

.way .content {
  width: 60%;
}

/* Vote Text */
.subheader {
  margin-bottom: 1em;
}

.way .content h3 {
  font-size: 6.25rem;
  margin-top: 1.25rem;
}

.way .content p {
  font-size: 1.75rem;
  font-weight: 300;
  margin-top: 1.25rem;
}

/* <!-- REGISTERED SECTION ---------------------------------------------------------------------------------------------> */
.registered{
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #1C449B;
  text-align: center;
  padding: 10rem 20rem 10rem 20rem;
}

/* Registered Text */
p.question {
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 90%;
}

/* Registered Buttons */
.registered .buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 6rem;
  margin-top: 3.125rem;
}

/* <!-- MEDIA QUERIES ---------------------------------------------------------------------------------------------> */
/* <!-- Laptop ----------------!> */
@media only screen and (min-width: 1025px) and (max-width: 1440px),
       only screen and (min-width: 853px) and (max-width: 1280px) {
  .nav-vote {
    font-size: 1.25rem;
  }

  .icon-placeholder {
    width: 12.5rem;/* Width of the circle */
    height: 12.5rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 12.5rem;
  }

  .way .content h3 {
    font-size: 4.5rem;
  }

  .way .content p {
    font-size: 1.5rem;
  }

  p.question {
    font-size: 6rem;
  }
}

/* <!-- Desktop/Laptop + Upscale (125% Scale) ----------------!> */
@media (max-width: 1536px) and (min-width: 1535px) and (min-resolution: 120dpi) and (max-resolution: 121dpi){
  .nav-vote {
    font-size: 1rem;
  }

  .hero{
    padding: 8rem 3rem 0 3rem;
  }

  .vote {
    padding-top: 10rem;
  }

  .icon-placeholder {
    width: 10rem;/* Width of the circle */
    height: 10rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 10rem;
  }

  .way .content {
    width: 70%;
  }

  .way .content h3 {
    font-size: 4.5rem;
  }

  .way .content p {
    font-size: 1.25rem;
  }

  .registered{
    padding: 5rem;
  }
}

/* <!-- Desktop + Scale (150% Scale) ----------------!> */
@media (max-width: 1280px) and (min-width: 1279px) and (min-resolution: 144dpi) and (max-resolution: 145dpi){
  .nav-vote {
    font-size: 1rem;
  }

  .hero{
    padding: 6rem 3rem 0 3rem;
  }

  .vote {
    padding-top: 10rem;
  }

  .icon-placeholder {
    width: 10rem;/* Width of the circle */
    height: 10rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 10rem;
  }

  .way .content {
    width: 70%;
  }

  .way .content h3 {
    font-size: 3rem;
  }

  .way .content p {
    font-size: 1rem;
  }

  .registered{
    padding: 6rem;
  }
}

/* <!-- Mobile ----------------!> */
@media only screen and (max-width: 767px),
only screen and (orientation: portrait) {
  .sub-navbar {
    display: none!important;
  }

  #all-votes {
    padding: 0 0 7em 0;
  }

  .hero {
    height: 80vh;
    background: linear-gradient(to top, #1C449B 10%, #1C449B00 75%, #ffffff00), url('/assets/images/VOTE.jpg');/* Gradient + Background Image */
    background-size: cover;
    background-position: 80%;
    padding: 7rem 0 0 0;
  }

  #vote2{
    margin-top: 8rem!important;
  }

  .vote {
    padding-top: 5rem;
  }

  .way {
    flex-direction: column;
    text-align: left;
    padding: 0;
  }

  .icon-placeholder {
    width: 8rem;
    height: 8rem;
    font-size: 8rem;
  }

  .way .content {
    padding: 1rem;
    width: 100%;
  }

  /* Vote Text */
  .vote1 .subheader {
    margin-bottom: 2.5rem;
  }

  .way .content h3 {
    text-align: center;
    font-size: 2.5rem;
  }

  .way .content p {
    font-size: 1.25rem;
    margin-top: 1rem;
  }

  /* <!-- Registered Section -----> */
  .registered{
    padding: 7rem 1rem 7rem 1rem;
  }

  p.question {
    font-size: 4rem;
    line-height: 80%;
  }

  .registered .buttons {
    padding: 0 1.5rem 0 1.5rem;
    margin-top: 2.5rem;
  }
}
