@import url(https://fonts.googleapis.com/css?family=Montserrat:600);

@font-face {
  font-family: 'Object Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/ObjectSans/ObjectSansRegular.otf');
}
@font-face {
  font-family: 'Object Sans';
  font-weight: 400;
  font-style: oblique;
  src: url('../fonts/ObjectSans/ObjectSansSlanted.otf');
}
@font-face {
  font-family: 'Object Sans';
  font-weight: 730;
  src: url('../fonts/ObjectSans/ObjectSansHeavy.otf');
}

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

:root {
  --black: #000000;
  --white: #FFFFFF;

  --accent-color: #D4FF00;
  --accent-color-hover: #eeff04;
  --second-color: #7A20F7;
  --second-color-hover: #893df5;

  --dark-100: #1C1C1C;
  --dark-200: #202020;
  --dark-300: #383838;
  --dark-500: #797777;

  --light-800: #EEEEEE;

  --container-padding: 10px;
  --container-size: 1300px;
}
@media (max-width: 500px) {
  :root {
    --container-padding: 16px;
  }
}

html,
body {
  width: 100%;
  height: 1px;
  min-height: 100%;

  font-size: 14px;
  font-family: 'Object Sans';

  background-color: var(--black);

  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
body.fixed {
  overflow: hidden;
}

.wrapper {
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-size);
  padding: 0px var(--container-padding);
  margin: 0 auto;
}

/* section */
.section {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.section__title {
  margin-bottom: 48px;

  font-size: 64px;
  font-weight: 400;
  letter-spacing: -1.3px;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;

  text-indent: 20px;
}
@media (max-width: 500px) {
  .section {
    padding: 35px 0px;
  }
  .section__title {
    margin-bottom: 32px;
    font-size: 36px;
    letter-spacing: -0.7px;
    text-indent: 0px;
  }
}

/* header */
.header {
  padding: 16px 0px;
}
.header__content {
  background-color: var(--white);
  padding: 10px 10px 10px 24px;
  border-radius: 24px;
  
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header__column {
  display: flex;
  align-items: center;
}
.header__column.left {
  justify-content: flex-start;
}
.header__column.center {
  justify-content: center;
}
.header__column.right {
  justify-content: flex-end;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  max-height: 27px;
}
.header__media {
  --icon-size: 40px;
  --icon-gap: 16px;

  display: flex;
  align-items: center;
  gap: 16px;
}
.header__media-link {
  flex: 0 0 var(--icon-size);
  width: var(--icon-size);
  height: var(--icon-size);

  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;

  background-color: var(--black);
  opacity: 0.2;

  transition: 0.3s;
}
.header__media-link:nth-child(1) {
  --icon: url('../img/instagram.svg');
}
.header__media-link:nth-child(2) {
  --icon: url('../img/tiktok.svg');
}
.header__media-link:nth-child(3) {
  --icon: url('../img/vk.svg');
}
.header__media-link:nth-child(4) {
  --icon: url('../img/youtube.svg');
}
.header__media-link:hover {
  background-color: var(--second-color);
  opacity: 1;
}
.header__button {
  display: block;
  padding: 10px 20px;
  border-radius: 16px;

  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.4px;

  background-color: var(--second-color);
  color: var(--white);

  text-decoration: none;
  transition: 0.3s;
}
.header__button:hover {
  background-color: var(--second-color-hover);
}
@media (max-width: 500px) {
  .header__content {
    padding: 4px 4px 4px 14px;
    border-radius: 16px;
  }
  .header .logo img {
    max-height: 16px;
  }
  .header__media {
    display: none;
  }
  .header__button {
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 16px;
  }
}

/* timer */
.timer {
  --digit-width: 90px;
  --digit-height: 123px;
  --point-width: 11px;
  --point-height: 17px;
}
.timer__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.timer__block {
  display: block;
}
.timer__block-digits {
  display: flex;
  align-items: center;
  gap: 10px;
}
.timer__digit {
  flex: 0 0 var(--digit-width);
  width: var(--digit-width);
  height: var(--digit-height);

  background: linear-gradient(to bottom, #323232, #1A1A1A);
  box-shadow: 0px 2px 7px 0px #00000066, inset 0px -2px 2px 0px #3D3D3D1A, inset 0px 1px 0px 0px #474747;

  border-radius: 15px;
  position: relative;
}
.timer__digit-point {
  width: var(--point-width);
  height: var(--point-height);
  background: linear-gradient(to bottom, #363636 0%, #7A7A7A 14%, #DADADA 35%, #DADADA 57%, #B4B4B4 71%, #5B5B5B 82%, #545454 91%, #969696 100%);

  border-radius: 2px;
  border: 1px solid #00000033;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.timer__digit-point:first-child {
  left: -2px;
}
.timer__digit-point:last-child {
  right: -2px;
}
.timer__digit-line {
  width: 100%;
  border: 1px solid #383838;
  box-shadow: 0px 1px 1px 0px #00000040;

  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
}
.timer__digit-value {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 80px;
  font-weight: 730;
  letter-spacing: -1.6px;
  line-height: 1;

  color: var(--white);

  position: relative;
  z-index: 3;
}
.timer__block-label {
  margin-top: 16px;
  width: 100%;

  display: flex;
  justify-content: center;

  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.4;
  color: var(--accent-color);
}
@media (max-width: 500px) {
  .timer {
    --digit-width: 37px;
    --digit-height: 50px;
    --point-width: 5px;
    --point-height: 7px;
  }
  .timer__content {
    width: 100%;

    justify-content: space-between;
    gap: 10px;
  }
  .timer__digit {
    border-radius: 6px;
  }
  .timer__block-digits {
    gap: 4px;
  }
  .timer__digit-value {
    font-size: 32px;
  }
  .timer__block-label {
    margin-top: 6px;
    font-size: 12px;
  }
}

/* tabs */
.tabs {
  width: 100%;
}
.tabs__links {
  width: fit-content;
  padding: 4px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid var(--dark-500);
  border-radius: 16px;
}
.tabs__link {
  flex: 0 0 110px;

  padding: 14px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.6;
  
  text-transform: uppercase;
  text-decoration: none;

  transition: 0.3s;
}
.tabs__link.active {
  background-color: var(--accent-color);
  color: var(--black);
  opacity: 1;
}
.tabs__pages {
  width: 100%;
}
.tabs__page:not(.active) {
  display: none;
}

/* modal */
.modal {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

}
.modal:not(.opened) {
  display: none;
}
.modal-background {
  width: 100%;
  height: 100%;
  
  padding: 50px var(--container-padding);
  background-color: #000000CC;
  
  overflow-y: scroll;
}
.modal-background::-webkit-scrollbar {
  display: none;
}
.modal-content {
  margin: 0px auto;
  max-width: 560px;

  width: 100%;
  background-color: var(--white);
  border-radius: 24px;

  padding: 24px 40px 48px 40px;
}
.modal-header {
  margin-bottom: 25px;
}
.modal-title {
  font-size: 42px;
  color: var(--black);
}
/* .modal-body {} */

.cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;

  width: 100%;
}
.cookies.hidden {
  display: none;
}
.cookies__content {
  width: 100%;

  padding: 12px;
  background-color: var(--white);

  position: relative;
}
.cookies .container {
  max-width: 750px;
  padding-right: 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookies__text {
  font-size: 12px;
  left: 1.15;
  letter-spacing: -0.2px;
}
.cookies__text a {
  color: #0047ED;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.cookies__button {
  padding: 5px 18px;
  border-radius: 10px;

  font-size: 12px;
  left: 1.25;
  letter-spacing: -0.2px;
  text-decoration: none;

  background-color: var(--second-color);
  color: var(--white);

  outline: none;
  border: none;

  cursor: pointer;

  transition: 0.3;
}
.cookies__button:hover {
  background-color: var(--second-color-hover);
}
.cookies__close {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  
  cursor: pointer;
}
@media (max-width: 500px) {
  .cookies__text br {
    display: none;
  }
}

/* footer */
.footer {
  padding-top: 40px;
  padding-bottom: 80px;
}
.footer .container {
  padding-left: 40px;
  padding-right: 40px;

  display: grid;
  grid-template-columns: 31fr 45fr 23fr;
  grid-template-rows: auto auto auto;
  column-gap: 100px;
  row-gap: 30px;
}
.footer__logo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.footer__logo img {
  max-height: 100%;
}
.footer__media {
  grid-column: 1 / 2;
  grid-row: 2 / -1;
}
.footer__media-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.5px;
  font-style: oblique;
  color: var(--white);
}
.footer__media-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer__media-link {
  flex: 0 0 50px;
  height: 45px;

  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
  background-color: #FFFFFF80;
  transition: 0.3s;
}
.footer__media-link:nth-child(1) {
  --icon: url('../img/instagram.svg');
}
.footer__media-link:nth-child(2) {
  --icon: url('../img/tiktok.svg');
}
.footer__media-link:nth-child(3) {
  --icon: url('../img/vk.svg');
}
.footer__media-link:nth-child(4) {
  --icon: url('../img/youtube.svg');
}
.footer__media-link:hover {
  background-color: var(--accent-color);
}
.footer__contact {
  grid-column: 2 / 3;
  grid-row: 2 / 3;

  display: flex;
  gap: 30px;
}
.footer__contact-item-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.5px;
  font-style: oblique;
  color: var(--white);
}
.footer__contact-item-link {
  display: block;
  margin-top: 15px;

  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.4px;
  font-style: oblique;
  color: var(--white);
  opacity: 0.7;

  text-decoration: none;
  transition: 0.3s;
}
.footer__contact-item-link:hover {
  color: var(--accent-color);
  opacity: 1;
}
.footer__policies {
  grid-column: 2 / 3;
  grid-row: 3 / 4;

  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 10px;
}
.footer__policies-link {
  font-size: 14px;
  letter-spacing: -0.2px;
  color: var(--white);
  opacity: 0.3;

  border-bottom: 1px solid currentColor;
  text-decoration: none;

  transition: 0.3s;
}
.footer__policies-link:hover {
  color: var(--white);
  opacity: 1;
}
.footer__copyright {
  grid-column: 3 / 4;
  grid-row: 2 / 3;

  font-size: 14px;
  letter-spacing: -0.2px;
  color: var(--white);
  opacity: 0.9;
}
@media (max-width: 500px) {
  .footer .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);

    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .footer__logo {
    max-height: 20px;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }
  .footer__media {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
  }
  .footer__media-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .footer__contact {
    grid-column: 1 / -1;
    grid-row: 2 / 3;

    flex-direction: column;
  }
  .footer__contact-item-link {
    margin-top: 12px;
  }
  .footer__policies {
    grid-column: 1 / -1;
    grid-row: 5 / 6;
  }
  .footer__policies-link {
    opacity: 0.9;
  }
  .footer__copyright {
    margin-top: 30px;

    grid-column: 1 / -1;
    grid-row: 4 / 5;

    max-width: 180px;
  }
}