body {
    /*background-image: repeating-linear-gradient(#94e5da,#2edf23f2);*/
    background-image: linear-gradient(#94e5da, #cbffc8f2);
    margin: 0;
    font-family: "Arial";
    overflow-y: scroll;
}

/* width */
::-webkit-scrollbar {
    width: 11px;
}

.hide_scrollbar::-webkit-scrollbar {
    display: none;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #fa230d8c;
    border-radius: 5px;
}

#loader {
    top: 0;
    position: fixed;
    background: radial-gradient(#1ee31a, #7c2e2e);
    display: table;
    z-index: 333;
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: 2s ease;
}

@-webkit-keyframes exit_loader /* <--- here */
{
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes exit_loader {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}

#inner_loader_section {
    display: table-cell;
    vertical-align: middle;
}

#inner_loader {
    width: 40%;
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: inherit;
}
#inner_loader_ball {
    margin-right: 10px;
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: red;
    border-radius: 50%;
    animation: bounce 0.8s infinite;
}

#inner_loader_image {
    display: inline-block;
    width: auto;
}

#inner_loader_image img {
    width: 250px;
}

@keyframes bounce {
    0% {
        transform: translateY(0) scale(1.05, .95);
    }
    5% {
        transform: translateY(-12px)
    }
    10% {
        transform: translateY(-28px)
    }
    35% {
        transform: translateY(-125px);
    }
    40% {
        transform: translateY(-132px);
    }
    50% {
        transform: translateY(-130px);
    }
    55% {
        transform: translateY(-126px);
    }
    60% {
        transform: translateY(-110px);
    }
    65% {
        transform: translateY(-90px);
    }
    70% {
        transform: translateY(-66px);
    }
    75% {
        transform: translateY(-30px);
    }
    80% {
        transform: translateY(-5px);
    }
    85% {
        transform: translateY(0) scale(1.05, .95);
    }
    90% {
        transform: translateY(10px) scale(1.2, .8);
    }
    95% {
        transform: translateY(15px) scale(1.4, .6);
    }
    100% {
        transform: translateY(5px) scale(1.1, .9);
    }

}

.table-bottom {
    border: 2px solid rgb(34, 34, 57);
    margin: 10px auto;
    color: #fff;
  }
  .first-q {
    background-color: rgb(34, 34, 57);
  }
  .secondq {
    background:#3c2fff9c;
    
  }
  .table-bottom td {
    padding: 5px;
  
  }
header {
    top: 0;
    position: fixed;
    width: 100%;
    height: auto;
    background: rgb(18, 16, 39);
    box-shadow: 0 0 10px black;
    z-index: 3;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently*/

}

#logo_login_block {
    width: 90%;
    margin: 0 auto;
    display: flex;
    padding: 5px 0 5px 5px;
    height: 100px;
}



#logo_image_part {
    margin-top: 20px;
    width: 20%;
    height: auto;
}

#logo_image_part img {
    height: 55px;
}

#login_registr_block {
    width: 40%;
    /* height: 100%; */
    font-size: 14px;
    /* margin-left:10%; */
    letter-spacing: 1px;
    text-align: center;
    margin: auto;
}

#login_inputs{
    width: 100%;
    height: 40px;
    display: flex;
    margin: 10px 0;
}

#mail_input{
    width: 50%;
    padding: 5px 2%;
}
#password_input{
    width: 50%;
    padding: 5px 10px;
}

#login_inputs input{
    width: 90%;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #8e8b97;
    font-family: Raleway;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 15px;
    outline: none;
    box-shadow: 0 0 0px #B3B3B3;
}

#login_inputs input:focus{
    border: 1.5px solid red;
    box-shadow: 0 0 5px #B3B3B3;
}

#login_btns{
    width: 90%;
    margin-left: 2%;
    display: flex;
    float:left;
    justify-content: center;
}

#login_block {

    border-radius: 5px;
    color: #fff;
    background-color: rgb(226 9 56);;
    box-shadow: 0 0 0px black;
    padding: 7px 30px;
    cursor: pointer;
    transition: all ease .3s;
    margin-right: 10px;
}

#login_block:hover {
    box-shadow: 0 0 5px black;
    transform: scale(1.05);
    background-color: #1ee31a;
}

#registration_block {
    cursor: pointer;
    border-radius: 5px;
    padding: 7px 30px;
    color: white;
    background-color: rgb(226 9 56);
    box-shadow: 0 0 0px black;

    transition: all ease .3s;
}

#registration_block:hover {
    box-shadow: 0 0 5px black;
    background-color: #1ee31a;
    transform: scale(1.05);
}

#header_delimeter{
    width: 95%;
    height: 3px;
    margin: 0 auto;
    background-color: #c6c6c6;
}
/**
nav{
    width: 50%;
    margin: auto 10px;
    height: 30px;
    display: block;
    color: #fff;
}

#menu_blocks {
    width: 90%;
    margin: 0 auto;
    padding: 5px 0;
    transform: translateY(0);
}

.menu_block {
    display: inline-block;
    height: 100%;
    width: auto;
    margin: 0 15px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.menu_href:hover {
    color: #e20938;
}

#top_btn {
    color: red;
}

.menu_href {
    text-transform: uppercase;
}

.menu_line {
    width: 0;
    margin: 0;
    height: 3px;
  
    transition: 0.4s ease;
}

.menu_block:hover > .menu_line {
    width: 100%;

}

/* Hide the images by default */

.mySlides {
    display: none;
}
.qweq {
    
    position: relative;
}


/* Add a pointer when hovering over the thumbnail images */

.cursor {
    cursor: pointer;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}


/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


/* Container for image text */

.caption-container {
    text-align: center;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}


/* Six columns side by side */

.column {
    float: left;
    width: 16.66%;
}


/* Add a transparency effect for thumnbail images */

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}
main {
    margin-top: 110px;
    z-index: 0;
    background-color: rgb(34, 34, 55);;
}

#parralax_section {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    /*width: 90%;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    height: 250px;
}

#parralax {
    width: 100%;
    height: 100%;
    background-image: url("img/main image.jpg");
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 30px black;
    /*border-radius: 10px;*/
}

@media screen and (max-device-width: 500px) {
    main {
        margin-top: 150px;
    }
}

#games_and_text {
    width: 92%;
    height: auto;
    position: relative;
    margin: 20px auto 0px auto;
}

#outer {
    display: inline-block;

    padding: 0;
}


#last_win_section {
    position: absolute;
    top: 0;
    display: inline-block;
    width: 20%;
    height: auto;
}

#last_win_div {
    overflow: hidden;
    width: 80%;
    height: auto;
    float: right;
    margin: 0 15% 0 15%;
    box-shadow: 0 0 15px #398906;
}

#last_win_slider_div {
    width: 400%;
    position: relative;
    left: 0;
    margin: 0;
    transition: 1s ease;
}

.last_win_slider_page {
    width: 25%;
    background: white;
    float: left;
}

.last_win_inner_page {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 10px;
}


.last_win_label {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.last_win_game {
    border-top: 1px solid #dfcdcd;
    margin: 2px 0;
    display: block;
    width: 100%;
    height: auto;
}

.img_game {
    cursor: pointer;
    display: inline-block;
    width: 30%;
    height: 100%;
}

.img_game .image_link {
    width: 100%;
    height: 100%;
}

.img_game .image_link img {
    width: 80%;
}

.last_win_line_separator {
    display: none;
    width: 100%;
    height: 1px;
    padding: 0;
    margin: 0;
    background: #8e8b97;
}

.win_game_descr {
    display: inline-block;
    width: 70%;
    height: auto;
    padding: 0;
    font-family: 'Paytone One', SansSerif;
    font-weight: 100;
}

.person_id {
    width: 100%;
    height: auto;
    font-size: 11px;
    margin-top: 2px;
}

.last_win_game_name {
    margin-top: 2px;
    width: 100%;
    height: auto;
    font-size: 12px;
}

.money_win {
    margin-top: 2px;
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #ffad0c;
}

/*game automates slider*/
#game_automates {
    width: 100%;
    overflow: hidden;
   
    margin-bottom: 20px;
}

#slider_div {
    position: relative;
    left: 0;
    margin: 0;
    transition: 1s ease;
}

.slider_page {
    float: left;
    margin-bottom: 20px;
}

.inner_page {
    width: 90%;
    margin: 0 auto;
    /*box-shadow: 0 0 18px black;*/
    /*border-radius: 5px;*/
}

.games_header {
    margin-top: 20px;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}

.wrapper_pagination {
    text-align: center;
    margin-top: 10px;
}

.pagination_div {
    user-select: none;
}

.page_num {
    cursor: pointer;
    display: inline-block;
    color: black;
    padding: 8px 16px;
    transition: 0.3s ease;
    border-radius: 40px;
}

.pagination_div .active_page {
    /*background-color: #4CAF50;*/
    background-image: radial-gradient(red, #e3cdcd);
    color: white;
}

.pagination_div .page_num:hover:not(.active_page) {
    background-color: #ddd;
}

.pagination_div .page_num:active:not(.active_page) {
    background-color: #8e8b97;
    transition: 0s;
}

.slider_rows {
    width: 100%;
    margin: 10px auto 0 auto;
    padding-bottom: 20px;
}

.game {
    display: inline-block;
    width: 24%;
    height: auto;
    padding: 5px 0px;
    text-align: center;
    cursor: pointer;
    transition: 0.5s ease;
    text-decoration: none;
}

.game:hover {
    transform: scale(1.15, 1.15);
    -webkit-tap-highlight-color: transparent;
}

.game_name {
    width: 85%;
    height: auto;
    font-size: 14px;
    margin: 0 auto;
    color: #fff;
}

.game_image_part {
    position: relative;
    width: 85%;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}

.game_image_part img {
    bottom: 0;
    width: 100%;
    z-index: 4;
}

.play_section {
    z-index: 5;
    position: absolute;
    top: 0;
    width: 100%;
    height: 98%;
}

.play_section div {
    background: rgba(223, 36, 53, 0);
    box-shadow: inset 0 0 0 black;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
}

.play_section div span {
    background: #000;
    border-radius: 10px;
    padding: 5px;
    color: #fff;
}

.game:hover > .game_image_part .play_section div {
   
    background: #94e5da;
    box-shadow: inset 0 0 70px black;
    opacity: .8;
}

/*text field section*/

#text_field {
    cursor: default;
    background: #ffffffc7;
    margin: 0 auto 20px auto;
    width: auto;
    height: auto;
    font-family: Raleway, Arial;
    padding: 3px 50px;
    font-size: 15px;
    box-shadow: 0 0 20px grey;
}

#text_description h1, h2, h3, h4, h5, h6 {
    margin-top: 15px;
    text-align: center;
}

#text_description p {
    margin-top: 5px;
    margin-bottom: 0;
}

#text_description h1 {
    font-size: 1.5em;
}

#text_description h2 {
    font-size: 1.4em;
}


#text_description {
    padding: 0 30px 25px 30px;
    text-align: justify;
}

.text_sector {
    padding: 10px 80px;
    transition: 1s ease;
    box-shadow: 0 0 0 #530e0ebf;

}

footer {
    width: 100%;
    height: auto;
    position: relative;
    bottom: 0;
    background-color: rgb(20 20 37);
}

#pay_systems {
    width: 90%;
    margin: 0 auto;
    height: 100px;
    padding: 20px 40px 0 40px;
    text-align: center;
}

.pay_system {
    border-radius: 10px;
    width: auto;
    padding: 5px 30px;
    height: auto;
    display: inline-block;
    text-align: center;
    transition: 0.3s ease;
}

.pay_system:hover {
    box-shadow: 0 0 10px black;
}

#footer_description {
    width: 100%;
    height: auto;
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}

#footer_description span {
    font-size: 12px;
}

#footer_oligarh_link {
    font-size: 17px !important;
    cursor: pointer;
    color: white;
    text-decoration: underline;
}

#scroll_arrow {
    position: fixed;
    bottom: 50px;
    left: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    background: linear-gradient(to top,#fafa18de,#58c04ba6);
    border-radius: 40px;
    text-align: center;
    padding: 5px;
    opacity: 0.3;
    transition: 0.3s ease;
}
#scroll_arrow img{
    -webkit-transform: rotateZ(-90deg) translateY(1px) translateX(-3px);
    -moz-transform: rotateZ(-90deg) translateY(1px) translateX(-3px);
    -ms-transform: rotateZ(-90deg) translateY(1px) translateX(-3px);
    -o-transform: rotateZ(-90deg) translateY(1px) translateX(-3px);
    transform: rotateZ(-90deg) translateY(1px) translateX(-3px);
    width:80%;
}

#scroll_arrow:hover{
    opacity: 1;
}

/*adaptive */
@media screen and (max-device-width: 1305px) {

    #login_registr_block{
        /* margin-left:25%; */
    }

    #menu_blocks{
        width:100%;
    }

    .menu_block{
        margin: 0 10px;
    }

    .slider_rows {
        /* width: 90%; */
    }

    .game {
        width: 33%;
    }

    .last_win_label {
        font-size: 15px;
    }

    .person_id {
        font-size: 10px;
    }

    .last_win_game_name {
        font-size: 9px;
    }

    .money_win {
        font-size: 10px;
    }

    .img_game img {
        padding-bottom: 8px;
    }

    .text_sector {
        padding: 0;
    }

    #pay_systems {
        height: 130px;
    }
}

@media screen and (max-device-width: 1050px) {
    #logo_image_part{
        width: 30%;
    }

    #login_registr_block{
        width: 60%;
    }

    #menu_blocks{
        width:95%;
        margin: 0 auto;
    }

    .menu_block{
        margin: 0 10px;
        font-size: 13px;
    }

    .games_header {
        font-size: 25px;
    }

    .inner_page {
        width: 100%;
    }

    .page_num {
        padding: 12px 20px;
        font-size: 20px;
    }

    .last_win_label {
        font-size: 13px;
    }

    .last_win_game_name {
        font-size: 9px;
    }

    .img_game img {
        padding-bottom: 8px;
    }

    .text_sector {
        padding: 10px 0;
    }

}

@media screen and (max-device-width: 770px) {
   
}


@media screen and (max-device-width: 500px) {

    header {
        height: 150px;
    }


    .table-bottom td {
        font-size: 8px;
        padding: 3px;
      }
/*
    #login_registr_block {
        position: absolute;
        width: 40%;
        top: 25%;
        margin: 0 0 0 5%;
        float: none;
        font-size: 30px;
        display: inline-block;
    }

    #login_inputs{
        display: none;
    }

    #header_delimeter{
        display: none;
    }

    .menu_line {

    }

    #logo_login_block {
        width: 100%;
        height: 148px;
        margin: 0 0 10px 0;
        display: block;
        position: relative;
        z-index: 5;
        background-color: rgb(18, 16, 39);
    }


    #logo_image_part {
        margin-left: 10%;
        display: inline-block;
        width: 30%;
    }

    #logo_image_part img {
        height: 80px;
    }

    #login_block {
        display: inline-block;
        width: auto;
        padding: 20px 30px;
    }

    #registration_block {
        display: inline-block;
        width: auto;
        padding: 20px 30px;
    }

    #logo_login_block .icon {
        position: absolute;
        display: inline-block;
        width: auto;
        height: 100%;
        top: 30%;
        right: 10%;
    }

    #inner_icon {
        position: relative;
        width: 100%;
        height: 100%;
    }

    #inner_icon img {
        position: absolute;
        height: 65px;
    }

    #inner_icon img#bars {
        opacity: 1;
        display: block;
        transition: 1s ease;
    }

    #inner_icon img#cross {
        opacity: 0;
        transition: 1s ease;
    }

    nav{
        width: 100%;
        display: none;
    }

    #menu_blocks {
        z-index: 2;
        overflow: hidden;
        width: 100%;
        height: auto;
        transition: 1s ease;
        background-color: white;
        margin-top: 30px;
        transform: translateY(-60vh);
    }

    .menu_block {
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
        font-size: 40px;
        padding: 30px 0;
    }

    #menu_blocks .menu_block:not(:last-child) {
        border-bottom: 1px solid black;
    }

 */

    #menu_blocks {
        z-index: 2;
        overflow: hidden;
        width: 100%;
        height: auto;
        transition: 1s ease;
        background-color: white;
        margin-top: 30px;
        transform: translateY(-60vh);
    }

    .menu_block {
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
        font-size: 40px;
        padding: 30px 0;
    }

    #outer {
        display: block;
        width: 92%;
        margin: auto;
    }

    #last_win_section {
        display: none;
    }

    .games_header {
        font-size: 50px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .slider_rows {
        width: 90%;
    }

    .page_num {
        padding: 15px 30px;
        font-size: 35px;
    }

    .game {
        display: inline-block;
        width: 49%;
        margin-top: 5px;
    }

    .game_name {
        font-size: 33px;
        margin-bottom: 5px;
    }

    .game img {
        width: 90%;
    }

    .play_section {
        width: 90%;
        right: 5%;
    }

    .play_section div span{
        font-size: 35px;
        padding: 10px 20px 10px 20px;
    }

    #text_description {
        padding: 0;
        font-size: 40px;
        text-align: left;
        word-spacing: 10px;
        letter-spacing: 2px;
    }

    #text_description h1 {
        font-size: 1.5em;
    }

    #text_description h2 {
        font-size: 1.2em;
    }


    #text_description h1, h2, h3, h4, h5, h6 {
        margin-top: 50px;
        margin-bottom: 30px;
    }

    #text_description p {
        margin: 0;
    }

    #text_description ul li {
        margin-bottom: 20px;
    }

    #pay_systems {
        height: 200px;
        padding-left: 0;
        padding-right: 0;
    }

    .pay_system img {
        height: 40px;
    }

    #footer_description {
        height: auto;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding: 40px 0;
        font-size: 40px;
    }

    #footer_description span {
        font-size: 25px;
    }

    #footer_oligarh_link {
        font-size: 40px !important;
    }

    #scroll_arrow {
        height:120px;
        width:120px;
        bottom:50px;
        border-radius: 60px;
    }
}

h1 {
    text-align: center;
    color: white;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

figure img {
    border-radius: 14px;
    margin: 30px auto;
}





.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 25px;
    padding-bottom: 25px;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
    padding: 5px 5px;
    border: 1px solid rgb(18, 16, 39);
    text-align: left;
}

.responsive-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

ul.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

ul.custom-list li {
    margin: 10px 0;
    padding: 10px;
    background: rgb(18, 16, 39);
    color: white;
    border-radius: 10px;
    position: relative;
}

ul.custom-list li::before {
    content: '';
    position: absolute;
    left: -30px;
    color: gold;
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
}


ol.custom-list {
    counter-reset: custom-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

ol.custom-list li {
    counter-increment: custom-counter;
    margin: 15px 0;
    padding: 10px;
    background: rgb(18, 16, 39);
    color: white;
    border-radius: 10px;
    position: relative;
}

ol.custom-list li::before {
    content: counter(custom-counter) ". ";
    position: absolute;
    left: -50px;
    color: rgb(18, 16, 39);
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
}


ul.custom-list li,
ol.custom-list li {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

ul.custom-list li:hover,
ol.custom-list li:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

p {
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 15px;
}


#logo_login_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#logo_image_part img {
    height: 40px;
}

#menu_blocks, #login_registr_block {
    display: flex;
    align-items: center;
}

.menu_block {
    padding: 10px;
    color: #fff;
}

.menu_block .menu_href {
    color: #fff;
    text-decoration: none;
}

#login_btns {
    display: flex;
}

#login_block, #registration_block {
    padding: 10px 20px;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    margin-left: 10px;
    text-decoration: none;
}

.icon {
    display: none;
    cursor: pointer;
}

.icon img {
    height: 25px;
    filter: invert(100%);
}

@media (max-width: 1050px) {
    #menu_blocks, #login_registr_block {
        display: none;
        flex-direction: column;
        background-color: black;
        position: absolute;
        top: 100px;
        left: 0;
        text-align: center;
    }

    .icon {
        display: block;
    }

    #menu_blocks a, #login_registr_block a {
        display: block;
        width: 100%;
    }

    #menu_blocks .menu_block, #login_registr_block div {
        margin: 10px 0;
    }
}

