:root {
  --background-color: #17121c;
  --background-color-opacity: rgba(23, 18, 28, 0.696);
  --primary-color: #f4a11b;
  --primary-color-opacity: #fdfae707;
  --header-color: #150620;
  --text-color: #e8bc7a;
  --bonus-color: rgb(52, 50, 34);

  --header-height: 88px;
  --logo-font-size: 1.9rem;
  --border-radius: 28px;
  --asdfasdfasd-width: 1440px;
  --letter-spacing: 0.1px;

  --font-size: 1rem;
  --text-height: 1.5rem;
  --button-text-size: 1.1rem;
  --title-size: 1.5rem;
  --menu-item-size: 1.2rem;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--body-font);
  font-size: var(--button-text-size);
  line-height: var(--text-height);
  background-color: var(--background-color);
  color: var(--text-color);
  padding-top: var(--header-height);
  letter-spacing: var(--letter-spacing);
  height: 100%;
}

img {
  vertical-align: top;
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: var(--border-radius);
}

ul {
  list-style: none;
}

a {
  color: var(--text-color);
  cursor: pointer;
  text-decoration: none;
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 3px var(--primary-color);
  }

  50% {
    filter: brightness(1.1);
    box-shadow: 0 0 10px var(--primary-color);
  }

  100% {
    box-shadow: 0 0 3px var(--primary-color);
  }
}

.button {
  animation: glowing 1300ms infinite;
  padding: 10px 30px;
  background: var(--primary-color);
  border-radius: var(--border-radius);
  font-size: var(--title-size);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--background-color);
  width: 100%;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.button:hover {
  filter: brightness(1.2);
  box-shadow: 1px 0px 10px var(--text-color);
  transition: all 0.3s ease-in-out;
}

.header {
  background-color: var(--header-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
}

.navigation {
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: var(--logo-font-size);
  color: var(--text-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 80px;
  height: 80px;
}

#menu__toggle {
  opacity: 0;
}

/* стилизуем кнопку */
.menu__btn {
  display: flex;
  align-items: center;
  position: fixed;
  top: calc((var(--header-height) - 30px) /2);
  left: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1;
}

/* добавляем "гамбургер" */
.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
}

.menu__btn>span::before {
  content: '';
  top: -10px;
}

.menu__btn>span::after {
  content: '';
  top: 10px;
}

/* контейнер меню */
.menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  text-align: center;
  background-color: var(--background-color);
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
}

/* элементы меню */
.asdfasdfasdasd {
  display: block;
  padding: 12px 24px;
  color: var(--text-color);
  font-size: var(--menu-item-size);
  font-weight: 600;
  text-decoration: none;
}

.asdfasdfasdasd:hover {
  background-color: var(--text-color);
  color: var(--background-color);
}

#menu__toggle:checked~.menu__btn>span {
  transform: rotate(45deg);
}

#menu__toggle:checked~.menu__btn>span::before {
  top: 0;
  transform: rotate(0);
}

#menu__toggle:checked~.menu__btn>span::after {
  top: 0;
  transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
  visibility: visible;
  left: 0;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
  transition-duration: .25s;
}

.menu__box {
  transition-duration: .25s;
}

.asdfasdfasdasd {
  transition-duration: .25s;
}

.asdfasdfasd {
  padding: 20px;
  max-width: var(--asdfasdfasd-width);
  margin: 0 auto;
}

h1 {
  font-size: var(--title-size);
}

.title {
  text-align: center;
}

.asdfasdf {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.asdfasdf__top {
  display: flex;
  gap: 20px;
}

.asdfasdf__top div {
  flex: 1 1 50%;
}

.asdfasdf__top__image {
  height: 200px;
}

.asdfasdf__top__image img {
  height: 100%;
  width: 100%;
}

.second {
  position: relative;
}

.second img {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}


.asdfasdf__top .first {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 20px;
}

.asdfasdf__top .first div {
  flex: 1 1 40%;
}

.asdfasdf__top__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.asdfasdf__top__content span {
  text-align: center;
  padding: 20px;
}

.asdfasdf__top__content .button {
  width: fit-content;
}

.asdfasdf__bottom {
  position: relative;
  display: flex;
}

.asdfasdf__bottom img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
}

.asdfasdf__second__content {
  border-radius: var(--border-radius);
  background: var(--background-color-opacity);
  padding: 20px;
  background: var(--primary-color-opacity);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: justify;
}

.asdfasdf__bottom__content {
  border-radius: var(--border-radius);
  background: var(--background-color-opacity);
  padding: 20px;
  margin: 20px;
  width: 50%;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  align-items: flex-start;
}

.asdfasdf__bottom .title {
  margin: 10px 0;
  font-size: var(--title-size);
}

.asdfasdf__bottom .description {
  font-size: 16px;
  margin-bottom: 20px;
}

.asdfasdfasdasd1wef {
  display: flex;
  gap: 20px;

}

.asdfasdfasdasd1wef div {
  background: var(--primary-color-opacity);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: justify;
  align-items: flex-start;
  flex: 0 1 33%;
}

.asdfasdfasdasd1wef div img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
}

.bonus {
  filter: brightness(1.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  background: var(--bonus-color);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-top: 20px;
  gap: 10px;
  text-align: center;
}

.bonus .button {
  width: fit-content;
}

footer {
  position: relative;
  border-top: 1px solid var(--text-color);
  display: flex;
  justify-content: center;
  gap: 40px;
  filter: brightness(0.8);
}

footer.asdfasdfasd {
  padding-bottom: 180px;
}

footer div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#cookie-popup {
  position: absolute;
  left: 0;
  bottom: 20px;
  border: 1px solid var(--text-color);
  padding: 20px;
  width: calc(100% - 40px);
  margin: 20px;
}

#cookie-popup button {
  cursor: pointer;
  padding: 5px;
  background: var(--primary-color);
  color: var(--background-color);
}

.section p {
  padding: 10px;
}

@media (max-width: 1024px) {

  .logo {
    font-size: calc(var(--logo-font-size) * 0.8);
  }

  .button {
    font-size: calc(var(--button-text-size) * 0.8);
    letter-spacing: -1px;
  }

  .asdfasdf__top div {
    flex: 1 1 100%;
  }

  .asdfasdf__top {
    flex-direction: column;
  }

  .asdfasdf__bottom {
    flex-direction: column;
  }

  .asdfasdf__bottom .title {
    font-size: 24px;
  }

  .asdfasdf__bottom__content {
    margin: 20px;
    width: calc(100% - 40px);
  }

  .asdfasdfasdasd1wef {
    flex-direction: column;
    gap: 20px;
  }

  body {
    margin-bottom: 120px;
  }

  .bonus {
    position: fixed;
    z-index: 1;
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0;
  }

  .bonus h1:nth-child(2) {
    display: none;
  }

  footer {
    flex-direction: column;
    padding-bottom: 320px !important;
  }

  #cookie-popup {
    width: calc(100% - 40px);
    margin: 20px;
    bottom: 80px;
  }
}