*,
*::before,
*::after {
    font-family: 'Times New Roman', Times, Arial, serif sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    color: #fff;
}

body {
    width: 100%;
    background-color: #919191;
    background-image: url("images/rox-casino-back-1200.jpg");
    background-repeat: repeat-y;
    background-position: center;
    background-size: cover;
    text-rendering: optimizeSpeed;
    min-height: 100vh;
    scroll-behavior: smooth;
}
body,
html {
    padding: 0;
    height: 100%;
    margin: 0;
}
header{
    background-color: #0c0c0c;
    height: 80px;
    display: flex;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
footer{
    background-color: #0c0c0c;
    height: 70px;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 40px;
}

img {
    max-width: 100%;
    -ms-interpolation-mode: bicubic;
    display: flex;
    position: relative;
    border: #0c0c0c 5px solid;
    margin: 0 auto;
    border-radius: 20px;
}

h1{
    font-size: 2rem;
    font-weight: bold;
} 
h2 {
    font-size: 1.5rem;
    font-weight: bold;
} 
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;
}

ul, ol, li {
    text-align: left;
}

ul[class],
ol[class] {
    padding: 0;
    list-style: none;
}
.pin-up-body{
    max-width: 1200px;
    background-color: #161421;
    display: block;
    align-content: center;
    margin: 0 auto;
    text-align: center;
}
.pin-up-table {
    border: 3px solid #787878;
    background-color: #0c0c0c;
    border-radius: 0px;
    padding: 0px;
    display:inline-flex;
    max-width: 1200px;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}
.pin-up-table tr td {
    border: 1px solid #787878;
    background-color: #0c0c0c;
    border-radius: 0px;
    padding: 0px;
}
.logo img{
    border: 0;
    border-radius: 15px;
    display: block;
    max-width: 120px;
    float: left;
    margin-left: 10px;
}
.pin-up-btn1 {
    border: 0;
    border-radius: 5px;
    margin: 15px 5px 5px 5px;
    font-weight: bold;
    height: 50px;
    width: 120px;
    background-color: #D4B044;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
}
.pin-up-btn2 {
    border: 0;
    border-radius: 5px;
    margin: 15px 5px 5px 5px;
    font-weight: bold;
    height: 50px;
    width: 105px;
    background-color: #21A300;
    text-align: center;
    float: right;
    cursor: pointer;
    touch-action: manipulation;
    }
    .pin-up-btn3 {
        border: 0;
        border-radius: 5px;
        margin:  0 auto;
        font-weight: bold;
        height: 50px;
        width: 90%;
        background-color: #ff3939;
        text-align: center;
        float: center;
        cursor: pointer;
        touch-action: manipulation;
        padding-top: 12px;
        }
.btn{
    padding-top: 12px;
    margin:  0 auto;
    display: block;
    height: 100%;
    font-size: larger;
    font-weight: bold;
}
.link{
    text-decoration: none;

}

.btn:hover{
    border: 0;
    border-radius: 5px;
    background-color: rgb(255, 140, 0);
}
.flag{
    display: block;
    max-width: 40px;
    float: right;
    margin-right: 10px;  
    margin-top: 20px; 
}
.flag img{
    border-radius: 5px;
}
.pin-up-developers {
border-radius: 0;
}
.pin-up-partners img{
border: 0;
border-radius: 5px;
}
.pin-up-navigation {
    margin-left: 30px;
}
.pin-up-content {
margin: 0 30px 0 30px;
word-wrap: break-word;
}
.pin-up-bunner{
    margin-left: 30px;
    margin-right: 30px;
}
.pin-up-bunner img{
    border-radius: 15px;
}

.pin-up-table {
    max-height: 200px; /* Задаємо висоту блоку */
    overflow-y: auto; /* Додаємо вертикальну прокрутку */
    border: 1px solid #ddd; /* Додаємо межу для блоку */
  }
  
  .pin-up-table table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .pin-up-table table td {
    padding: 5px; /* Зменшуємо відступи у ячейках */
    border-bottom: 1px solid #ddd; /* Додаємо нижню межу для комірок */
  }
  
  .pin-up-table table tr:nth-child(odd) {
    background-color: #f9f9f9; /* Змінюємо колір фону для парних рядків */
  }
  
  /* Стилізація тонкої прокрутки */
  .pin-up-table::-webkit-scrollbar {
    width: 6px; /* Задаємо ширину скроллбару */
  }
  
  .pin-up-table::-webkit-scrollbar-thumb {
    background-color: #e3bd87; /* Колір скроллбару */
    border-radius: 3px; /* Круглі краї скроллбару */
  }
  
  .pin-up-table::-webkit-scrollbar-thumb:hover {
    background-color: #d1a971; /* Колір при наведенні */
  }
  
  /* Для мобільної версії */
  @media only screen and (max-width: 600px) {
    .pin-up-table table td {
      font-size: 12px; /* Зменшуємо розмір шрифту для мобільних пристроїв */
      padding: 4px; /* Ще менші відступи для мобільних пристроїв */
    }
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #333;
    position: relative;
}

.logo img {
    max-height: 50px;
}

.menu {
    flex-grow: 1;
    text-align: center;
}

.menu ul {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.menu ul li {
    display: inline-block;
    margin: 0 20px;
}

.menu ul li a {
    text-decoration: none;
    color: white;
}

.buttons {
    display: flex;
    gap: 10px;
}

.buttons .pin-up-btn1,
.buttons .pin-up-btn2 {
    margin: 0;
}


.mobile-menu-icon {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: #333;
    position: absolute;
    width: 200px;
    top: 60px;
    left: -200px; /* Initially hidden on the left */
    transition: left 0.3s ease;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 10px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #fff;
    display: block;
    margin-top: 7px;
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .buttons {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu {
        left: 0; /* Slide in from the left on mobile */
    }
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #333;
    position: fixed; /* Зафиксируем хедер */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Повышаем z-index для перекрытия контента */
}

body {
    padding-top: 80px; /* Добавляем отступ, чтобы контент не прятался под хедером */
}
/* Мобильное меню по умолчанию скрыто */
.mobile-menu {
    display: none;
    background-color: #333;
    position: absolute;
    width: 200px;
    top: 60px;
    left: 0;
    transition: all 0.3s ease;
}

/* При активном состоянии */
.mobile-menu.active {
    display: block;
}

@media (max-width: 768px) {
    .menu, .buttons {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
}
