@font-face {
  font-family: "Injekuta Rg";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/media/Injekuta.otf) format("truetype");
}

:root {
  font-family: Helvetica, Arial, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  background-color: #000;
}

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

html {
  display: block;
  white-space: normal;
  overflow-x: hidden;
  max-width: 100%;
}

body.page {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  color: #fff;
  background-color: #000;
  background-image: url(/media/background.webp);
  background-size: contain;
  background-repeat: repeat-y;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
  background-position: 50% 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: normal;
}

.page-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: inherit;
  font-family: Bahnschrift, "DIN Alternate", "Franklin Gothic Medium",
    "Nimbus Sans Narrow", sans-serif-condensed, sans-serif;
  white-space: normal;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px 30px 50px;
}

.section--presence {
  padding-left: 0;
  padding-right: 0;
}

.section--join {
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 25%;
  background-image: url(/media/footer.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
  background-position: 50% 100%;
  height: min-content;
  min-height: 300px;
}

.hero-logo-wrap {
  display: block;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 26vh;
  max-height: 300px;
  margin-bottom: 40px;
}

.hero-gold-line {
  position: absolute;
  top: 20%;
  width: 100%;
  height: 60%;
  background-image: linear-gradient(to right, transparent, #835e17 46% 54%, transparent);
  background-size: auto auto;
  background-repeat: repeat;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
  background-position: 0 0;
}

.hero-logo {
  position: absolute;
  object-fit: contain;
  margin-left: calc(50% - 150px);
  max-height: 300px;
  height: 26vh;
}

.prose {
  width: 80%;
}

.prose--lg {
  font-size: 1.125rem;
}

.prose--center {
  text-align: center;
}

.prose--spaced {
  margin-bottom: 20px;
}

.heading {
  font-family: "Injekuta Rg", sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.heading--section {
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin-bottom: 20px;
}

.heading--contact {
  text-transform: none;
}

.heading--contact-role {
  font-size: 1.3rem;
  line-height: 2.25rem;
  text-transform: none;
  margin: 0;
}

.heading--contact-name {
  font-size: 1rem;
  line-height: 2.25rem;
  text-transform: none;
  margin: 0;
}

.system-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
  padding-left: 20px;
}

.system-card--lesnik {
  padding-right: 0;
  padding-left: 0;
}

.system-card--turong {
  padding-bottom: 20px;
  padding-right: 0;
  padding-left: 0;
  width: 80%;
}

.system-link {
  font-size: 1.6rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: -0.8em;
  z-index: 1;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.system-link:hover {
  color: #a6ccf2;
}

.system-link__icon {
  font-size: 50%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5rem;
}

.system-link__icon--turong {
  bottom: 0;
}

.system-map {
  object-fit: contain;
  max-width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  padding: 0 20px 20px;
}

.contact-portrait-wrap {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 10px 0;
  /* Room for the offset decorative frame shadows (±50px). */
  padding: 50px;
}

.contact-portrait {
  object-fit: contain;
  max-height: 280px;
  max-width: max-content;
  width: auto;
  height: auto;
  outline: none;
  border: none;
  box-shadow: #f89a11 -50px -50px 0 -40px, #165da1 50px 50px 0 -40px;
}

.contact-bio {
  width: 80%;
  font-size: 1rem;
  text-align: center;
  font-style: italic;
  font-family: Bahnschrift, "DIN Alternate", "Franklin Gothic Medium",
    "Nimbus Sans Narrow", sans-serif-condensed, sans-serif;
}

.link-icon {
  display: inline-block;
  text-decoration: none;
}

.link-icon:hover {
  filter: sepia(100%) hue-rotate(150deg);
  scale: 110% 110% 100%;
}

.inara-logo {
  object-fit: contain;
  max-height: 40px;
  height: 40px;
  max-width: 100%;
  color: #fff;
}

.email-link {
  display: inline-block;
  margin-top: 0.5em;
  color: #cacaca;
  text-decoration: none;
}

.email-link:hover {
  color: #fff;
}

.email-link__text {
  min-height: 1em;
}

.btn-apply {
  display: inline-block;
  margin-top: 1em;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background-color: #3b82f6;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  scale: 115% 115% 100%;
}

.btn-apply:hover {
  background-color: #1770ff;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  display: inline-block;
}

@media (max-width: 991px) {
  body.page {
    background-image: url(/media/background-mobile.webp);
    background-repeat: repeat-y;
    background-attachment: scroll;
    background-size: contain;
    background-position: 50% 100%;
  }

  .heading,
  .contact-bio {
    text-align: center;
  }

  .contact-card {
    width: 100%;
  }

  .section--presence {
    padding-left: 0;
    padding-right: 0;
  }

  .system-map {
    max-width: 90%;
  }

  .system-link {
    margin-bottom: 0;
  }
}