body, html {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background: #202020;
}

.pagination {
    display: inline-block;
    margin: 20px 0;
}
.pagination div {
    color: #eee;
    display: inline-block;
    padding: 5px 15px;
    background: #232a36;
    cursor: pointer;
}
.pagination div.active {
    color: white;
    background-color: #cd041c;
}

.content {
    background-color: #535353;
    padding: 20px;
    width: 500px;
}
@media screen and (max-width: 500px) {
    .content {
        width: 100%;
    }
}
.flex-center {
    display: flex;
    justify-content: center;
}
hr {
    border: 0;
    height: 1px;
    background: #8c8c8c;
}
.padding {
    padding: 20px 0;
}
.heading {
    font-size: 1.4rem;
    color: white;
    padding: 10px;
   margin-top: 0rem !important;
}
.heading.center {
    text-align: center;
}
.anchor {
    color: #ccc;
    text-decoration: none;
}
.text-input {
    border: 0;
    border-radius: 3px;
    outline: none;
    background: #181818;
    color: white;
    padding: 7px;
    box-sizing: border-box;
}
.text-input.full-width {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
}
.input-label {
    color: white;
}
.btn {
    border: 0;
    border-radius: 3px;
    padding: 5px 7px;
    cursor: pointer;
    font-family: "Kanit", sans-serif;
    /*background: #fedc00;*/
    color: black;
    text-decoration: none;
}
.btn.btn-big {
    padding: 5px 15px;
    font-size: 1.1rem;
}
.btn.full-width {
    display: block;
    box-sizing: border-box;
    text-align: center;
    width: 100%!important;
}
.form-container {
    width: 500px;
    margin: 30px auto;
    box-sizing: border-box;

    background: #2f2f2f;
    padding: 15px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
.form-button-container {
    display: flex;
    justify-content: center;

    margin: 20px;
}
@media screen and (max-width: 500px) {
    .form-container {
        width: 100%;
        padding: 15px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }
}
.container {
    width: 1100px;
    margin: auto auto;
}
.container.with-background {
    background: #2f2f2f;
    padding: 15px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    margin: 30px auto;
}
@media screen and (max-width: 1100px) {
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

.grid7 {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(7, 1fr);
}
.grid6 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(6, 1fr);
}
.grid4 {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
.grid2 {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 900px) {
    .grid7 {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 600px) {
    .grid7 {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 7px;
    }
}
@media screen and (max-width: 900px) {
    .grid6 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 600px) {
    .grid6 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 800px) {
    .grid4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid2 {
        grid-gap: 40px;
        grid-template-columns: 1fr;
    }
}


/*Gameplay Page*/
.gameplay {
    position: relative;
    overflow: hidden;
    display: block;
}
.gameplay img {
    transition: 0.3s;
}
.gameplay img:hover {
    transform: scale(1.2);
}
.gameplay div {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    z-index: 999999;
    font-family: sans-serif;
    font-size: 0.8rem;
    padding: 5px;
}
/*Profile Section*/
.login-welcome-message {
    color: #fedc00;
    text-align: right;
}
.login-welcome-message a {
    color: black;
    text-decoration: none;
    margin-left: 10px;
    padding: 0 3px;
    border-radius: 3px;
    background: #fedc00;
}
.profile-information {
    color: white;
    font-size: 1.2rem;
}
.profile-information.center {
    text-align: center;
}
.profile-information b {
    color: #f2d25c;
}
@media screen and (max-width: 850px) {
    .login-welcome-message {
        color: white;
        text-align: center;
    }
    .login-welcome-message > div {
        margin-top: 15px;
    }
    .login-welcome-message a {
        text-decoration: none;
        margin: 0px;
    }
}

/*Slot Section*/
.slot-grid {
    width: 100%;
    margin-top: 20px;

    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
.slot-card {
    text-align: center;
    color: white;
    width: 100%;
    background: #006e63;
    border-radius: 7px;
    overflow: hidden;
}
.slot-card img {
    width: 100%;
}
.slot-card h1 {
    margin: 0;
    font-size: 1.4rem;
}
.slot-card a {
    color: black;
    text-decoration: none;
    background: #e0b206;
    width: 100%;
    padding: 10px 0;
    display: block;
}
.slot-card div {
    padding: 15px;
}
@media screen and (max-width: 800px) {
   .slot-grid {
       grid-template-columns: repeat(2, 1fr);
   }
}

/*Promotion Section*/
.promotion-grid {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 2fr 1fr;

    margin-top: 20px;
}
.promotion-grid img {
    border: 3px solid #edbe0f;
}
.promotion-grid > div:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 850px) {
    .promotion-grid {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }
}

/*Contact Section*/
.contact-feature {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 50px 1fr;
    color: white;

    margin-top: 20px;
}
.contact-feature .title {
    font-size: 1.2rem;
}
.contact-feature p {
    margin-top: 7px;
}
.contact-feature svg {
    font-size: 3rem;
}

/*Fixed Footer*/
.fixed-footer {
    background: #202020;
    height: 50px;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 99999;
    width: 100vw;
    left: 0;
    bottom: 0;
    border-top: 2px solid black;
}
.fixed-footer .container {
    display: grid;
    height: 50px;
    grid-template-columns: repeat(4, 1fr);
}
.fixed-footer a {
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;
}
.fixed-footer a:nth-child(2) {
    border-right: 1px solid black;
    border-left: 1px solid black;
}
.fixed-footer a:nth-child(3) {
    border-right: 1px solid black;
    border-left: 1px solid black;
}
.fixed-footer a:hover {
    background: #2f2f2f;
}

/*Home Section*/
.home-gaming-grid {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(2, 1fr);

    margin: 20px 0;
}
.home-gaming-grid .card {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.home-gaming-grid .card img {
    transition: 0.3s;
}
.home-gaming-grid .card img:hover {
    transform: scale(1.1);
}
.home-gaming-grid .card .desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px;
    color: white;
    text-align: center;

    background: rgba(0, 0, 0, 0.7);
}
.home-gaming-grid .card .desc h1 {
    margin: 0;
}
.home-gaming-grid .card .desc p {
    margin: 0;
}

.home-hero {
    padding: 0 15px;
    height: 400px;
    background-size: contain;
    background: url("../../../img/wallpaper.html") no-repeat center center;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.home-hero h1 {
    color: #f2e088;
}
.home-hero p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 50px;
}
.home-hero a {
    color: black;
    padding: 7px 20px;
    text-decoration: none;
    -webkit-border-radius: 5rem;
    -moz-border-radius: 5rem;
    border-radius: 5rem;
    background: #f2e088;
}
.home-stat {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
}
.home-stat .card {
    background: black;
    padding-top: 15px;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;

    display: grid;
    grid-template-columns: 100px 1fr;
    border: 1px solid #fedc00;
}
.home-stat .card > div:nth-child(1) {
    color: #3d5571;
    font-size: 1.4rem;
    line-height: 20px;
}
.home-stat .card > div:nth-child(1) small {
    font-size: 0.8rem;
}
.home-stat .card .big-number {
    color: white;
    text-align: center;
    font-size: 2rem;
    color: #fedc00;
}
.home-stat .card .winners {
    color: white;
    text-align: center;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.home-stat .card .winners b {
    color: #fedc00;
}
@media screen and (max-width: 850px) {
    .home-stat {
        grid-gap: 15px;
        grid-template-columns: 1fr;
    }
    .home-gaming-grid {
        grid-gap: 15px;
        grid-template-columns: repeat(2, 1fr);
    }
    .home-hero {
        height: 400px;
    }
    .home-gaming-grid .card .desc h1 {
        font-size: 1.2rem;
    }
    .home-gaming-grid .card .desc p {
        display: none;
    }
}


/*Navbar, Footer and Header Section*/
.top-navbar {
    background: #181818;
    padding: 7px 0;
}
.top-navbar .container {
    display: flex;
    justify-content: flex-end;
}
.top-navbar a {
    color: #ccc;
    text-decoration: none;
    margin-left: 15px;
}
.navbar {
    height: 80px;
    background: #202020;
}
.navbar.space-between {
    height: 50px;
    background: #181818;
}
.navbar.space-between .container {
    height: 50px;
}
.navbar.space-between .desktop {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.navbar .container {
    height: 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo {
    height: 45px;
}
.navbar a.link {
    text-decoration: none;
    color: #bcb5a9;
    width: 100%;
    height: 50px;
    text-align: center;
    font-family: "Kanit", sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}
.navbar a.link:hover {
    background: #585858;
    border-bottom: 2px solid #23b223;
}
.navbar a.link.active {
    color: white;
}
.navbar a.link > svg {
    margin-right: 5px;
}
.navbar .mobile {
    display: none;
}
.navbar-mobile {
    display: none;
}
.navbar-mobile.active {
    display: block;
}
.navbar-mobile a {
    display: block;
    padding: 7px 15px;
    background: black;
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px solid #202020;
}
.navbar-mobile a.active {
    background: #202020;
    color: white;
}
.announce {
    background: #2f2f2f;
    color: white;
    padding: 5px 0;
}
@media screen and (max-width: 670px) {
    .navbar .logo {
        margin-bottom: 15px;
    }
    .navbar.with-form {
        height: auto;
        padding: 20px 0;
    }
    .navbar.with-form .container {
        display: flex;
        flex-direction: column;
        height: auto;
    }
}
@media screen and (max-width: 670px) {
    .navbar form {
        width: 100%;
    }
    .top-navbar-input {
        width: 100%;
        margin-bottom: 10px;
    }
    .top-navbar-button {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
}
@media screen and (max-width: 850px) {
    .navbar, .navbar .container{
        height: 70px;
    }
    .navbar .logo {
        height: 40px;
    }
    .navbar .desktop {
        display: none;
    }
    .navbar.space-between .desktop {
        display: none;
    }
    .navbar .menu-toggle {
        font-size: 1.4rem;
        cursor: pointer;
        color: white;
    }
    .navbar .mobile {
        display: block;
        position: absolute;
        right: 15px;
    }
}


.footer-desc {
    background: #181818;
    text-align: center;
    padding: 15px;
}
.footer-desc span {
    color: #837e76;
}
.footer-desc div {
    margin-bottom: 7px;
}
.footer-desc a {
    color: #bcb5a9;
    text-decoration: none;
    margin: 0 5px;
}
.footer-desc a:hover {
    color: white;
}
.footer {
    color: white;
    background: #181818;
    padding-bottom: 50px;
    border-top: 1px solid #202020;
}
.footer .container {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);

    padding-bottom: 15px;
}
.footer .container h3 {
    color: white;
    font-size: 1rem;
    font-weight: normal;
}
.footer .container p {
    color: #bcb5a9;
}
@media screen and (max-width: 950px) {
    .footer .container {
        display: block;
    }
    .footer .container div {
        text-align: center;
    }
}