/* Close button */

#yec-banner #banner-close-button {
  display: none;
}

#yec-banner:has(#banner-close-button:checked) {
  display: none;
}

/* Yearly style */

@font-face {
  font-family:"SpaceGrotesk";
  src:url("year-end/SpaceGrotesk.woff2") format("woff2")
}

@font-face {
  font-family:"Inter";
  src:url("year-end/Inter.woff2") format("woff2")
}

.banner {
  background-color: var(--yec-page-bg-color);
  z-index: 1000 !important;
  position: relative;
  right: 0;
  left: 0;
  top: 0;
}

#trigger {
  position: absolute;
  top: -9999px;
}

#yec-banner input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;

}

#yec-banner input, button, select, optgroup, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.banner-close {
  position: absolute;
  right: .5rem;
  top: .5rem;
  z-index: 1;
  visibility: inherit;
  border-radius: 6px;
  color: #05161c !important;
}

.banner-close img {
  width: 32px;
  height: 32px;
}

label {
  cursor: pointer;
}

label {
  display: inline-block;
  margin-bottom: .5rem;
}

.banner-close button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.d-flex {
  display: flex !important;
}

#yec-banner button {
  text-transform: none;
  overflow: visible;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border-radius: 0;
  touch-action: manipulation;
}

.banner-close {
  visibility: inherit;
  color: #05161c !important;
}

.eoy-sr-only {
  height: 1px;
  overflow: hidden;

  position: absolute;
  top: auto;
  width: 1px;
}

.banner-content-spacer {
  margin-top: auto;
  margin-bottom: auto;
  padding: 2rem 1rem;
  min-height: inherit;
  max-height: inherit;
}

@media (min-width: 768px) {
  .banner-content-spacer {
    padding: 40px;
  }
}

.justify-content-center {
  justify-content: center !important;
}

#yec-banner *, #yec-banner ::before, #yec-banner ::after {
  box-sizing: border-box;
}

#yec-banner {
  font-family: "Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

:host, :root {
  --fa-style-family-classic: "Font Awesome 6 Free";
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
  --fa-style-family-brands: "Font Awesome 6 Brands";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
}

:root {
  --yec-page-bg-color: #ecfdc9;
  --yec-button-color: #fff;
  --yec-button-bg-color: #9337c1;
  --yec-button-bg-color-hover: #6c2c8b;
  --yec-button-bg-color-active: #4e2065;
  --yec-button-border-color-focus: #000;
  --yec-donate-text-color: #22232b;
}

.banner-content-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 54rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .banner-content-container {
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    gap: 1.5rem;
  }
}

:host, :root {
  --fa-style-family-classic: "Font Awesome 6 Free";
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
}

:host, :root {
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
}

:host, :root {
  --fa-style-family-brands: "Font Awesome 6 Brands";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
}

:root {
  --yec-page-bg-color: #ecfdc9;
  --yec-button-color: #fff;
  --yec-button-bg-color: #9337c1;
  --yec-button-bg-color-hover: #6c2c8b;
  --yec-button-bg-color-active: #4e2065;
  --yec-button-border-color-focus: #000;
  --yec-donate-text-color: #22232b;
}

.banner-content-container .yec-illo {
  height: 8.75rem;
  max-width: 99999px;
}

@media (min-width: 768px) {
  .banner-content-container .yec-illo {
    height: 14.375rem;
  }
}

@media (min-width: 992px) {
  .banner-content-container .yec-illo {
    height: 16.625rem;
  }
}

img {
  vertical-align: middle;
  border-style: none;
}

#banner-text-container {
  max-width: 40.5rem;
}

.text-left {
  text-align: left !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

#banner-header h1 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-family: "SpaceGrotesk",sans-serif;
  line-height: 120%;
  margin-bottom: 0px;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  max-width: 9999em;
}

@media (min-width: 768px) {
  #banner-header h1 {
    font-size: 2.75rem;
    text-align: unset;
  }
}

@media (min-width: 992px) {
  #banner-header h1 {
    font-size: 3.5rem;
    text-align: unset;
  }
}

#banner-header h1, #banner-header p {
  color: var(--yec-donate-text-color);
}

#banner-header p {
  font-size: 1rem;
  font-family: "Inter","SourceSans3-Regular",sans-serif;
  font-weight: 400;
  line-height: 150%;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--yec-donate-text-color);
  max-width: 9999em;
}

@media (min-width: 768px) {
  #banner-header p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 992px) {
  #banner-header p {
    font-size: 1.375rem;
  }
}

#yec-donate-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: .625rem;
  align-self: stretch;
}

@media (min-width: 768px) {
  #yec-donate-button-container {
    width: fit-content;
  }
}

#yec-donate-button {
  display: flex;
  background-color: var(--yec-button-bg-color);
  padding: .5rem 1rem;
  justify-content: center;
  align-items: center;
  gap: .625rem;
  align-self: stretch;
  color: var(--yec-button-color);
  border-radius: .4rem;
  font-family: "Inter","SourceSans3-Regular",sans-serif;
  font-weight: 600;
  line-height: 120%;
}

#yec-donate-button:hover, #yec-donate-button:focus {

  background-color: var(--yec-button-bg-color-hover);
}

@media (min-width: 992px) {
  #yec-donate-button {
    padding: .75rem 1.25rem;
  }
}

#yec-donate-button .donate-arrow {
  color: #fff;
  height: 1.5rem;
  width: 1.5rem;
}

.btn {
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid rgba(0,0,0,0);
  font-size: 1rem;
  transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#banner-header a {
  text-decoration: none;
  touch-action: manipulation;
}
