* {
  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-priority {
  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-priority.active {
  font-weight: 900;
}

/* <!-- PRIORITIES SECTION ---------------------------------------------------------------------------------------------> */
#all-priorities {
  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/priorities_top.jpg');/* Gradient + Background Image */
  background-size: cover;
  background-position: top;
  color: white;
  text-align: center;
  flex-direction: column;
  padding: 10em 3em 0 3em;
}

.priorities {
  display: flex;
  flex-direction: column;
  background-color: #1C449B;
  color: white;
  padding-top: 15em;
  height: 100%;
}

.priority {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  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) */
  /* background-color: white;
  border-radius: 50%; */
  font-size: 12.5rem;
  display: flex!important;
  justify-content: center;
  align-items: center;
}

.priority .content {
  padding-left: 3em;
  width: 55%;
}

/* Priorities Text */
.priority1 h1 {
  margin-bottom: 1em;
}

.priority .content h3 {
  font-size: 6.25rem;
}

.priority .content p {
  font-size: 1.75rem;
  font-weight: 300;
  margin-top: 1.25rem;
}

.priority .content a {
  font-size: 1.75rem;
  font-weight: 900;
  text-decoration: none;
  color: white;
}

/* <!-- LEARN MORE SECTION ---------------------------------------------------------------------------------------------> */
.learn-more {
  height: 100%;
  background-color: white;
  color: #1C449B;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6em 15em 6em 15em;
}

.learn-more-priority {
  display: grid;
  align-items: center;
}

.priority-list{
  display: flex;
  align-items: center;
  padding: 2em;
  cursor: pointer;
}

.priority-list.selected{
  color: white;
  background-color: #1C449B;
}

.learn-more .learn-icon-placeholder {
  width: 11rem;/* Width of the circle */
  height: 11rem;/* Height of the circle (should match width for a perfect circle) */
  font-size: 11rem;
  display: flex!important;
  justify-content: center;
  align-items: center;
}

.learn-icon-placeholder.selected {
  background-color: white;
}

.learn-more-priority .learn-more-content{
  max-height: 0; /* Hide the content initially by collapsing height */
  overflow: hidden; /* Prevent content from showing when collapsed */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* Smooth transition for opening/closing */
}

.learn-more hr {
  border: 0.15rem solid #1C449B;
  margin: 2em 0 2em 0;
}

/* Learn More Text */
.learn-more-priority h3 {
  display: flex;
  font-size: 5rem;
  padding-left: 0.5em;
}

.symbol {
  display: flex!important;
  flex-grow: 1;
  justify-content: flex-end;
  font-size: 5rem;
  font-weight: 700!important;
}

.learn-more-priority .header{
  font-size: 4rem;
  font-weight: 900;
}

/* <!-- 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-priority {
    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;
  }

  .priority .content h3 {
    font-size: 4.5rem;
  }

  .priority .content p {
    font-size: 1.5rem;
  }

  .priority .content a {
    font-size: 1.5rem;
  }

  .learn-more-priority .header{
    font-size: 3rem;
  }
}
/* <!-- Desktop/Laptop + Upscale (125% Scale) ----------------!> */
@media (max-width: 1536px) and (min-width: 1535px) and (min-resolution: 120dpi) and (max-resolution: 121dpi){
  .nav-priority {
    font-size: 1rem;
  }

  .hero {
    padding: 8rem 3rem 0 3rem;
  }

  .icon-placeholder {
    width: 11rem;/* Width of the circle */
    height: 11rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 11rem;
  }

  .priority .content {
    padding-left: 3rem;
    width: 60%;
  }

  .priorities {
    padding-top: 10em;
  }

  .priority .content h3 {
    font-size: 3.5rem;
  }

  .priority .content p {
    font-size: 1.25rem;
  }

  .priority .content a {
    font-size: 1.25rem;
  }

  .learn-more {
    padding: 8rem;
  }
}

/* <!-- Desktop + Scale (150% Scale) ----------------!> */
@media (max-width: 1280px) and (min-width: 1279px) and (min-resolution: 144dpi) and (max-resolution: 145dpi){
  .nav-priority {
    font-size: .75rem;
  }

  .hero {
    padding: 6rem 3rem 0 3rem;
  }

  .icon-placeholder {
    width: 10rem;/* Width of the circle */
    height: 10rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 10rem;
  }

  .priority .content {
    padding-left: 3rem;
    width: 60%;
  }

  .priorities {
    padding-top: 10em;
  }

  .priority .content h3 {
    font-size: 3rem;
  }

  .priority .content p {
    font-size: 1rem;
  }

  .priority .content a {
    font-size: 1.25rem;
  }

  .learn-more {
    padding: 6rem;
  }
}

/* <!-- Mobile ----------------!> */
@media only screen and (max-width: 767px),
only screen and (orientation: portrait) {
  .sub-navbar {
    display: none!important;
  }

  /* .nav-priority {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.125rem;
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
    width: 10%;
  } */

  /* <!-- Priorities Section -----> */
  #all-priorities {
    padding: 0 0 7rem 0;
  }

  .hero {
    height: 80vh;
    background: linear-gradient(to top, #1C449B 10%, #1C449B00 75%, #ffffff00), url('/assets/images/priorities_top.jpg');/* Gradient + Background Image */
    background-size: cover;
    background-position: 20%;
    padding: 7rem 0 0 0;
  }

  .hero h1{
    text-align: center;
    font-size: 4rem;
  }

  #priority2 {
    padding-top: 7rem!important;
  }

  .priorities {
    padding-top: 5rem;
  }

  .priority {
    flex-direction: column;
    text-align: left;
    padding: 0;
  }

  .icon-placeholder {
    width: 8rem;/* Width of the circle */
    height: 8rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 8rem;
  }

  .priority .content {
    padding: 1rem;
    width: 100%;
  }

  /* Priorities Text */
  .priority1 h1 {
    margin-bottom: 2.5rem;
  }

  .priority .content h3 {
    text-align: center;
    font-size: 2.5rem;
  }

  .priority .content p {
    font-size: 1.25rem;
    margin-top: 1rem;
  }

  .priority .content a {
    font-size: 1.5rem;
  }

  /* <!-- Learn More Section -----> */
  .learn-more {
    padding: 7rem 1rem 7rem 1rem;
  }

  .priority-list{
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }

  .learn-more .learn-icon-placeholder {
    width: 5rem;/* Width of the circle */
    height: 5rem;/* Height of the circle (should match width for a perfect circle) */
    font-size: 5rem;
  }

  /* Learn More Text */
  .learn-more-priority h3 {
    font-size: 2.5rem;
    width: auto;
    padding: 0;
    text-align: center;
  }

  .symbol {
    font-size: 2rem;
  }

  .learn-more-priority .header{
    font-size: 2.5rem;
  }
}
