@media (max-width: 1480px) {
  .promo__column {
    gap: 60px;
    padding: 60px 0 120px;
  }

  .promo__block {
    padding: 90px 55px 35px;
  }

  .screen {
    gap: 55px;
  }

  .screen__img {
    left: 32%;
  }

  .footer__list {
    gap: 55px;
  }
}


@media (max-width: 1230px) {
  .menu {
    gap: 10px;
  }

  .phead__infos {
    grid-template-columns: repeat(3, 1fr);
  }

  .championships__img {
    width: 65px;
    height: 65px;
  }

  .ehead {
    gap: 20px;
  }

  .ehead__img {
    width: 190px;
  }

  .ehead__content {
    padding: 25px 20px;
    gap: 25px;
  }

  .edit__row {
    gap: 20px;
  }

  .info iframe {
    height: calc((100vw - 40px)*9/16) !important;
  }

  .cookie {
    padding: 20px;
  }

  .documents__link {
    gap: 25px;
  }

  .persons {
    gap: 20px;
  }

  .persons__list {
    gap: 15px;
  }

  .court {
    gap: 20px;
  }

  .court__content {
    gap: 25px;
  }

  .court__buttons {
    gap: 15px;
  }

  .tournament__decor {
    width: 95px;
    height: 95px;
  }

  .trainer__img {
    width: 190px;
  }

  .trainer__number {
    width: 215px;
    height: 240px;
  }

  .trainer__images {
    left: 69px;
  }

  .spreadsheet__default {
    padding: 45px;
  }

  .tables {
    grid-template-columns: 5% 1fr 33% 1fr;
  }

  .promo__block {
    padding: 105px 60px 40px;
  }

  .promo__column {
    gap: 55px;
    padding: 60px 0 105px;
  }

  .promo__block {
    padding: 75px 50px 30px;
  }

  .screen {
    gap: 50px;
    max-width: 450px;
  }

  .screen__text {
    max-width: 350px;
  }

  .screen__img {
    left: 30%;
  }

  .footer__list {
    gap: 50px;
  }
}

@media (min-width: 1180px) {
  .nav__item--active .nav__text,
  .nav__link:hover .nav__text {
    color: var(--blue-light-5);
    transition: 0.3s;
  }

  .nav__item:hover .nav__icon {
    stroke: var(--blue);
    fill: var(--blue);
    transition: 0.3s;
  }

  .nav__item:not(.nav__item--rent):hover .nav__icon {
    transform: rotate(180deg);
  }

  .nav__item:hover .submenu,
  .auth__person:hover .submenu {
    display: flex;
    transition: 0.3s;
  }

  .header .blue:hover {
    background: linear-gradient(127deg, var(--blue) -41%, var(--red-light) 102%);
  }

  .submenu__link:hover,
  .submenu__item--active .submenu__link {
    color: var(--white);
    background-color: var(--blue);
    transition: 0.3s;
  }
}

@media (max-width: 1180px) {
  .header__top {
    padding: 10px 0;
  }

  .tablet-hide {
    display: flex;
  }

  .tablet-show {
    display: none;
  }

  .header__button {
    display: flex;
  }

  .header__absolute {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -20px;
    width: calc(100% + 40px);
    background-color: var(--white);
    padding: 5px 20px 60px;
    gap: 5px;
    overflow: scroll;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-height: calc(100vh - 65px);
    z-index: 3;
    transition: 0.3s;
  }

  .header__absolute::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .header__absolute.open {
    display: flex;
    transition: 0.3s;
  }

  .menu {
    overflow: scroll;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .menu::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .menu__link {
    white-space: nowrap;
  }

  .header__right {
    padding: 0;
    order: -1;
    width: 100%;
    align-items: stretch;
  }

  .header__phone:after {
    display: none;
  }

  .socials__item .socials__icon {
    width: 45px;
    height: 45px;
  }

  .socials__item {
    width: auto;
    height: auto;
  }

  .button--small {
    min-height: 40px;
    font-size: 14px;
    line-height: 18px;
  }

  .socials__text {
    font-size: 14px;
    line-height: 18px;
  }

  .logo__img {
    width: 75px;
    height: 75px;
  }

  .socials {
    margin: 10px 0 0;
  }

  .nav {
    width: 100%;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    background-color: var(--white);
    padding: 10px 0;
    min-height: 35px;
  }

  .auth .nav__link {
    background-color: var(--red);
  }

  .nav__link.open {
    border-radius: 5px 5px 0 0;
    transition: 0.3s;
  }

  .auth .nav__icon {
    stroke: var(--white);
  }

  .auth .nav__text {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
  }

  .submenu__link {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--dark);
    padding: 5px 0;
    font-family: "Montserrat", "Arial", sans-serif;
  }

  .auth .submenu__link {
    justify-content: center;
    text-align: center;
  }

  .auth__link {
    justify-content: center;
    padding: 10px;
  }

  .auth__link.open .auth__icon {
    transform: rotate(180deg);
    transition: 0.3s;
  }

  .submenu {
    position: static;
    box-shadow: none;
    padding: 0 20px;
  }

  .submenu.open {
    display: flex;
    transition: 0.3s;
  }

  .nav__item:not(.nav__item--rent) .nav__link.open .nav__icon {
    stroke: var(--blue);
    fill: var(--blue);
    transition: 0.3s;
    transform: rotate(180deg);
  }

  .auth__buttons {
    margin: 0 0 10px 0;
    justify-content: center;
  }

  .auth__img {
    order: -1;
  }

  .screen__title {
    font-size: 32px;
    line-height: 36px;
  }

  .screen__text {
    font-size: 24px;
    line-height: 28px;
  }

  .screen {
    gap: 45px;
  }

  .screen__top {
    gap: 30px;
  }

  .tournament__text {
    font-size: 16px;
    line-height: 20px;
  }

  .tournament__small {
    font-size: 16px;
    line-height: 20px;
  }

  .table-scroll .table *:not(img) {
    width: max-content;
  }

  .table__block .status *:not(img){
    width: 100%;
  }

  .table-scroll .table.table__height-45 *:not(img) {
    width: auto;
  }

  .table-scroll .table .table__place {
    width: 15px;
  }

  .table__link {
    margin: 0 auto;
  }

  .main__wrap {
    flex-direction: column;
  }

  .address {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: 800px;
  }

  .content {
    width: 100%;
    gap: 50px;
  }

  .main:not(.main--index) {
    gap: 50px;
  }

  .tabs__navigation {
    gap: 15px;
  }

  .tabs__link {
    padding: 10px;
  }

  .phead__svg {
    width: 245px;
  }

  .phead__img {
    width: 190px;
  }

  .phead__content {
    padding: 25px 15px;
  }

  .phead__column {
    margin: 0 0 -25px -180px;
  }

  .phead__left {
    gap: 20px;
  }

  .phead__top {
    gap: 15px;
  }

  .phead__title {
    font-size: 22px;
    line-height: 26px;
  }

  .phead__number {
    font-size: 24px;
    line-height: 24px;
  }

  .phead__logo {
    width: 55px;
  }

  .matches__number {
    font-size: 22px;
    line-height: 26px;
  }

  .championships__img {
    width: 60px;
    height: 60px;
  }

  .championships__title {
    font-size: 22px;
    line-height: 26px;
  }

  .rhead {
    gap: 15px;
  }

  .rhead__list {
    gap: 15px 40px;
  }

  .rhead__number {
    font-size: 52px;
    line-height: 52px;
  }

  .ehead__img {
    width: 180px;
  }

  .ehead__name {
    font-size: 22px;
    line-height: 26px;
  }

  .form__row--four {
    grid-template-columns: repeat(2, calc((100% - 20px) / 2));
  }

  .form__add .button {
    width: 100%;
  }

  .edit__main {
    padding: 30px 25px;
  }

  .edit__logo {
    width: 70px;
    height: 70px;
  }

  .info {
    gap: 25px;
  }

  .info__title {
    font-size: 24px;
    line-height: 28px;
  }

  .modal {
    top: 80px;
    max-height: calc(100vh - 80px);
  }

  .address__content {
    width: 100%;
  }

  .address__map {
    height: 330px;
  }

  .error__title {
    font-size: 26px;
    line-height: 30px;
  }

  .error__number {
    font-size: 138px;
    line-height: 166px;
  }

  .blocks__name {
    font-size: 22px;
    line-height: 24px;
  }

  .tournaments--grids .tournaments__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .tournament__decor {
    width: 90px;
    height: 90px;
  }

  .documents__link {
    padding: 20px;
    gap: 15px;
  }

  .mhead__wrap {
    gap: 25px;
  }

  .mhead__name {
    font-size: 20px;
    line-height: 24px;
  }

  .mhead__number {
    font-size: 52px;
    line-height: 60px;
    width: 75px;
  }

  .mhead__colon {
    font-size: 44px;
    line-height: 50px;
  }

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

  [data-empty]:empty:after {
    font-size: 22px;
    line-height: 24px;
    min-height: 110px;
  }

  .edit__title {
    font-size: 22px;
    line-height: 24px;
  }

  .edit__team {
    gap: 25px;
  }

  .edit__img {
    width: 90px;
  }

  .trhead__content {
    padding: 20px;
  }

  .trhead__title {
    font-size: 28px;
    line-height: 30px;
  }

  .trhead__datetime {
    padding: 10px 15px;
    font-size: 16px;
    line-height: 18px;
  }

  .gap--row {
    flex-direction: column;
  }

  .table-head {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
  }

  .form__wrap {
    grid-template-columns: 45% calc(55% - 20px);
  }

  .trainer__img {
    width: 180px;
  }

  .trainer__number {
    width: 200px;
    height: 220px;
  }

  .spreadsheet__default {
    padding: 40px;
  }

  .trainings__group {
    flex-direction: column;
    align-items: stretch;
  }

  .trhead__columns {
    column-gap: 20px;
  }

  .promo__column {
    gap: 55px;
    padding: 55px 0 95px;
  }

  .promo__block {
    padding: 60px 45px 25px;
  }

  .screen__img {
    left: 26%;
  }

  .photos {
    gap: 25px;
  }

  .footer__column {
    padding: 55px 0 10px;
    gap: 25px;
  }

  .footer__list {
    gap: 45px;
  }

  .footer__logo {
    width: 270px;
  }
}

@media (max-width: 1080px) {
  .edit__row {
    grid-template-columns: repeat(1, 1fr);
  }

  .media__list--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .persons__list {
    grid-template-columns: repeat(1, 1fr);
  }

  .form__switch {
    grid-template-columns: 100%;
  }

  .courts {
    grid-template-columns: repeat(1, 1fr);
  }

  .spreadsheet__grid {
    grid-template-columns: 16.5% 15.5% 25% 25% 18%;
  }

  .spreadsheet__grid--two {
    grid-template-columns: 82% 18%;
  }

  .spreadsheet__grid--2 {
    grid-template-columns: 16% 34% 14% 19% 17%;
  }

  .spreadsheet__wrap {
    grid-template-columns: 31% 30% 39%;
  }

  .trainer__images {
    left: 51px;
  }

  .trhead__columns {
    column-gap: 15px;
  }

  .promo__column {
    gap: 50px;
    padding: 55px 0 80px;
  }

  .promo__block {
    padding: 45px 40px 20px;
    left: 50%;
  }

  .screen__title {
    font-size: 30px;
    line-height: 34px;
  }

  .screen {
    gap: 40px;
  }

  .screen__text {
    font-size: 22px;
    line-height: 26px;
  }

  .screen__img {
    display: none;
  }

  .footer__column {
    padding: 50px 0 10px;
    gap: 30px;
  }

  .footer__list {
    gap: 40px;
  }

  .footer__logo {
    width: 250px;
  }

  .promo__block .promo__slides,
  .promo__block .promo__slide {
    height: 100%;
  }
}



