@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  src:
    url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("ttf"),
    url("../fonts/Montserrat/Montserrat-SemiBold.woff") format("woff"),
    url("../fonts/Montserrat/Montserrat-SemiBold.woff2") format("woff2");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial;
}

:root {
  --primary-100: #F0F0F0;
  --primary-16: rgb(240, 240, 240, 0.16);
  --primary-20: rgb(240, 240, 240, 0.2);
  --primary-64: rgba(240, 240, 240, 0.64);
  --bg-100: #0E0E0E;
  --bg-80: #161616;
  --button: #3B3B3B;
  --red: #D0021B;

}

html,
body {
  background: var(--bg-100);
  height: 100%;
}

.content {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.header {
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header__text {
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  margin-top: 12px;
  color: var(--primary-64);

}

.body {
  background: var(--bg-80);
  border-radius: 16px;
  padding: 40px;
}

.body__title {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 32px;
  color: var(--primary-100);
}

.body__title span {
  color: var(--red);
}

.body__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.body__list__item {
  display: flex;
  gap: 16px;
}

.body__list__item__number {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button);
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: var(--primary-100);
}

.body__list__item__title {
  font-size: 20px;
  line-height: 28px;
  color: var(--primary-100);
  font-weight: 600;
  margin-bottom: 2px;
}

.body__list__item__text {
  font-size: 16px;
  line-height: 22px;
  color: var(--primary-64);
  font-weight: 600;
}

.body__button {
  border: none;
  background: var(--primary-20);
  color: var(--primary-100);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 50px;
  margin-top: 32px;
  cursor: pointer;
}

.footer {
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  padding: 32px 0 40px;
  color: var(--primary-64);
}

.popup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: var(--bg-80);
  justify-content: center;
  align-items: center;
}

.popup--active {
  display: flex;
}

.popup__close {
  position: absolute;
  top: 40px;
  inset-inline-end: 40px;
  border-radius: 50px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--primary-16);
  cursor: pointer;
}

.popup__content {
  max-width: 1180px;
  width: 100%;
  
}
.popup__content__inner {
  position: relative;
  background: var(--bg-100);
  padding-bottom: 56.27%;
}

.popup__content__inner iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  .body {
    padding: 24px;
  }

  .body__title {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 32px;
  }

  .body__list {
    gap: 16px;
  }

  .body__list__item {
    display: flex;
    gap: 12px;
  }

  .body__list__item__number {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
  }

  .body__list__item__title {
    font-size: 16px;
    line-height: 22px;
  }

  .body__list__item__text {
    font-size: 14px;
    line-height: 20px;
  }

  .body__button {
    height: 56px;
    font-size: 16px;
    line-height: 22px;
    margin-top: 20px;
  }

  .popup__close {
    top: 16px;
    inset-inline-end: 16px;
  }
}