@import url(https://fonts.googleapis.com/css?family=Open+Sans:regular,500,600,700,800&display=swap);
*,
*::before,
*::after {
    font-family: "Times New Roman", Times, Arial, serif sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    color: #cefff7;
}

body {
    width: 100%;
    background-color: #004d66;
    background-repeat: no-repeat repeat-y;
    background-position: center;
    background-size: cover;
    text-rendering: optimizeSpeed;
    min-height: 100vh;
    scroll-behavior: smooth;
}
body.lock {
    overflow-y: hidden;
}
body,
html {
    padding: 0;
    height: 100%;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}
header {
    background-color: #013041;
    display: flex;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 7px 0;
}
header a {
    text-decoration: none;
    font-size: 20px;
}
header img {
    border: none;
}
header .container {
    max-width: 90vw;
    padding: 0 16px;
    margin: 0 auto;
    height: 100%;
}
header .logo {
    flex: 0 0 100px;
}
header .container .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .flex .item,
.btns {
    display: flex;
    align-items: center;
}
header .flex .item .list ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 50px;
    margin: 0;
    padding: 0;
}
header .flex .item .list ul li {
    font-weight: 600;
    font-size: 20px;
    position: relative;
}
header .flex .item .list ul li a:hover {
    color: #5b95ff;
}
header .flex .item .list ul li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: calc(50% - 53px);
    width: 106px;
    height: 2px;
    background: #5b95ff;
    transform: scaleX(0);
}
header .flex .item .list ul li:hover::after {
    transform: scaleX(1);
    transition-duration: 0.2s;
}
header .flex .item:nth-child(2) {
    gap: 50px;
}
header .flex .item,
.btns {
    gap: 20px;
}
header .burger {
    display: none;
}
header .dropdown {
    position: relative;
    cursor: pointer;
}
header .dropdown span::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}
header .flex .item .list .dropdown-menu {
    position: absolute;
    top: 2px;
    left: 0;
    width: 200px;
    padding: 20px;
    background-color: #013d50;
}
header .flex .item .list .dropdown ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
header .flex .item .list .dropdown ul li a {
    font-size: 14px;
}
header .flex .item .list .dropdown li::after {
    width: auto;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
/* Для десктопной версии */
.menu-toggle {
    position: fixed;
    top: 9px; /* Значение для десктопной версии */
    left: 20px;
    z-index: 1000;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 50px; /* Увеличиваем размер кнопки */
    height: 50px;
  }
  
  /* Медиа-запрос для мобильной версии */
  @media (max-width: 768px) {
    .menu-toggle {
      top: 30px; /* Устанавливаем значение top для мобильной версии */
    }
  }
  
  .menu-bar {
    display: block;
    width: 40px;
    height: 5px;
    background-color: #ffffff; /* Цвет полосок */
    border-radius: 2px;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* Меню скрыто */
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, #003d59, #00678a); /* Градиентный фон */
    color: #99e6ff; /* Цвет текста */
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .sidebar.open {
    left: 0; /* Открываем меню */
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: red; /* Красный цвет для крестика */
    font-size: 24px;
    cursor: pointer;
  }
  
  .menu-items {
    list-style: none;
    padding: 0;
    margin-top: 50px;
  }
  
  .menu-items li {
    margin: 20px 0;
  }
  
  .menu-items a {
    color: #99e6ff; /* Цвет текста */
    text-decoration: none;
    font-size: 18px;
  }
  
  .menu-items a:hover {
    text-decoration: underline;
  }
  
footer {
    background-color: #004d66;
    min-height: 70px;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 20px;
    display: flex;
    height: auto;
}
img {
    border-style: solid;
    border-color: #013d50;
    border-width: 1px; /* Толщина рамки */
    max-width: 100%;
    display: block; /* Чтобы избежать лишнего отступа */
    margin: 0 auto;
    border-radius: 20px;
    box-sizing: content-box; /* Рамка не будет учитываться в размере изображения */
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    padding-top: 45px;
    color: #ffffff;
}
h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin: 0;
    padding: 0;
}
p {
    text-align: justify;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

a {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
.middle-text {
    text-align: center;
}
ul,
ol,
li {
    text-align: left;
}

ul[class],
ol[class] {
    padding: 0;
    list-style: none;
}
.ice-casino-body {
    max-width: 1200px;
    padding-top: 5px;
    background-color: #004d66;
    display: block;
    align-content: center;
    margin: 0 auto;
    text-align: center;
    margin-top: 0px;
}
.ice-casino-table {
    border: 5px solid #000000;
    background-color: #004d66;
    border-radius: 15px;
    padding: 5px;
    display: inline-flex;
    max-width: 1000px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    color: #e6e6e6;
}
.ice-casino-table tr td {
    border: 5px solid #000000;
    background-color: #004d66;
    border-radius: 15px;
    padding: 5px;
    color: #e6e6e6;
}
.ice-casino-table a {
    color: #e6e6e6;
}
.fancy-table {
    width: 80%; /* Adjust width for larger screens */
    margin: 20px auto;
    border-radius: 10px;
    border: 1px solid #025774;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: linear-gradient(to right, #004d66, #01313f);
}

/* Mobile styles */
@media (max-width: 768px) {
    .fancy-table {
        width: 100%; /* Full width on smaller screens */
    }
}
  .fancy-table th {
    background-color: #04222c;
    color: white;
    padding: 12px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
  }
  
  .fancy-table td {
    padding: 12px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border-top: 1px solid #01394c;
  }

  .fancy-table tr:hover {
    background-color: #004d66;

  }

  .fancy-table tr:nth-child(even) {
    background-color: #03536d;
  }

  .fancy-table tbody tr:first-child {
    border-top: none;
  }
.ice-casino-btn1 {
    border: 0px;
    border-radius: 10px;
    height: 43px;
    min-width: 70px;
    width: auto;
    background-color: #ffffff;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    padding-left: 5px;
    padding-right: 5px;
}
.ice-casino-btn2 {
    border: 0px;
    border-radius: 10px;
    height: 43px;
    min-width: 70px;
    width: auto;
    background-color: #ff2b39;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    padding-left: 5px;
    padding-right: 5px;
}
.btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    font-size: medium;
    color: #0b0909;
    font-weight: bold;
}
.btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    font-size: medium;
    color: #ffffff;
    font-weight: bold;
}
.btn3 {
    padding: 5px;
    display: block;
    height: 100%;
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
    background-color: #7b4df7;
    border: #013d50 solid 5px;
    border-radius: 15px;
    max-width: 500px;
    margin: 15px auto;
}
.link {
    text-decoration: none;
}
@keyframes glowBackground {
    0% { background-color: #ff8c00; }
    50% { background-color: #ffcc00; }
    100% { background-color: #ff8c00; }
  }
  
  .link .btn3 {
    padding: 15px 50px;
    border-radius: 100px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    animation: glowBackground 2s ease-in-out infinite;
  }

.flag {
    display: block;
    max-width: 40px;
    float: right;
    margin-right: 10px;
    margin-top: 20px;
}
.flag img {
    border-radius: 5px;
    border: #013d50 solid 5px;
}
.ice-casino-developers img {
    border-radius: 15px;
    width: 100%;
    border: none;
}
.ice-casino-partners img {
    border-radius: 15px;
    width: 100%;
    border: none;
}

.ice-casino-navigation {
    margin-left: 30px;
}
.ice-casino-content {
    margin: 0 30px 0 30px;
    word-wrap: break-word;
}
.ice-casino-bunner {
    position: relative;
    width: 100%;
    height: 300px; /* Настрой по потребности */
    overflow: hidden;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохранение пропорций с обрезкой */
    transition: transform 1s ease-in-out; /* Эффект скольжения */
    transform: translateX(100%); /* Начальная позиция вне экрана */
}

.slider-image.active {
    transform: translateX(0); /* Изображение возвращается на экран */
}

/* Медиа-запрос для мобильных устройств */
@media screen and (max-width: 767px) {
    .ice-casino-bunner {
        height: 200px; /* Настройка высоты баннера для мобильных */
    }

    .slider-image {
        width: 100%; /* Ширина на мобильных устройствах */
        height: auto; /* Оставляем пропорции изображений */
        object-fit: contain; /* Чтобы изображение не обрезалось */
    }
}

/* Медиа-запрос для десктопных устройств */
@media screen and (min-width: 1024px) {
    .slider-image {
        /* Для десктопа изображения будут менять свойство src через JavaScript */
    }
}
@media (max-width: 1199px) {
    .header .burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 3;
    }
    .header .burger::after,
    .header .burger::before {
        content: "";
    }
    .header .burger::after,
    .header .burger::before,
    .header .burger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #3129c6;
        border-radius: 10px;
        transition: all 0.3s ease 0s;
    }
    .header .burger::before {
        top: 0;
    }
    .header .burger::after {
        bottom: 0;
    }
    .header .burger span {
        top: 9px;
    }
    .header .burger.active::before {
        transform: rotate(45deg);
        top: 9px;
    }
    .header .burger.active::after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    .header .burger.active span {
        transform: scale(0);
    }
    .header .list {
        display: none;
    }
    .header .btns {
        gap: 10px;
        position: relative;
        z-index: 3;
        flex-direction: column;
    }
    header .flex .item .list .dropdown span {
        font-size: 24px;
    }
    header .flex .item .list .dropdown ul li a {
        font-size: 16px;
    }
    header .flex .item,
    .btns {
        justify-content: center;
    }
    .btn1,
    .btn2 {
        font-size: 16px;
    }
    .header .list.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #013d50;

        ul {
            flex-direction: column;
        }
    }
    .header .logo {
        position: relative;
        z-index: 3;
    }
    header .flex .item .list ul li a {
        font-size: 24px;
    }
    header .container {
        max-width: 100%;
    }
}
.fancy-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .fancy-table-scroll table { width: 100%; border-collapse: collapse; }
/* Стиль стрелочки */
.scroll-to-top {
    position: fixed; /* Фиксируем кнопку на экране */
    bottom: 20px; /* Отступ снизу */
    right: 20px; /* Отступ справа */
    font-size: 36px; /* Увеличиваем размер смайлика */
    color: #ff955c; /* Цвет смайлика (фиолетовый) */
    text-align: center; /* Выравнивание текста по центру */
    cursor: pointer; /* Курсор в виде руки при наведении */
    transition: transform 0.3s ease; /* Плавный переход для увеличения при наведении */
    z-index: 1000; /* Обеспечиваем, чтобы кнопка была наверху */
    opacity: 0; /* Скрываем кнопку по умолчанию */
    visibility: hidden; /* Скрываем кнопку по умолчанию */
    pointer-events: none; /* Запрещаем взаимодействие, пока кнопка скрыта */
    text-decoration: none; /* Убираем подчеркивание */
  }
  
  /* Эффект при наведении */
  .scroll-to-top:hover {
    transform: scale(1.2); /* Немного увеличиваем размер при наведении */
  }
  
  /* Появление кнопки, когда страница прокручена */
  .scroll-to-top.visible {
    opacity: 1; /* Делаем кнопку видимой */
    visibility: visible; /* Делаем кнопку видимой */
    pointer-events: auto; /* Разрешаем взаимодействие с кнопкой */
  }
