@font-face {
  font-family: "Kyiv Type Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/kyiv-type-sans.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Kyiv Type Fallback";
  src: local("Arial");
  size-adjust: 117.4%;
  ascent-override: 85.2%;
  descent-override: 17%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Kyiv Type Fallback H1";
  src: local("Arial");
  size-adjust: 105.86%;
  ascent-override: 85.2%;
  descent-override: 17%;
  line-gap-override: 0%;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: "Kyiv Type Sans", "Kyiv Type Fallback", sans-serif;
  font-size: 13px;
}

.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 100;
}
.header {
  max-width: 920px;
  margin: 30px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
}
.header .logo img {
  width: 150px;
  height: auto;
}
.header nav {
  display: flex;
}
.header nav > a {
  color: #000000;
  border-bottom: transparent solid 2px;
  margin: 12px 25px;
}
.header nav > a:hover,
.header nav > a[aria-current] {
  border-bottom-color: #0090ff;
}
.header .mobile-menu,
.header .close {
  display: none;
}

.hero {
  max-width: 920px;
  margin: 120px auto 32px;
}
.hero h1 {
  font-family: "Kyiv Type Sans", "Kyiv Type Fallback H1", sans-serif;
  text-transform: uppercase;
  font-size: 58px;
  line-height: 60px;
  font-weight: 700;
  margin: 30px 0 0;
}
.hero h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0 20px;
}
.hero-bottom {
  position: relative;
}
.hero-bottom > p {
  width: 620px;
  margin: 13px 0;
}
.coat-of-arms {
  position: absolute;
  z-index: 1;
  width: 334px;
  height: 334px;
  right: max(-42px, calc((920px - 100vw) / 2));
  bottom: -86px;
}

.button {
  color: #ffffff;
  background-color: #0090ff;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 15px;
  font-size: 20px;
  line-height: normal;
  margin-top: 15px;
  border: transparent solid 2px;
}
.button svg {
  width: 30px;
  height: 30px;
  margin: -2px 4px -6px -5px;
  float: left;
}
.button:hover {
  border-color: #ffca00;
  background-color: #ffffff;
  color: #000000;
}
.button:hover path {
  fill: #000000;
}

.video-container {
  text-align: center;
  background-color: #f4f4f4;
  padding-top: 40px;
}
.video-container video {
  display: inline-block;
  width: 920px;
  max-width: 100%;
  height: auto;
}

.content-container {
  background-color: #f4f4f4;
  padding: 10px 0 60px;
}
.content {
  margin: 0 auto;
  max-width: 920px;
}
.content > h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 50px 0 0.83em;
  scroll-margin-top: 150px;
}
.content p {
  margin: 13px 0;
}
.content ul {
  margin: 13px 0;
  padding-left: 40px;
}
.content a {
  color: #0090ff;
  text-decoration: underline;
}

.activity {
  display: grid;
  grid-template-columns: 10% auto;
  grid-template-rows: auto;
}
.activity > * {
  align-self: center;
}
.activity-top > * {
  align-self: start;
}
.activity-media {
  grid-column: 1;
  grid-row: 1;
}
.activity-media img {
  width: 100%;
  height: auto;
}
.activity-text {
  grid-column: 2;
  grid-row: 1;
  padding: 0 0 0 10px;
  overflow-wrap: break-word;
}

.partners {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5em;
}
.partners figure {
  text-align: center;
  margin: 20px 0;
  max-width: 160px;
  flex-basis: 100%;
}
.partners figure img {
  width: 125px;
  height: 125px;
  margin: 0 auto;
  border-radius: 9999px;
}
.partners figcaption {
  margin: 0.5em 0 1em;
}
.partners a {
  color: #000000;
  text-decoration: none;
}

.code-box {
  background-color: #ffffff;
  padding: 15px;
  border: #cccccc solid 1px;
  border-radius: 10px;
  margin: 13px 0 30px;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.spacer-sm {
  height: 20px;
}
.spacer-lg {
  height: 100px;
}

.cols {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.75em;
}
.cols > .col {
  flex-grow: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
.contact-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-photo figure {
  margin-bottom: 1em;
}
.contact-photo figure img {
  width: 180px;
  height: auto;
  border-radius: 9999px;
}
.contact-name {
  font-size: 20px;
  text-transform: uppercase;
}
.content .contact-name {
  margin: 20px 0;
}

@media (max-width: 599px) {
  .cols > .col {
    flex-basis: 100%;
  }
}

@media (min-width: 600px) and (max-width: 781px) {
  .cols > .col:not(:only-child) {
    flex-basis: calc(50% - 1em);
    flex-grow: 0;
  }
  .cols > .col:nth-child(2n) {
    margin-left: 2em;
  }
}

@media (min-width: 782px) {
  .cols {
    flex-wrap: nowrap;
  }
  .cols > .col {
    flex-basis: 0;
  }
  .cols > .col:not(:first-child) {
    margin-left: 2em;
  }
}

@media (max-width: 1280px) {
  .header nav {
    display: block;
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: calc(100vh - 110px);
    padding: 0 0 30px;
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
    z-index: 20;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
  }
  .header nav::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .is-menu-open .header nav {
    visibility: visible;
    transform: translateY(0);
  }
  .header nav .close {
    display: block;
    float: right;
    margin: 10px 30px 20px 0;
  }
  .header nav > a {
    clear: both;
    display: block;
    margin: 30px 40px;
    font-size: 24px;
  }
  .header nav > a:hover,
  .header nav > a[aria-current] {
    border-bottom-color: transparent;
  }
  .header .mobile-menu {
    display: block;
    margin: -5px 0 0;
    background-color: #ffffff;
  }
}

@media (max-width: 919px) {
  .header {
    height: 65px;
    margin: 30px 20px 0;
  }
  .header .mobile-menu {
    margin: -5px 10px 0 0;
  }

  .hero {
    margin: 110px 20px 32px;
  }
  .hero h1 {
    text-align: center;
  }
  .hero h2 {
    font-size: 24px;
    text-align: center;
  }
  .hero-bottom .coat-of-arms {
    display: none;
  }
  .hero-bottom > p {
    text-align: center;
    width: auto;
  }
  .hero-bottom .donate-button-container {
    text-align: center;
  }

  .video-container {
    padding-top: 0;
  }

  .content-container {
    padding: 1px 0 40px;
  }
  .content {
    margin: 0 20px;
  }
  .content > h2 {
    scroll-margin-top: 130px;
  }
  .activity {
    grid-template-columns: 15% auto;
  }

  .cols.contact-row {
    flex-direction: column;
  }
  .cols.contact-row > .col:not(:first-child) {
    margin-left: 0;
  }
  .contact-row .contact-photo {
    text-align: center;
  }
  .contact-row .contact-photo figure img {
    margin: 0 auto;
  }
}

@media (max-width: 319px) {
  .hero h1 {
    font-size: 48px;
    line-height: 50px;
  }
}

.is-locked,
.is-locked body {
  overflow: hidden;
}
