
/*
font-family: Antonio;
font-family: "News Cycle";
font-family: Barlow;
font-family: Lato;
font-family: Nunito;

*?

/*
-------                -------
-------    mobile nav  -------
-------                -------
*/
:root {
  --rep-text: #cd3636;
  --dem-text: #365bcd;
  --rep-bg: #702727;
  --dem-bg: #273971;
  --e-global-typography-text-font-family: Lato, Nunito, Barlow, "News Cycle", Antonio;
  --e-global-typography-secondary-font-family: Lato, Nunito, Barlow, "News Cycle", Antonio;
  --e-global-typography-primary-font-family: Lato, Nunito, Barlow, "News Cycle", Antonio;
}


.navbar {
  background: #023150;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 192;
}

@media (max-width: 700px) {
  .navbar {
    display: block;
    width: 100vw;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    transition: background 300ms ease;
    background: transparent;
  }
  .navbar.scrolled {
    background: linear-gradient(267deg, rgb(4 4 4), #023150);
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.4);
    transition: background 348ms ease;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
  }
  .nav-widescreen  {
    display: none;
  }
  .navbar-logo-offset {
    height: 75px;
    padding-right: 23px;
  }

  .navbar .menu-items {
    display: flex;
  }

  .navbar .nav-container li {
    list-style: none;
  }

  .navbar .nav-container a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 0.7rem;
    font-family: 'News Cycle';
    }
  }

  .navbar .nav-container a:hover{
      font-weight: bolder;
  }

  .nav-container {
    display: block;
    position: relative;
    height: 60px;
    --navbar-height: 80px;
    height: var(--navbar-height);
  }

  .nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .nav-container .hamburger-lines {
    display: block;
    height: 21px;
    width: 32px;
    position: absolute;
    top: 26px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-container .hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: #ffebae;
  }

  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 120px;
    height: 100vh;
    width: 100vw;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: left;
    background: linear-gradient(303deg, #030e16 30%, #023150 100%);
  }
  .nav-break {
    border: 2px solid #e6c9c9;
    width: 45vw;
    margin-bottom: 16px;
  }
  .menu-icon {
    display: inline;
    filter: grayscale(75%);
  }

  .navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
  }

  .menu-items[data-open="true"] li {
    animation: fadeInUp 0.4s ease;
    animation-fill-mode: forwards; /* start from 0 opacity/10px */
    animation-delay: var(--delay);
  }

  .navbar-logo {
    position: absolute;
    top: 5px;
    right: 15px;
    height: var(--navbar-height);
    filter: grayscale(30%);
  }
  .navbar-logo img {
    display: block;
    height: 87%;
    width: auto;
    position: relative;
    top: 4px;
    filter: grayscale(50%);
  }

  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
    transform-origin: 13% -32%;
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }

  .nav-container input[type="checkbox"]:checked ~ .navbar-logo{
    display: none;
  }
  .logo {
    display: none;
  }
}

.nav-container input[type="checkbox"]:checked ~ .menu-items li {
  animation: fadeInUp 0.4s ease forwards;
  animation-delay: var(--delay);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





/*
-------                -------
-------    home        -------
-------                -------
*/
section.top {
  width: 100vw;
  height: 100vh;
  /*background: url(../images/bg2.webp) no-repeat;*/
  overflow: hidden;
  background-size: cover;
  background-position: 45% -4%;
}
.l {
  text-align: left;
}
.r {
  text-align: right;
}
.top-content {
  position: absolute;
  bottom: 29vh;
  width: clamp(60vw, 70vw, 72vw);
  right: 5vw;
}
#background-video {
  position: absolute; /* Position the video inside the section */
  top: 0;
  left: 0;
  width: 100%; /* Ensure the video covers the full width of the section */
  height: 100%; /* Ensure the video covers the full height of the section */
  object-fit: cover; /* Make the video cover the entire section (like background-size: cover) */
  object-position: 45% -4%; /* Position the video similarly to background-position */
  z-index: -1; /* Position video behind content */
  pointer-events: none; /* Ensure the video doesn’t interfere with content interaction */
}
.top-content h1 {
  font-size: 4rem;
  position: relative;
  background: linear-gradient(135deg, var(--orange-accent), var(--purple-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Skranji-reg';
  letter-spacing: 2px;
  position: relative;
  text-align: right;
  line-height: 4rem;
  -webkit-text-stroke: 3px hsl(0deg 0% 0% / 86%);
}
.top-content .h1-widescreen {
  display: none;
}
@media (max-width: 450px) {
  .top-content h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 600px) {
  .mid .fancy-card-icon {
    position: absolute;
  }
  .h3-with-icon {
    margin-left: 80px;
  }
}
.top-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  text-align: right;
  bottom: -119px;
}
.top-links a {
  padding: 15px 20px 15px 20px;
  background: #ffff46;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 21px;
  color: #493609;
  font-family: 'Skranji-reg';
  letter-spacing: 2px;
}
.top-down-arrow {
  position: absolute;
  bottom: 4vh;
  left: 50%; /* Move it to the horizontal center */
  transform: translateX(-50%); /* Offset the element's width by 50% to perfectly center */
  font-size: 2em;
  text-shadow: 0px 12px 0px hsl(96.36deg 25.3% 41.68% / 43%);
}

#mid-home {
  position: absolute;
  top: -82px;
}
section.bottom {
  padding-bottom: 250px;
  background: linear-gradient(0deg, #ffeac5 0%, #ffcd63 100%);
  position: relative;
}
.home-gallery {
  margin-top: 50px;
}
.videoWrapper {
  padding-top: 100px;
}
.mid-down-arrow {
  position: absolute;
  bottom: 4vh;
  left: 50%; /* Move it to the horizontal center */
  transform: translateX(-50%); /* Offset the element's width by 50% to perfectly center */
  font-size: 2em;
  text-shadow: 0px 12px 0px hsl(96.36deg 25.3% 41.68% / 43%);
}
#bot-home {
  position: absolute;
  top: 0px;
}
section.bottom .fancy-card {
  padding-top: 118px;
}
section.bottom .fancy-card-icon {
  position: absolute;
}


/*
-------                -------
-------    youtube     -------
-------                -------
*/
/* Wrapper for the video */
.videoWrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Maintain 16:9 aspect ratio */
  overflow: hidden;
}

/* Video container */
.video-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* YouTube iframe */
.video-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/*
-------                -------
-------    gallery     -------
-------                -------
*/
.home-gallery {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.gallery-container {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.home-gallery-pic {
  flex-shrink: 0; /* Prevents images from shrinking */
  width: 80%;    /* Adjust this value to control the size of each image */
  margin-right: 10px;  /* Space between images */
}

.home-gallery-pic img {
  width: 100%;      /* Makes the image fill the container's width */
  height: auto;     /* Maintains aspect ratio */
  object-fit: cover;  /* Ensures the image covers the container while maintaining its aspect ratio */
  border-radius: 25px;
}
.swiper-slide {
  max-height: calc(100vw - 50px);
  max-width: calc(100vw - 50px);
}
.swiper-slide img {
  width: 100%;
  display: block;
  height: auto;
}
.videoWrapper {
  width: 90vw;
}
.text-wide {
  display: none;
}



/*
-------                -------
-------    desktop     -------
-------                -------
*/
#background-video-widescreen {
    display: none;
  }
#background-video-widescreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: -1;
  pointer-events: none;
}


/*
-------                -------
-------    mid-size    -------
-------    desktop     -------
-------                -------
*/
@media (min-width: 700px) {
  .wrapper {
    background: linear-gradient(180deg, #fff7e6 0%, #ffd589 100%);
  }
  .videoWrapper-wide-screen {
    padding: 5%;
  }
  .videoWrapper {
    width: 100%;
  }
  .main_body {
    max-width: 80vw;
    margin: 0 auto;
  }
  #background-video-widescreen {
    display: block;
    object-fit: cover;
  }
  #background-video {
    display: none;
  }
  .nav-container {
    display: none;
  }
  .nav-widescreen {
    width: 100vw;
    background: linear-gradient(267deg, rgb(15 14 16 / 91%), rgb(17 19 59));
    background: linear-gradient(267deg, rgb(4 4 4 / 90%), #023150);
    box-shadow: 0px 3px 7px 3px black;
    height: 150px;
  }
  .nav-widescreen a {
    font-family: Antonio;
    color: #ffffff;
    font-size: clamp(0.5rem, 0.9vw + 0.9vh, 2rem);
    text-transform: uppercase;
    position: relative;
    top: 0px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0px 0px 4px black;
  }
  .active-page {
    color: #fec40e !important;
    border: none;
    background: transparent;
  }
  .active-page::after {
    content: "";
    position: absolute;
    bottom: -4px; /* adjust as needed */
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #b9b9ce;
    border-radius: 2px;
  }
  .nav-reserve {
    border: 2px solid #b3b7c5;
    padding: 8px;
    border-radius: 9px;
    background: linear-gradient(309deg, rgb(182 181 125 / 61%), rgb(255 254 212 / 57%));
  }
  .nav-widescreen .navbar-logo {
    position: relative;
    top: 0px;
    right: 0px;
    height: 90%;
    filter: none;
    overflow: hidden;
  }
  .nav-widescreen .navbar-logo-offset {
    position: relative;
    height: 100%;
  }
  .nav-widescreen .navbar-logo img {
    height: 100%;
    top: 6px;
  }
  .nav-widescreen-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 95vw;
    margin: 0 auto;
    height: 100%;
  }
  .mid {
    background: linear-gradient(180deg, #fff7e6 0%, #ffd589 100%);
  }
  .top-content h1 {
    display: none;
  }
  .top-content .h1-widescreen {
    display: block;
    line-height: clamp(5rem, 6rem, 7rem);
    font-size: clamp(4rem, 5rem, 6rem);
  }

}


/*
-------                -------
-------  wide-screen   -------
-------    desktop     -------
-------                -------
*/
@media (min-width: 1200px) {
  .top-content .h1-widescreen {
    display: block;
    line-height: clamp(6rem, 8rem, 9rem);
    font-size: clamp(6rem, 7rem, 8rem);
  }
  .nav-widescreen-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 85vw;
    margin: 0 auto;
    height: 100%;
  }
  .nav-widescreen .navbar-logo img {
    height: 100%;
    top: -7px;
  }
  .swiper-slide {
    max-width: calc(37vw - 50px);
  }
  #background-video-widescreen {
    display: block;
    object-fit: fill;
  }
  .text-wide {
    display: inline;
  }
  .eligibility-image {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 25px 28px -14px black;
  }
  .active-page {
    color: #fec40e !important;
    border: none;
    background: transparent;
  }
  .active-page::after {
    content: "";
    position: absolute;
    bottom: -4px; /* adjust as needed */
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #b9b9ce;
    border-radius: 2px;
  }


}











/* scorecard overrides */
#scorecard-app,
#scorecard-app .legislator-list .info h3,
#scorecard-app thead tr th {
  font-family: Barlow;
}
#scorecard-app a {
  font-family: 'Nunito';
  font-weight: 600;
  font-size: 1em;
}
#scorecard-app h3,
#scorecard-app label,
#scorecard-app input,
#scorecard-app p {
  font-family: Nunito;
}
.bt50-jumbotron h1 {
  font-family: "News Cycle";
  background: linear-gradient(to right, #b15252, #ffffff, #1051b5);
  background: linear-gradient(to right, #cd8e8e, #ffffff, #77a7f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.bt50-legislator-detail .legislator-name {
  background: hsl(0deg 0% 0% / 70%);
}
.bt50-legislator-detail .legislator-name h1 {
  font-size: 2.5rem;
}
#scorecard-app .bt50-jumbotron {
  height: 100vh;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content p {
  font-family: Nunito;
}
#scorecard-app .bt50-jumbotron .bt50-jumbotron-overlay-content-child {
  background: linear-gradient(267deg, rgb(4 4 4 / 90%), #023150);
}
.elementor-kit-725 h2 {
  font-family: "News Cycle";
}
#scorecard-app .legislator-list .info p {
  font-family: 'Barlow';
  font-weight: 700;
}
#scorecard-app .pure-table td {
  font-family: Lato;
  font-weight: 400;
  font-size: 1.15em;
}
#scorecard-app .scoreset-tab.active .scoreset-name {
  font-family: 'Lato';
  font-weight: 700;
  font-size: 1.25em;
}
#scorecard-app .scoreset-tab .scoreset-name {
  font-family: Lato;
}
#scorecard-app .legislator-list .score .value {
  height: 60px !important;
  width: 68px !important;
  border-radius: 22% !important;
  background: #148472;
}
#scorecard-app .legislator-list .header-content h4 {
  font-size: 2rem;
  font-weight: 600;
  font-family: Barlow;
  font-size: 21px;
}
#scorecard-app .legislator-list .header-content p {
  display: none;
}
#scorecard-app .legislator-list .score {
  margin-top: 8px;
}
.rep-bg {
  background: var(--rep-bg);
}
.dem-bg {
  background: var(--dem-bg);
}



















/* Footer */
.footer-top {
  background-color: #0a3a5a;
  padding-top: 75px;
  padding-bottom: 69px;
  text-align: center;
  font-family: Barlow;
}
.footer-top-items {
  display: flex;
  max-width: 80vw;
  margin: 0 auto;
  flex-direction: column;
}
.footer-break-top {
  width: 85vw;
  height: 2px;
  background: #174b6b;
  margin: 0 auto;
  margin-top: 20px;
}
.footer-break-bottom {
  width: 85vw;
  height: 2px;
  background: #213a49;
  margin: 0 auto;
  margin-top: 20px;
}
.footer-top-items .item {
  flex: 1;
}
.footer-top-items h1,
.footer-bottom-items h1 {
  text-transform: uppercase;
  color: #fec40e;
  font-size: 1.5em;
  line-height: .88;
  font-family: Antonio;
  font-weight: 700;
}
.footer-top-items p {
  margin: 0 0 .6875em;
  color: white;
  font-family: Nunito;
  font-weight: 600;
}
.f-button {
  background-color: #3fa06f;
  border: 0;
  border-radius: 35px;
  color: #fbfbfb;
  cursor: pointer;
  display: inline-block;
  font-family: Lato, Antonio;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  line-height: 1.5;
  padding: .4875em 1.775em;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all .15s ease;
  transition: all .15s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
.footer-top-items .f-button:hover {
  background-color: #2f8459;
  transition: background-color border-color .15s ease;
}
.footer-bottom {
  background-color: #023150;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
}
.footer-bottom-items {
  display: flex;
  max-width: 80vw;
  margin: 0 auto;
  flex-direction: column;
  font-family: Barlow;
}
.footer-bottom-items .item {

}
.footer-logo {
  height: 250px;
  width: auto;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-bottom-items p {
  color: white;
  margin: 0 0 .6875em;
  padding: 0.2em;
  font-size: 0.9em;
  line-height: 1.4em;
}
.social-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.social-links a {
  font-size: 1.8rem;
  color: #ffffff;
  transition: color 0.3s;
}
.footer-terms {
  color: #ffffff;
  margin: 0 0 .6875em;
  padding: 0.2em;
  font-size: 0.8em;
  line-height: 0.6em;
  padding-top: 25px;
  font-family: Antonio;
  font-family: "News Cycle";
  font-family: Lato;
}

@media screen and (min-width: 768px) {
    .footer-top {
        text-align: left;
    }
    .footer-top-items {
      flex-direction: row;
    }
    .footer-top-items .item {

    }
    .footer-break-top, .footer-break-bottom {
      display: none;
    }
    .footer-top-items h1 {

    }
    .footer-top-items p {
      padding-right: 55px;
    }
    .footer-top-items .f-button {

    }
    .footer-top-items .f-button:hover {

    }
    .footer-bottom {
      text-align: left;
    }
    .footer-bottom-items {
      flex-direction: row;
      align-items: center;
    }
    .footer-bottom-items .item {
      flex: 1;
    }
    .footer-logo {
      justify-self: flex-start;
    }
    .footer-bottom-items h1 {
      text-align: center;
    }
    .footer-terms {
      max-width: 80vw;
      margin: 0 auto;
    }
}