.main-section {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 16px 0;
  border-radius: 22px;
  background: #ff8c00;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
}

.header-title {
  font-family: var(--second-family);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  line-height: 144%;
  color: #1f013d;
  transition: color 0.3s ease;
}

.header-title:hover {
  color: #fff;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 460;
  font-size: 16px;
  line-height: 188%;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #ff8c00;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;

  svg {
    fill: none;
    stroke: #1f013d;
    transition: stroke 0.4s ease;
  }
}

.menu-btn:hover,
.menu-btn:focus {
  svg {
    stroke: #fff;
  }
}

.google-link {
  display: none;
}

@media screen and (min-width: 1440px) {
  .main-section {
    top: 22px;
    padding: 11px 0;
  }

  .header-title {
    font-size: 26px;
  }

  .page-nav {
    display: block;
  }

  .page-nav-link {
    color: #1f013d;
  }

  .page-nav-link:hover {
    color: #fff;
  }

  .google-link {
    display: block;

    font-family: var(--second-family);
    font-weight: 700;
    font-size: 16px;
    color: #1f013d;
    text-align: center;

    border-radius: 12px;
    padding: 18px 28px;
    background: #fff;
    border: 2px solid #fff;

    transition:
      color 0.3s ease,
      border-color 0.3s ease,
      background-color 0.3s ease;
  }

  .google-link:hover,
  .google-link:focus {
    background-color: #ff8c00;
  }

  .menu-btn {
    display: none;
  }
}

/* hero  */

.dashboard {
  padding: 96px 0;
  background-image: url(../images/home.jpg);
  background-position: center;
  background-size: cover;
}

.main__banner__title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 28px;
  line-height: 129%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.main__banner__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.main__banner__link {
  display: block;

  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #1f013d;
  text-align: center;

  border-radius: 12px;
  padding: 18px;
  background: #fff;
  border: 2px solid #fff;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.main__banner__link:hover,
.main__banner__link:focus {
  background-color: #ff8c00;
}

.hero-link-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media screen and (min-width: 1440px) {
  .dashboard {
    padding-top: 200px;
    padding-bottom: 137px;
  }

  .hero-main-content {
    width: 752px;
    margin: 0 auto;
  }

  .main__banner__title {
    font-size: 44px;
  }

  .hero-link-wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .main__banner__link {
    width: 248px;
  }
}

/* hwy__block  */

.hwy__block-container {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

@media screen and (min-width: 1440px) {
  .hwy__block-container {
    flex-direction: row;
    align-items: center;

    .title {
      text-align: start;
    }
  }
}

/* mach__block  */

.mach__block-content {
  padding: 40px 0;
}

.mach__block-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mach__block-item {
  border-radius: 12px;
  padding: 22px;
  background: #fff;

  img {
    width: 68px;
    flex-shrink: 0;
    margin-bottom: 24px;
  }

  span {
    display: block;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #250051;
    margin-bottom: 12px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #250051;
  }
}

@media screen and (min-width: 1440px) {
  .mach__block-content {
    padding: 80px 0;
  }

  .mach__block-list {
    flex-direction: row;
    align-items: center;
  }

  .mach__block-item {
    width: calc((100% - 44px) / 3);
  }
}

/* pl__game__block  */

.game-list {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  list-style: disc;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

@media screen and (min-width: 1440px) {
  .pl__game__block-img {
    flex-shrink: 0;
  }
}

/* tch__stat__block  */

#tch__stat__block {
  background-image: url(../images/spec.jpg);
  background-position: center;
  background-size: cover;
  padding: 60px 0;
}

.table {
  width: 770px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.row {
  display: flex;
}

.cell {
  width: calc(100% / 3);
  padding: 16px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

.header {
  background: rgba(255, 140, 0, 0.55);

  .cell {
    padding: 32px 16px;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    text-transform: uppercase;
    color: #fff;
  }
}

@media screen and (min-width: 1440px) {
  #tch__stat__block {
    padding: 120px 0;
  }
  .cell {
    padding: 16px 42px;
    font-size: 20px;
  }

  .header {
    margin-bottom: 42px;

    .cell {
      padding: 42px;
      font-size: 20px;
    }
  }

  .table {
    padding-bottom: 42px;
  }
}

/* graph__2__block */

/* play__adw__block  */

#play__adw__block {
  background-image: url(../images/spec.jpg);
  background-position: center;
  background-size: cover;
  padding: 76px 0;
}

@media screen and (min-width: 1440px) {
  #play__adw__block {
    padding: 120px 0;

    .title {
      width: 740px;
      margin: 0 auto;
      margin-bottom: 40px;
    }
  }
}

/* footer */

.footer {
  padding: 12px 0;
  background: #ff8c00;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid #250051;
  padding-bottom: 22px;
}

.footer-title {
  a {
    display: block;
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 900;
    font-size: 26px;
    line-height: 131%;
    color: #1f013d;
    margin-bottom: 18px;
    text-align: center;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #fff;
  }

  p {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #250051;
    text-align: center;
  }
}

.footer-nav {
  ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;

    font-family: var(--third-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #250051;
  }

  a {
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: #fff;
  }
}

.footer-flex2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #250051;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;

  font-family: var(--third-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #250051;

  a {
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: #fff;
  }
}

@media screen and (min-width: 1440px) {
  .footer {
    padding: 32px 0;
  }

  .footer-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-title {
    a,
    p {
      text-align: start;
    }
  }
  .footer-nav {
    ul {
      align-items: center;
      justify-content: flex-end;
    }
  }

  .footer-flex2 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-list {
    gap: 22px;
    flex-direction: row;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  padding-top: 120px;

  z-index: 8;
  backdrop-filter: blur(22px);
  background: #250051;
  transform: translateY(-100%);
  transition: transform 1s ease;
  border-radius: 0 0 32px 32px;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 0;
  transition: transform 0.4s ease;
  backdrop-filter: blur(22px);
  background: #250051;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #fff;
  text-align: center;
  margin-bottom: 34px;
}

.popup-btn {
}

.popup-btn:hover {
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 18px;
}

@media screen and (min-width: 1440px) {
  .popup-text {
    font-size: 20px;
    margin: 0;
    text-align: start;
  }

  .popup-container {
    display: flex;
    align-items: center;
    gap: 140px;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}

/* geo popup  */

.geo-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(22px);
  background: #250051;
  z-index: 999;
}

.geo-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-content {
  width: 447px;
  max-width: 100%;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 49px 22px;

  background: rgba(159, 134, 226, 0.45);

  img {
    width: 22px;
    margin: 0 auto;
    margin-bottom: 8px;
    animation: scaleAnimation 2s infinite ease-in-out;
  }

  h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 133%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 28px;
  }

  .geo-btn {
    padding: 18px 48px;
  }
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (min-width: 1440px) {
  .geo-content {
    h2 {
      font-size: 38px;
    }
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.4s ease;

  svg {
    fill: none;
    stroke: #fff;
    transition: stroke 0.3s ease;
  }
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
  border-color: #fff;

  svg {
    stroke: #fff;
  }
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.popup-click {
  transform: translateY(100%);
}

.overflow {
  overflow: hidden;
}
