@media (max-width: 1200px) {
  .block_rand-item {
    width: 19%;
  }

  .block_co-item {
    width: 19%;
  }
}

@media (max-width: 991px) {
  .conclution__img__inner-tree {
    grid-template-columns: 1fr 1fr;
  }

  .header__one-item:nth-child(2) {
    display: none;
  }

  .header__one-item:nth-child(3) {
    display: none;
  }

  .header__two-item:nth-child(3) {
    display: none;
  }

  .header__two-item:nth-child(4) {
    display: none;
  }

  .header__three-item:nth-child(3) {
    display: none;
  }

  .header__three-item .header__one-group__btn .header__one-btn:nth-child(2) {
    display: none;
  }

  .header__three-inner > div {
    width: 33%;
  }

  .header__four-item:nth-child(2) {
    display: none;
  }

  .header__four-item:nth-child(3) {
    display: none;
  }

  .info-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .banner__casino-inner {
    gap: 20px;
  }

  .block_co-item {
    width: 23%;
  }

  .block_rand-item {
    width: 23%;
  }

  .header__one {
    padding: 10px 0;
    /* height: 80px; */
  }

  .header__one-mobile-menu {
    display: block;
  }

  .header__two {
    padding: 10px 0;
    /* height: 80px; */
  }

  .header__two-mobile-menu {
    display: block;
  }

  .header__three {
    padding: 10px 0;
    /* height: 80px; */
  }

  .header__three-mobile-menu {
    display: block;
  }

  .header__three-item .header__one-btn {
    padding: 5px 10px;
  }

  .header__four {
    padding: 10px 0;
    /* height: 80px; */
  }

  .header__four-mobile-menu {
    display: block;
  }

  .header__four-mobile-menu .mobile__menu-btn {
    transition: none;
  }

  .header__four-mobile-menu .mobile__menu-btn.active {
    font-size: 0;
    width: 40px;
    border-radius: 4px;
  }

  .header__four-mobile-menu .mobile__menu-btn.active .mobile__menu-line {
    display: block;
  }

  .header__four-inner {
    justify-content: center;
  }

  #menu-top li ul {
    position: static;
  }
  #menu-top li > ul li a {
    background: inherit !important;
    color: error !important;
  }

  #menu-top li.active > ul,
  #menu-top li:hover > ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 10px;
    padding-left: 15px;
  }

  #menu-top ul li:has(ul) > a::after {
    top: 3px;
  }
  #menu-top > ul > li > ul > li:has(ul):hover > a::after,
  #menu-top > ul > li:has(ul):hover > a::after,
  #menu-top > ul > li:has(ul):hover > a:hover::after,
  #menu-top > ul > li:has(ul):hover ul li a:hover + a::after {
    transform: translateY(0%) rotate(180deg);
  }
}

@media (max-width: 767px) {
  .game__iframe {
    display: flex;
    flex-direction: column;
  }

  .game__iframe__icon {
    order: 2;
    height: auto;
  }

  .game__iframe__container {
    order: 1;
    height: 300px;
    padding: 30px 0;
  }

  .game__iframe__logo__text {
    display: block;
    color: #fff;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
  }

  .game__iframe__logo__text span {
    font-size: 16px;
    font-weight: 400;
    display: block;
  }

  .game__iframe__img {
    display: none !important;
  }

  .game__iframe__info {
    display: none;
  }

  .game__iframe__group__btn {
    margin-top: 20px;
  }

  .game__iframe__icon__row {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .game__iframe__icon__col {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .game__iframe__icon__col:nth-child(1) {
    justify-content: center;
  }

  .game__iframe__icon__col:nth-child(2) {
    justify-content: center;
  }

  .game__iframe__ico {
    display: none !important;
  }

  .game__iframe__ico__text {
    position: static;
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }

  .game__iframe__raiting {
    margin-left: 20px;
  }

  .game__iframe__icon__row {
    grid-gap: 10px;
  }

  .game__iframe__icon__col:nth-child(2) .game__iframe__icon__item:nth-child(2) {
    display: none;
  }

  .game__iframe__icon__inner {
    padding: 10px;
  }

  .game__iframe__container_i iframe {
    position: fixed;
    width: 100%;
    height: 100vh !important;
    top: 0;
    left: 0;
    z-index: 9999;
  }

  .banner__casino-inner {
    flex-direction: column;
  }

  .block_co-item {
    width: 30%;
  }

  .block_rand-item {
    width: 30%;
  }

  .block_co-img {
    height: 180px !important;
  }

  .block_rand-img {
    height: 200px !important;
  }

  .block__styling__inner {
    grid-template-columns: 1fr;
  }

  h1 {
    line-height: 1;
    font-size: 30px !important;
  }

  h2 {
    line-height: 1;
    font-size: 24px !important;
  }

  h3 {
    line-height: 1;
    font-size: 20px !important;
  }
}

@media (max-width: 650px) {
  .block_co-item {
    width: 45%;
  }

  .block_rand-item {
    width: 45%;
  }

  .block_rand-inner {
    gap: 20px;
  }

  .block_co-inner {
    gap: 20px;
  }

  .advantages__inner {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 565px) {
  .conclution__img__inner {
    grid-gap: 20px;
  }

  .conclution__img__inner-two {
    grid-template-columns: 1fr;
  }

  .conclution__img__inner-tree {
    grid-template-columns: 1fr;
  }

  .banner__casino-item:nth-child(1) {
    width: 60%;
  }

  .banner__casino-item:nth-child(2) {
    width: 70%;
  }

  .block_co-item {
    width: 45%;
  }

  .block_rand-item {
    width: 45%;
  }

  .block_rand-img {
    height: 120px !important;
  }

  .block_co-img {
    height: 120px !important;
  }

  .tables-pole {
    padding: 10px;
  }

  .block_rand-title {
    font-size: 15px;
  }

  .block_rand-content {
    margin-top: 10px;
    padding: 0 10px;
  }

  .block_co-content {
    margin-top: 10px;
    padding: 0 10px;
  }

  .block_co-link {
    padding-bottom: 15px;
  }

  .block_rand-link {
    padding-bottom: 15px;
  }

  .footer-gallery__inner {
    justify-content: center;
    gap: 10px;
  }

  .footer-gallery__item img {
    max-width: 70px !important;
  }

  .providers-inner {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 15px;
  }

  .modals__content {
    width: 90%;
  }

  .modals__game-text {
    font-size: 14px;
    text-align: center;
  }

  .modals__game-title {
    font-size: 18px;
    line-height: 1;
  }

  .img__custom200 {
    height: auto !important;
    object-fit: contain;
  }

  .img__custom300 {
    height: auto !important;
    object-fit: contain;
  }

  .img__custom400 {
    height: auto !important;
    object-fit: contain;
  }

  .img__custom500 {
    height: auto !important;
    object-fit: contain;
  }
}

@media (max-width: 450px) {
  .banner__casino-item:nth-child(1) {
    width: 100%;
  }

  .banner__casino-item:nth-child(2) {
    width: 100%;
  }

  .block_co-item {
    width: 45%;
  }

  .block_rand-item {
    width: 45%;
  }
}

@media (max-width: 370px) {
  .block_rand-item {
    width: 90%;
  }

  .block_co-item {
    width: 90%;
  }

  .block_rand-img {
    height: auto !important;
  }

  .block_co-img {
    height: auto !important;
  }
}
