/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: > 0.1% and not dead
*/

@media screen and (min-width: 1900px) {
  :root {
    --border-radius: 0.21vw;

    --font-size: 0.83vw;
    --line-height: 1.04vw;

    --content-max-width: calc(100vw - 300px - 300px);
    --content-padding-height: 2.50vw;
    --content-padding-width: 1.67vw;
  }

  /* HEADING */
  :root {
    --heading-font-size: 2.20vw;
    --heading-line-height: 2.92vw;

    --h1-font-size: 5.42vw;
    --h1-line-height: 5.00vw;

    --h2-font-size: 3.33vw;
    --h2-line-height: 3.33vw;
    --h2-padding-bottom: 3.33vw;

    --h3-font-size: 2.50vw;
    --h3-line-height: 2.50vw;

    --h4-font-size: 2.08vw;
    --h4-line-height: 2.50vw;

    --h5-font-size: 1.67vw;
    --h5-line-height: 2.08vw;
  }
  /*  */

  /* ARTICLE */
  :root {
    --article-margin: 0.83vw;

    --desc-large-font-size: 1.25vw;
    --desc-large-line-height: 1.86vw;

    --desc-medium-font-size: 1.04vw;
    --desc-medium-line-height: 1.46vw;

    --desc-small-font-size: 0.73vw;
    --desc-small-line-height: 1.04vw;

    --article-h2-marign-top: 2.50vw;
    --article-h3-marign-top: 2.08vw;
    --article-h4-marign-top: 1.67vw;
    --article-h5-marign-top: 1.25vw;

    --article-li-padding: 0 0 0 1.25vw;
    --article-li-margin: 0.42vw 0 0 0;

    --article-table-border-width: 0.05vw;
    --article-table-padding: 0.42vw 0.83vw;
  }
  /*  */

  /* BUTTON */
  :root {
    --button-min-width: 9.17vw;
    --button-height: 2.92vw;
    --button-font-size: 2.08vw;
    --button-line-height: 2.08vw;
    --button-padding: 0.42vw 1.25vw;

    --button-large-min-width: 12.92vw;
    --button-large-height: 3.75vw;
    --button-large-font-size: 2.50vw;
    --button-large-line-height: 2.92vw;

    --button-small-min-width: 1.88vw;
    --button-small-height: 2.08vw;
    --button-small-font-size: 0.83vw;
    --button-small-line-height: 1.25vw;

    --button-outline-border-width: 0.05vw;

    --button-download-gap: 0.21vw;
    --button-download-font-size: 0.83vw;
    --button-download-line-height: 1.25vw;

    --button-download-svg-width: 1.04vw;
    --button-download-svg-height: 1.04vw;

    --button-faded-gap: 0.83vw;
    --button-faded-font-size: 0.83vw;
    --button-faded-line-height: 1.25vw;

    --button-faded-svg-width: 0.42vw;
    --button-faded-svg-height: 0.83vw;
  }
  /*  */

  /* FORM */
  :root {
    --input-border-radius: 0.42vw;
    --input-border-width: 0.05vw;
    --input-font-size: 1.04vw;
    --input-line-height: 1.46vw;
    --input-padding: 0.68vw 0.78vw;
  }
  /*  */

  /* MENU */
  :root {
    --menu-padding: 0.42vw 1.67vw;
  }
  /*  */

  /* CARDS */
  :root {
    --card-padding-side: 1.25vw;
    --card-padding-bottom: 0.83vw;

    --card-alternate-gap: 1.67vw;

    --card-image-padding: 0.83vw;

    --card-title-font-size: 0.94vw;
    --card-title-line-height: 1.46vw;
    --card-title-padding: 0.83vw;

    --card-date-font-size: 0.63vw;
    --card-date-line-height: 0.63vw;
    --card-date-padding: 0.42vw;

    --card-desc-font-size: 0.73vw;
    --card-desc-line-height: 1.04vw;
    --card-desc-padding: 0.83vw;

    --card-button-padding: 1.04vw;
  }
  /*  */

  /* CONTROLS */
  :root {
    --controls-gap: 3.33vw;
    --controls-margin: 2.08vw auto 0 auto;

    --controls-small-gap: 1.67vw;

    --controls-button-min-width: 2.92vw;
    --controls-button-padding: 0.89vw 1.15vw;

    --controls-button-svg-width: 0.63vw;
    --controls-button-svg-height: 1.15vw;

    --controls-small-button-min-width: 2.29vw;
    --controls-small-button-height: 2.29vw;
    --controls-small-button-padding: 0.57vw 0.83vw;
  }
  /*  */

  /* DOTS */
  :root {
    --dot-top-bottom: 0.78vw;
    --dot-left-right: 0.1vw;
    --dot-width: 2.34vw;
    --dot-height: 0.1vw;
  }
  /*  */

  /* SOCIAL */
  :root {
    --social-gap: 0.63vw;

    --social-item-border-width: 0.05vw;
    --social-item-padding: 0.26vw;
    --social-item-filter-shadow: drop-shadow(0 0 0.42vw var(--accent-color-opacity-45));

    --social-item-svg-size: 1.25vw;
  }
  /*  */

  /* LANG */
  :root {
    --lang-button-gap: 0.42vw;
    --lang-button-padding: 0.52vw 0;

    --lang-button-svg-width: 1.04vw;
    --lang-button-svg-height: 1.04vw;

    --lang-list-padding: 0.63vw 1.25vw 1.25vw 1.25vw;

    --lang-item-border-width: 0.05vw;
    --lang-item-font-size: 0.83vw;
    --lang-item-line-height: 1.04vw;
    --lang-item-padding: 0.63vw 0;
  }
  /*  */



  /* COUNTDOWN */
  :root {
    --countdown-gap: 0.63vw;

    --countdown-element-width: 2.19vw;

    --countdown-element-width: 2.19vw;

    --countdown-value-width: 2.19vw;
    --countdown-value-height: 2.19vw;
    --countdown-value-font-size: 1.67vw;
    --countdown-value-line-height: 2.19vw;

    --countdown-option-font-size: 0.68vw;
    --countdown-option-line-height: 0.47vw;
    --countdown-option-padding-top: 0.42vw;

    --countdown-separator-width: 0.21vw;
    --countdown-separator-height: 2.19vw;
  }
  /*  */



  /* HEADER */
  :root {
    --header-gap: 1.25vw;
    --header-padding: 1.86vw var(--content-padding-width);

    --header-logo-max-height: 0.99vw;

    --header-lang-button-padding: 0.52vw 0;
    --header-lang-button-line-height: 1.04vw;

    --header-button-account-min-width: 2.08vw;
    --header-button-account-border-width: 0.05vw;
    --header-button-account-padding: 0.52vw;

    --header-button-account-svg-width: 0.94vw;
    --header-button-account-svg-height: 0.94vw;

    --header-download-list-gap: 0.42vw;
    --header-download-list-top: calc(100% + 0.42vw);

    --header-download-item-gap: 0.42vw;

    --header-download-item-img-width: 1.93vw;
    --header-download-item-img-height: 1.93vw;

    --header-button-menu-min-width: 1.25vw;
    --header-button-menu-padding: 0.47vw 0;

    --header-active-padding: 0.83vw var(--content-padding-width);
  }
  /*  */



  /* FOOTER */
  :root {
    --footer-main-gap: 1.25vw;
    --footer-main-padding: 0 0 1.25vw 0;

    --footer-logo-max-height: 1.04vw;

    --copyright-before-border-width: 0.05vw;

    --copyright-font-size: 0.57vw;
    --copyright-line-height: 0.83vw;
    --copyright-padding: 1.25vw 0;

    --footer-info-gap: 2.08vw;

    --footer-partners-gap: 2.08vw;
    --footer-partners-item-max-height: 1.04vw;

    --footer-pegi-max-height: 5.73vw;
  }
  /*  */
}



@media screen and (max-width: 1348px) {
  .content {
    overflow: hidden;
  }

  .content.header__content {
    overflow: visible;
  }
}



@media screen and (max-width: 1200px) {
  /* HEADER */
  :root {
    --header-padding: 16px var(--content-padding-width);

    --header-menu-background: var(--second-color);
    --header-menu-gap: 0;
    --header-menu-padding: 32px 0;

    --header-menu-link-font-size: 20px;
    --header-menu-link-line-height: 32px;
    --header-menu-link-padding: 24px;

    --header-lang-button-padding: 32px 0;
  }

  .menu.header__menu {
    position: fixed;
    top: -100%;
    bottom: 100%;
    left: 0;
    right: 0;
    overflow: auto;
    background: var(--header-menu-background);
    padding: var(--header-menu-padding);
  }
  .menu.header__menu.active {
    top: 72px;
    bottom: 0;
  }

  .menu.header__menu > ul {
    flex-direction: column;
    gap: var(--header-menu-gap);
  }

  .menu.header__menu > ul li a {
    font-size: var(--header-menu-link-font-size);
    line-height: var(--header-menu-link-line-height);
    padding: var(--header-menu-link-padding);
  }

  .menu.header__menu .lang.header__lang {
    display: block;
  }

  .lang.header__lang {
    display: none;
    position: static;
  }

  .button.header-lang__button {
    height: auto !important;
  }

  .lang__list.header-lang__list {
    position: relative;
    top: auto;
    left: auto;
    max-width: 280px;
    height: 0;
    overflow: hidden;
    padding: 32px;
    margin: auto;
  }
  .lang__list.header-lang__list.active {
    top: auto;
    height: auto;
  }

  .button-menu.header__button {
    display: block;
  }

  .button-menu.header__button.active rect:nth-child(1) {
    x: 0px;
    y: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .button-menu.header__button.active rect:nth-child(2) {
    height: 0px;
    width: 0px;
    x: 12px;
  }
  .button-menu.header__button.active rect:nth-child(3) {
    x: 0px;
    y: 10px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  /*  */

  /* CARDS */
  .alternate .card-wrapper {
    flex: 0 1 calc(33.3% - 21.3px);
  }
  /*  */
}



@media screen and (max-width: 900px) {
  /* CARDS */
  .alternate .card-wrapper {
    flex: 0 1 calc(50% - 16px);
  }
  /*  */

  /* FOOTER */
  :root {
    --footer-padding: 24px var(--content-padding-width);

    --footer-menu-gap: 24px;

    --footer-social-gap: 40px;

    --copyright-before-left: calc(var(--content-padding-width) * -1);
    --copyright-before-right: calc(var(--content-padding-width) * -1);

    --copyright-text-align: center;

    --footer-info-gap: 32px;

    --footer-partners-gap: 32px;
  }

  .footer__main {
    flex-direction: column;
  }

  .menu.footer__menu {
    width: 100%;
  }

  .social.footer__social {
    width: 100%;
  }

  .footer__info {
    flex-direction: column;
  }
  /*  */
}



@media screen and (max-width: 700px) {
  :root {
    --content-padding-height: 24px;
  }

  /* HEADING */
  :root {
    --h1-font-size: 72px;
    --h1-line-height: 72px;

    --h2-font-size: 48px;
    --h2-line-height: 48px;
    --h2-padding-bottom: 32px;

    --h3-font-size: 40px;
    --h3-line-height: 48px;

    --h4-font-size: 32px;
    --h4-line-height: 40px;

    --h5-font-size: 24px;
    --h5-line-height: 32px;
  }
  /*  */

  /* ARTICLE */
  :root {
    --desc-large-font-size: 20px;
    --desc-large-line-height: 32px;

    --desc-medium-font-size: 18px;
    --desc-medium-line-height: 24px;

    --article-h2-marign-top: 40px;
    --article-h3-marign-top: 32px;
    --article-h4-marign-top: 24px;
    --article-h5-marign-top: 16px;
  }
  /*  */

  /* BUTTON */
  :root {
    --button-large-min-width: 232px;
    --button-large-height: 56px;
    --button-large-font-size: 40px;
    --button-large-line-height: 40px;
  }
  /*  */

  /* CARDS */
  :root {
    --card-padding-side: 16px;
    --card-padding-bottom: 16px;

    --card-title-font-size: 16px;
    --card-title-line-height: 24px;

    --card-desc-padding: 8px;

    --card-date-font-size: 14px;
    --card-date-line-height: 14px;

    --card-button-padding: 16px;
  }

  .alternate .card-wrapper {
    flex: 1 1 100%;
  }
  /*  */

  /* CONTROLS */
  :root {
    --controls-gap: 24px;
    --controls-button-min-width: 56px;
    --controls-button-background: none;
    --controls-button-padding: 17px 22px;
    --controls-button-hover-fill: var(--accent-color);

    --controls-over-button-background: var(--second-color-opacity-60);
  }

  .controls {
    justify-content: space-between;
    margin-left: -22px;
    margin-right: -22px;
  }
  /*  */

  /* POPUP */
  :root {
    --popup-title-margin-top: 24px;

    --popup-description-margin-top: 24px;
  }
  /*  */
}



@media screen and (max-width: 500px) {
  /* BUTTON */
  :root {
    --button-small-height: 32px;
    --button-small-font-size: 14px;
    --button-small-line-height: 16px;
    --button-small-padding: 8px 12px;
  }
  /*  */

  /* CONTROLS */
  :root {
    --controls-margin: 32px auto 0 auto;

    --controls-over-button-min-width: 40px;
    --controls-over-button-height: 40px;
    --controls-over-button-padding: 12px;
  }
  .controls.over .button.controls__button svg {
    width: 7px;
    height: 14px;
  }
  /*  */

  /* HEADER */
  :root {
    --header-gap: 16px;

    --header-button-account-min-width: 32px;
    --header-button-account-height: 32px;
    --header-button-account-padding: 6px;

    --header-button-menu-padding: 4px 0;
  }
  /*  */

  /* FOOTER */
  :root {
    --footer-menu-justify-content: space-around;
    --footer-menu-padding: 8px 0;

    --footer-social-justify-content: space-around;
    --footer-social-gap: 0;
  }
  /*  */

  /* POPUP */
  :root {
    --popup-padding: 0;

    --popup-border: none;
    --popup-border-radius: 0;
    --popup-content-padding: 24px;
  }

  .popup__content {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
}



@media screen and (max-width: 400px) {
  :root {
    --content-padding-width: 16px;
    --content-padding-height: 24px;
  }

  /* HEADING */
  :root {
    --h1-font-size: 64px;
    --h1-line-height: 64px;
  }
  /*  */

  /* ARTICLE */
  :root {
    --article-margin: 8px;

    --desc-large-font-size: 18px;
    --desc-large-line-height: 32px;

    --desc-medium-font-size: 16px;
    --desc-medium-line-height: 24px;

    --article-h2-marign-top: 32px;
    --article-h3-marign-top: 24px;
    --article-h4-marign-top: 16px;
    --article-h5-marign-top: 8px;
  }
  /*  */

  /* CONTROLS */
  :root {
    --controls-gap: 8px;

    --controls-over-button-min-width: 32px;
    --controls-over-button-height: 32px;
    --controls-over-button-padding: 8px;
  }

  .controls.over {
    padding: 16px;
  }
  /*  */

  /* SOCIAL */
  :root {
    --social-item-padding: 3px;
  }
  /*  */

  /* HEADER */
  :root {
    --header-menu-padding: 16px 0;

    --header-menu-link-font-size: 18px;
    --header-menu-link-line-height: 24px;
  }
  /*  */

  /* FOOTER */
  :root {
    --footer-menu-justify-content: space-between;

    --footer-social-justify-content: space-between;
  }
  /*  */
}



@media screen and (max-width: 370px) {
  :root {
    --font-size: 14px;
    --line-height: 20px;

    --content-padding-width: 16px;
  }

  /* HEADING */
  :root {
    --h1-font-size: 56px;
    --h1-line-height: 56px;
  }
  /*  */

  /* ARTICLE */
  :root {
    --desc-large-font-size: 16px;
    --desc-large-line-height: 24px;
  }
  /*  */

  /* HEADER */
  :root {
    --header-menu-link-font-size: 16px;
    --header-menu-link-line-height: 24px;
    --header-menu-link-padding: 20px 16px;

    --header-lang-button-padding: 24px 0;
  }
  /*  */
}