body{
    background-image: url('../img/bgtest2.png');
    background-color: #0c3425 !important;
    background-position: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    background-blend-mode:normal;
    animation: lightning 8.5s infinite ease-out;
}

@keyframes lightning {
    0% {background-blend-mode: normal;}

    78%  {background-blend-mode: normal;}
    80%  {background-blend-mode: hard-light;}
    82%  {background-blend-mode: normal;}
    84%  {background-blend-mode: hard-light;}
    86%  {background-blend-mode: normal;}

    90%  {background-blend-mode: normal;}
    92%  {background-blend-mode: hard-light;}
    96%  {background-blend-mode: normal;}
    98%  {background-blend-mode: hard-light;}
    100%  {background-blend-mode: normal;}
}
.lightnings {
    background-image: url('../img/lightning2.png');
    background-blend-mode: hard-light;
    background-position-y: center;
    background-size: 40%;
    background-repeat: no-repeat;
    position: fixed;
    transform: scale(1);
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0;
    animation: lightnings 8.5s infinite ease-out;
}

@keyframes lightnings {
    0% {opacity: 0;transform: scale(1);}

    78%  {opacity: 0;transform: scale(1);}
    80%  {opacity: 1;transform: scale(1);}
    82%  {opacity: 0;transform: scale(1);}
    84%  {opacity: 1;transform: scale(1);}
    86%  {opacity: 0;transform: scale(1);}

    90%  {opacity: 0;transform: scale(-1);}
    92%  {opacity: 1;transform: scale(-1);}
    96%  {opacity: 0;transform: scale(-1);}
    98%  {opacity: 1;transform: scale(-1);}
    100%  {opacity: 0;transform: scale(-1);}
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}
header.header {
    position: fixed;
    background: #343a40;
    height: 75px;
    width: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0px 25px 20px -20px rgba(0, 0, 0, 0.45);
}
.animate__animated.animate__rubberBand {
    --animate-delay: 5s;
}
.header-content{
    display: flex;
    height: 75px;
}
.header-content .btn-bar{
    display: none;
}

.logo img {
    width: 100%;
    max-width: 150px;
}
ul li{
    list-style: none;
}
.menu-icon {
    margin-left: auto;
    margin-right: 5px;
}
img.nav-img {
    width: 45px;
    padding-right: 5px;
}
ul.nav-content {
    display: flex;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}
.logo {
    padding: 10px 0px;
}
.nav-link {
    display: block;
    display: flex !important;
    padding: 17px 15px !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
    margin-right: 5px;
    /* border-right: 1px solid #0062cc; */
}
li.nav-list{
    position: relative;
}
a:hover{
    color: white !important;
}
a.nav-link:hover {
    background-color: #dc3545;
}

.btn-wrapper {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
.btn-wrapper button {
    border: unset;
    margin: 0;
    padding: 0;
    background: unset;
}
.btn-wrapper a {
    display: block;
    padding: 5px 5px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}
.btn-wrapper a:hover {
    text-decoration: none;
}
a.btn-login {
    background: linear-gradient(0deg, rgba(255,151,0,1) 0%, rgba(251,75,2,1) 100%);
    line-height: 25px;
    /* position: relative; */
}
a.btn-login:hover{
    background: linear-gradient(0deg, rgba(255,151,0,1) 0%, #ffbf00 100%);
}
a.btn-register {
    border: 1px solid gold;
    margin-left: 5px;
    line-height: 23px;
}
a.btn-register:hover{
    background: #686868;
}

div#main {
    padding: 0;
    overflow: hidden;
}

.content-wrapper{
    display: flex;
}
.main-content {
    width:100%;
    margin-top: 75px;
    padding-left: 200px;
}
.sidebar {
    position: fixed;
    height: 100vh;
    background: #1d7255;
    left: 0;
    top: 0;
    margin-top: 75px;
    width: 200px;
    z-index: 99;
    background-image: url(../img/rollete.png);
    background-position: bottom -20px center;
    background-size: 80%;
    background-repeat: no-repeat;
    animation: rollette 5s infinite ease-out;
    /* background-attachment: fixed; */
    /* background-image: linear-gradient(0deg, #2e6666, #2f6c6e); */
}
a.nav-link:after {
    background: linear-gradient(45deg,transparent,#ffcd8c 50%,#efff0000);
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 2px;
    content: "";
    z-index: 999999;
}
@keyframes rollette {
    0%  {background-position: bottom -20px center;}
    10%  {background-position: bottom 80px center;}
    /* 95%  {background-position: bottom 80px center;} */
    100% {background-position: bottom 80px center;}
}
a:hover{
    text-decoration: none !important;
}

.sidebar-items img {
    width: 60px;
    padding: 0;
    margin-right: 5px;
}
.sidebar-items .items {
    padding: 0 14px;
    margin-top: 10px;
}
.sidebar-items a {
    background: #212525;
    display: block;
    border-radius: 25px;
    padding: 7px 10px;
    margin-bottom: 10px;
    color: white;
}
.sidebar-items a:hover {
    background: #d39e00;
    transition: all 500ms ease;
}
.running-text {
    /* width: 100%; */
    background: #343a40;
    margin-left: -15px;
    margin-right: -15px;
    color: white;
    font-size: 16px;
    padding: 5px 0;
}
.slider-content img{
    width: 100%;
}
.slider-wrapper{
    margin-top: 5px;
    position: relative;
}

ul.slick-dots {
    display: flex;
    position: absolute;
    bottom: -15px;
    color: white;
    left: 4px;
    /* margin-right: 13px; */
}
span.dot {
    padding-right: 6px;
    font-size: 1.5rem;
}
.slick-dots > .slick-active {
    color: red;
    font-weight: bold;
  }

 .text-1 p {
    font-size: 1.5rem;
    padding: 15px 0;
}

.text-1 {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.text-1:after {
    background: linear-gradient(45deg,transparent,#ffffff 50%,#efff0000);
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    content: "";
    z-index: 1;
}
.casino1 img{
    width: 80px;
    margin-right: 10px;
}
.casino-content {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.casino-box img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ffc107;
}
a.casino-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
}
a.casino-box:hover{
    color: black !important;
}
.blog-1{
    margin-top: 15px;
    position: relative;
    /* background-image: url(../img/bg3.jpeg); */
    background-position: 50%;
    background-size: cover;
    padding: 20px 10px;
}
.blog-1:before {
    background: linear-gradient(45deg,transparent,#fbff00 50%,transparent);
    position: absolute;
    left: 0;
    top: 0px;
    height: 2px;
    width: 100%;
    content: "";
    z-index: 1;
}
.blog-1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    z-index: 9;
    background: linear-gradient(45deg,#dc354594,#fbff00 50%,#ff000082);
}
.blog-img img{
    width: 100%;
}
.blog-logo img{
    width: 335px;
}
.logo-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blog-logo {
    background: #13543b47;
    padding: 20px;
    border-radius: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-logo span {
    font-size: 16px;
    color: black;
}
.blog-2 {
    /* margin-top: 15px; */
    /* background-image: url(../img/bg4.jpg); */
    background-position: bottom;
    background-size: cover;
    padding: 15px 0;
    background-color: #0e4e377d;
}
.blog2-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.blog2-content img {
    max-width: 100%;
    height: auto;
}
.blog2-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 80px;
}
.blog2-content span{
    text-align: center;
}

.slot-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* align-content: center; */
    padding: 10px 8px;
    background: black;
    margin-left: -15px;
    margin-right: -15px;
    overflow: hidden;
    position: relative;
}
.slot-content:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    z-index: 9;
    background: #fff;
    box-shadow: 0 0 5px #fff, 0 0 15px #00f, 0 0 25px #00f;
}
.slot-content:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    z-index: 9;
    background: #fff;
    box-shadow: 0 0 5px #fff, 0 0 15px #00f, 0 0 25px #00f;
}
.slot-content img {
    width: 125px;
    height: auto;
    margin: 0 10px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
}
.footer-content span{
    margin-bottom: 10px;
}
.text-1 p, .casino-content span, a.casino-box span, .blog-logo span, .blog2-content span, .footer-content span{
    color:whitesmoke;
}
.main-left{
    display: none;
}
.casino-items-box{
    padding: 0 5px !important;
}

.list-casino {
    padding-left: 15px;
    padding-right: 15px;
}
.site-footer{
    display: none ;
}

.sidebar:after {
    background: linear-gradient(45deg,transparent,#ffffff 50%,#efff0000);
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 2px;
    content: "";
    z-index: 1;
}
.slot-box{
    margin-bottom: 10px;
}


/* snowing */
.snow-container {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    top: 0;
    overflow: hidden;
    z-index: 9999;
    pointer-events: none;
  }
  
  .snow {
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    transform: translate3d(0, -100%, 0);
    -webkit-animation: snow linear infinite;
            animation: snow linear infinite;
  }
  .snow.foreground {
    background-image: url("../img/snow/snow5.png");
    -webkit-animation-duration: 30s;
            animation-duration: 30s;
  }
  .snow.foreground.layered {
    -webkit-animation-delay: 14.5s;
            animation-delay: 14.5s;
  }
  
  @-webkit-keyframes snow {
    0% {
      transform: translate3d(0, 100%, 0);
    }
    100% {
      
      transform: translate3d(0, -100%, 0);
    }
  }
  
  @keyframes snow {
    0% {
      transform: translate3d(0, 100%, 0);
    }
    100% {
      
      transform: translate3d(0, -100%, 0);
    }
  }
/* Ended Snow */
/* M */

@media (max-width: 1024px) {
    
    .blog-logo img {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .header-content .btn-bar{
        display: block;
    }
    .menu-icon{
        display: none;
    }
    .btn-wrapper {
        margin-left: auto;
        margin-right: 0;
    }
    .header-content {
        align-items: center;
    }
    .btn-bar button {
        width: 40px;
        background: none;
        border: none;
        font-size: 2rem;
    }
    .logo img {
        max-width: 125px;
    }
    .text-1 p {
        font-size: 1rem;
    }
    .main-left{
        display: block;
    }
    .sidebar{
        display: none;
    }
    .main-content {
        padding-left: 0;
    }
    .main-wrapper {
        display: flex;
    }
    .sidebar-items img {
        width: 40px;
        padding: 0;
        margin-right: 0;
    }
    .main-left {
        width: 110px;
        position: relative;
        height: auto;
        background: #0e444482;
        display: block;
        margin-right: 10px;
        border-radius: 25px;
        margin-top: 15px;
    }
    .main-right {
        width: calc(100% - 110px);
        position: relative;
    }
    .sidebar-items .items {
        padding: 5px;
    }
    .sidebar-items a {
        display: flex;
        padding: 10px 0px;
        margin-bottom: 10px;
        flex-direction: column;
        align-items: center;
        font-size: 14px;
    }
    .slider-wrapper {
        margin-right: -15px;
        margin-left: -15px;
    }
    ul.slick-dots {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .casino1 img {
        width: 40px;
        margin-right: 10px;
    }
   
    .blog-1, .blog-2 {
        margin-left: -15px;
        margin-right: -15px;
    }
    .slot-content{
        padding: 20px 0;
    }
    .slot-content img {
        width: 40px;
        height: auto;
        margin: 0 4px;
    }
    .footer-content span {
        text-align: center;
    }
    .site-footer{
        display: block;
    }
    .footer-items img{
        width: 35px;
    }
    .footer-center img{
        width: 77px;
        margin: -8px;
    }
    .site-footer {
        display: block;
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background: #1c1a58;
        z-index: 999;
    }
    ul.footer-items {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        margin-bottom: 8px;
    }
    ul.footer-items a, .footer-center a {
        display: flex;
        flex-direction: column;
        margin-left: 15px;
        margin-right: 15px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        margin-top: 10px;
        margin-bottom: -5px;
    }
    .footer-list-content {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 9;
        /* margin: 0 auto; */
        justify-content: center;
    }
    
    .footer {
        margin-bottom: 120px;
    }
    ul.footer-items span {
        color: white;
        font-size: 12px;
    }
    .footer-center {
        width: 250px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer-center a {
        width: 77px;
        height: 77px;
        border-radius: 50%;
        background: #06114e;
        position: absolute;
        bottom: -15px;
        border: 1px solid gold;
        box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
    }
    .footer-center span {
        color: whitesmoke;
        margin-bottom: 35px;
    }
    .center-bg-wrapper svg path {
        fill: #02114c;
    }
    .center-bg-wrapper svg {
        position: absolute;
        left: 50%;
        bottom: 0;
        height: 108px;
        transform: translateX(-50%);
        z-index: -1;
    }
    /* .center-bg-wrapper svg path {
        fill: #FF9800;
    } */
    .center-bg-wrapper {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: -1;
        width: 100%;
        height: 50px;
        transition: filter .2s;
        overflow: hidden;
    }
    .footer-left, .footer-right {
        background: #02114c;
        width: 100%;
    }
    .footer-left {
        border-top-right-radius: 28px;
        margin-right: -7.5px;
        border-top: 2px solid gold;
    }
    .footer-right {
        border-top-left-radius: 28px;
        border-top: 2px solid gold;
        margin-left: -7.5px;
    }
    .blog2-content{
        padding: 10px;
    }
    .blog-logo span{
        text-align: center;
    }
    .lightnings {
        background-size: 80%;
    }
}