:root {
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', arial, 'Noto Sans',
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-family: 'e-Ukraine', var(--font-system);
  --white: #fff;
  --black: #000;
  --black-hover: #1f1f1f;
  --red: rgb(221, 51, 51);
  --border-radius: 35px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font-family);
}

.promo-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: var(--black);
}
.promo-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-section__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
.promo-section__emblem {
  width: 100px;
  height: 100px;
  margin-bottom: 50px;
}
.promo-section__emblem img {
  width: 100%;
  height: 100%;
}
.promo-section__logo {
  max-width: 580px;
  width: 100%;
}
.promo-section__logo img {
  width: 100%;
  height: auto;
}
.promo-section__text {
  font-size: 48px;
  font-weight: 500;
  margin: 15% 0;
}
._btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  min-width: 280px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  background-color: var(--black);
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: var(--border-radius);
}
@media (hover: hover) {
  ._btn:hover {
    background-color: var(--black-hover);
  }
}
.technical-popup {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.technical-popup._active {
  opacity: 1;
  visibility: visible;
  pointer-events: initial;
}
.technical-popup__close {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.technical-popup__close svg {
  width: 100%;
  height: 100%;
}
.technical-popup__close path {
  transition: fill 0.2s ease;
}
@media (hover: hover) {
  .technical-popup__close:hover path {
    fill: var(--red);
  }
}
.technical-popup__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 350px;
  width: 100%;
  padding: 30px;
  margin: 15px;
  max-height: calc(100% - 90px);
  background-color: var(--white);
  border-radius: 10px;
  overflow-y: auto;
  transform: scale(0);
  transition: transform 0.2s ease;
}
.technical-popup._active .technical-popup__body {
  transform: scale(1);
}
.technical-popup__text {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 1024px) {
  .promo-section__emblem {
    width: 80px;
    height: 80px;
  }
  .promo-section__logo {
    max-width: 430px;
  }
  .promo-section__text {
    font-size: 36px;
  }
  ._btn {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
    min-width: 220px;
  }
}
@media (max-width: 650px) {
  .promo-section__emblem {
    width: 60px;
    height: 60px;
  }
  .promo-section__logo {
    max-width: 320px;
  }
  .promo-section__text {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .promo-section__emblem {
    margin-bottom: 30px;
  }
  .promo-section__logo {
    max-width: 280px;
  }
  .promo-section__text {
    font-size: 24px;
  }
}
@media (max-width: 415px) {
  .promo-section__text {
    font-size: 18px;
  }
}
