:root {
    --background-0: #274e80;
    --background-1: gold;
    --background-2: green;
    --background-3: white;
}

*,
*:before,
*:after {
    box-sizing: border-box
}

.error404>main>.container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.error404 main .logo {
    display: flex;
    align-items: center;
    align-content: center;
}

.error404 footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

li {
    list-style: none;
}

.rolling-menu {
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
}

.logo {
    margin: 0 5px;
    padding: 5px;
}

.home-logo {
    max-width: 170px;
}

.logo-wrapper .logo:not(.search) {
    margin-right: 15px;
    border-bottom: 4px #ffb000 solid;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

.logo.search {
    flex: 0 0 50px;
    padding: 7px;
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
}

a,
a:visited {
    color: white;
    text-decoration: none;
}

a:hover {
    color: var(--background-1);
}

img {
    width: 100%;
    height: auto;
}

.logo-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.logo-wrapper .logo.is-active,
.logo-wrapper .logo:hover,
#search_btn:checked~header .logo-wrapper .logo.search {
    border-bottom: 4px #72aee6 solid;
    box-sizing: border-box;
}

header {
    background: linear-gradient(180deg, #192632aa 28%, #000000aa 100%);
}

body {
    font-family: 'Roboto';
    background: rgb(9 27 50);
    margin: 0;
    color: white;
}

main section {
    margin: 2px 0;
}

.row {
    overflow: hidden;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.game-title {
    padding: 5px 10px;
    margin: 20px 0 0;
    text-align: center;
    text-transform: uppercase;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    border-radius: 20px;
    background: #1E2835;
    border: 1px solid rgba(255, 255, 255, 0.0784313725);
}

.games .container>div:nth-child(1) .game-title {
    margin-top: 4px;
}

.game-title a {
    display: block;
    padding: 15px;
    margin-right: 5px;
    border: 2px solid white;
    border-radius: 15px;
}

.game-title a:hover {
    border-color: var(--background-1);
}

.games .game-title a {
    border: unset;
    border-radius: unset;
}

.games .game-title a.section-button {
    padding: 5px 35px 30px;
    border: 1px solid #2974b977;
    border-radius: 24px;
}

.hoverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hoverlay:hover {
    opacity: 90%;
}

.game-tile-title>* {
    margin: 5px 0 10px;
    color: white;
}

.game-tile-title>h4 {
    font-size: 12px;
    height: 27px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.star-container {
    text-align: center;
    width: 100%;
}

.star {
    background: url(./images/star.svg) 0 0 no-repeat;
    padding: 10px 10px;
    margin: 5px;
    background-size: contain;
    background-position: center;
}

.star.no-star {
    filter: invert(1) sepia(2) saturate(50%) brightness(3);
}

h4.unavail {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
}

h4 span {
    font-size: 75%;
    padding: 5px;
    margin: 5px;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button>i {
    background: url(./images/play-white.svg) 0 0 no-repeat;
    padding: 30px 40px;
    margin: 0;
    background-size: cover;
    background-position: center;
}

.article .container {
    padding: 32px 65px;
    color: white;
    background: rgb(0 0 0 / 5%);
}

.article {
    margin: 30px 0;
    background-image: url(./images/article-bg.jpg);
    text-align: justify;
}

.article-header {
    text-align: center;
    margin: 20px auto 30px;
    font-size: 22px;
}

.article-content a {
    color: var(--background-1);
}

footer {
    text-align: center;
    margin: auto;
    margin: 15px auto 0;
}

.article-header h1 {
    text-transform: uppercase;
}

.article-header h1,
.article h2 {
    color: #56ff00;
    font-size: 25px;
}

.search-header {
    padding: 30px;
    font-size: 33px;
    margin: 35px 0 10px;
}

.search-header span {
    white-space: nowrap;
    text-transform: initial;
}

#searchform {
    height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-end;
}

.search-icon {
    width: 100%;
    cursor: pointer;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.main-search {
    opacity: 0%;
    z-index: -1;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, #197c00, #2cdd00 8%, #77ff00 51%, #9bff44 86%, #57f330);
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    transition: all .5s;
    padding: 20px 10px 10px 30px;
}

.main-search-box .search-icon {
    max-width: 50px;
    padding: 7px;
}

#search_btn:checked~header .main-search {
    opacity: 100%;
    z-index: 35;
    width: 100%;
}

.main-search-box {
    width: 400px;
    height: 45px;
    position: relative;
    display: flex;
    text-align: right;
    float: right;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.main-search-box>input {
    width: 90%;
    height: 45px;
    border: solid 1px #ccc;
    text-align: left;
    color: black;
    font-size: 18px;
    padding-left: 65px;
    box-sizing: border-box;
}

.main-search-box>span {
    position: absolute;
    text-shadow: 0 0 0px black;
    top: -1px;
    left: 0;
    color: white;
    font-size: 10px;
    width: 55px;
    padding: 12px 7px 13px 11px;
    background: var(--background-0);
}

.main-search-box button {
    position: absolute;
    font-size: 12px;
    width: 80px;
    text-align: center;
    padding: 5px 6px;
    vertical-align: middle;
    height: 40px;
    border: 1px solid black;
    background: var(--background-0);
    right: calc(10% + 16px);
    top: 2px;
    display: block;
    cursor: pointer;
    color: white;
}

.main-search-box .see-more {
    position: absolute;
    right: 40px;
    background: #999;
    padding: 2px 15px;
    bottom: -20px;
    font-size: 13px;
    border: 1px solid var(--background-1);
}

.main-search-box .see-more:before {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    z-index: 10;
    position: absolute;
    top: -6px;
    right: 36px;
    content: "";
    background: #999;
}

.main-search-box .see-more {
    position: absolute;
}

#search-result {
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    background: #0008;
}

#search-result-row {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}

#search-result-row .flex-box {
    flex: 0 0 20%;
    padding: 5px;
}

.pic-container {
    width: 100%;
    height: auto;
}

header#header {
    position: fixed;
    top: 0;
    left: -15px;
    right: -15px;
    z-index: 99;
    box-shadow: 0px 0px 8px 2px #000000;
    background-image: url(./images/header-bg2.jpg);
    display: block;
    padding-top: 10px;
    text-align: center;
}

.home-logo {
    width: 250px;
    display: inline-block;
    padding: 5px;
}

main#main {
    margin-top: 140px;
}

body {
    background: black;
}

.games .container .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex: 0 0 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.card>* {
    transition: all .2s;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin: 30px;
}

.btn-container a {
    width: 30%;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 14px;
    margin: auto 20px;
    font-weight: bold;
    border: none;
    outline: none;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #D1C263 12.5%, rgba(245, 191, 82, 0.5) 41.32%, #5D310E 68.41%, #000000 95.08%), #5D310E;
    box-shadow: 0px 2px 19px 2px #d8ac54;
    cursor: pointer;
    background-size: 150% 95%;
    animation: btn_ef 2s linear infinite;
}

a.daftar-button:before {
    background: #000000;
}

.btn-container a:before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
    border-radius: 14px;
    z-index: -1;
    transition: 200ms;
}

.btn-container a:after {
    content: "";
    font-size: 16px;
    background: linear-gradient(to left, #D8AC54, #ffffffbf);
    -webkit-background-clip: text;
    color: #ffffff;
    transition: 200ms;
}

.btn-container a.daftar-button:before {
    background: #000000;
}

.slider_provider {
    margin-top: 20px;
    background: #000000;
    padding: 10px;
    display: flex;
}

.provider_nav_item {
    padding: 5px 10px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.66)), rgba(255, 255, 255, 0.66);
    mix-blend-mode: normal;
    border-radius: 10px;
    margin: 10px;
}

a.current .provider_nav_item {
    background: linear-gradient(90deg, #D1C263 12.5%, rgba(245, 191, 82, 0.5) 41.32%, #5D310E 69.28%, rgba(0, 0, 0, 0.53) 95.08%), #5D310E;
    border-radius: 14px;
    border: 1px solid #d8ac54;
}

.provider_nav_item img {
    max-width: 140px;
    height: 50px;
}

section.games {
    padding-top: 0;
}

.card .card-desc {
    text-align: center;
    position: relative;
    background: #010101;
    width: 93%;
    height: calc(var(--thumb-height) + var(--box-desc-height) + var(--box-clear-height));
    padding: 10px;
    margin: 20px 10px;
    transition: all .2s;
    background: #1E2835;
    box-shadow: 0 0 4px 4px #5bc300;
    border: 2px solid #5bc300;
    position: relative;
    border-radius: 10px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.card img {
    aspect-ratio: 1/1;
}

.card:hover {
    z-index: 100;
}

.card:hover .card-desc {
    transform: scale(.90);
    box-shadow: 0 0 33px 10px #5bc300;
    background: #0a0a42;
}

.play-btn {
    font-size: 12px;
    text-align: center;
    padding: 10px 17px 10px 0;
    border-radius: 50px;
    margin: 15px 5px;
    font-weight: 900;
    text-transform: capitalize;
    background: linear-gradient(180deg, #197c00, #2cdd00 8%, #77ff00 51%, #9bff44 86%, #57f330);
    box-shadow: inset 0 -2px 0 0 #05540b;
    text-shadow: #000 0 0 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    transition: all .1s;
    height: 0;
    opacity: 0;
    z-index: -1;
}

.card:hover .play-btn {
    top: 13%;
    height: auto;
    opacity: 90%;
    z-index: 25;
}

.play-btn>i {
    background: url(./images/play-white.svg) 0 0 no-repeat;
    padding: 5px 10px;
    margin: 0 5px 0 20px;
    background-size: contain;
    background-position: center;
}

@keyframes btn_ef_progress {
    0% {
        background-position: 100%;
    }
}

@media (max-width: 500px) {
    .main-search-box {
        margin-top: 7px;
    }

    .main-search-box>input {
        height: 34px;
        font-size: 14px;
        padding-left: 45px;
    }

    .main-search-box>span {
        font-size: 8px;
        width: 41px;
        top: 4px;
        padding: 9px 7px;
    }

    .main-search-box button {
        font-size: 10px;
        width: 55px;
        padding: 3px 7px;
        height: 32px;
        top: 7px;
    }

    .search-header {
        padding: 10px 30px;
        font-size: 25px;
        margin: 15px 0 0px;
    }

    #search-result-row {
        width: 100%;
    }
}

.player {
    display: flex;
    flex-direction: row;
    background: #1E2835;
    border: 1px solid rgba(255, 255, 255, 0.0784313725);
    border-radius: 10px;
    padding: 15px;
}

.player-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 70%;
}

.player-box {
    display: flex;
    flex-direction: column;
    height: auto;
}

.player-container {
    position: relative;
    padding: 28.125% 0;
    width: 100%;
    height: 100%;
    background: #000000a7;
    overflow: hidden;
}

.player-container>*,
.player-overlay>* {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    position: absolute;
}

#game-button-box {
    bottom: 0;
    position: absolute;
}

#game-button-box a {
    padding: 5px 10px;
    margin: 3px;
}

#game-button-box a:hover {
    background: #0009;
    border-radius: 5px;
}

.player-overlay>.game-tile-title {
    top: 50%;
    left: 50%;
    min-height: 200px;
    border-radius: 20px;
    max-width: 400px;
    opacity: 100%;
    background: #000a;
    transform: translate(-50%, -50%);
}

.player-overlay>.game-tile-title>* {
    margin: 5px 0 10px;
    color: white;
}

.game-tile-title-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-tile-title-wrapper>* {}

.img-18 {
    max-width: 50px;
}

.game-tile-title-wrapper .play-btn {
    opacity: 100%;
    display: flex;
    flex-direction: row;
    height: 50px;
    align-items: center;
    position: static;
    z-index: 1;
}

.game-tile-title-wrapper>.star-container {
    bottom: 10px;
}

.player-overlay h4 {
    font-size: 20px;
    letter-spacing: 5px;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
}

.image-bg {
    background-size: cover;
    background-position-y: 50%;
    filter: blur(5px);
    z-index: -1;
}

#game_main {
    position: absolute;
    margin: auto;
}

.game-wrapper {
    width: 100%;
    height: 100%;
    margin: auto;
}

.game-data {
    display: flex;
    justify-content: space-between;
}

.single main#main {
    margin-top: 225px;
}

.player-right {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 35px;
}

.player-right .card .card-desc {
    display: flex;
    flex-direction: row;
    margin: 8px;
    padding: 2px;
}

.player-right .card .card-desc img {
    max-width: 100px;
}

.player-main .game-stars-wrapper {
    align-self: self-end;
}

.player-right .row {
    max-height: 550px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
}

.player-right .section-highlight {
    display: block;
    width: 100%;
    padding: 15px;
}

.player-right .section-highlight.top {
    background: #798DA3;
    border: 1px solid #72aee6;
}

.section-button {
    border: 1px solid #2974b977;
    border-radius: 24px;
    background: #798DA3;
    box-shadow: inset 0 -2px 0 0 #1859ac99;
    z-index: 2;
    white-space: nowrap;
    height: 32px;
    padding: 5px 15px 30px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
}

.section-button:hover {
    background-image: linear-gradient(180deg, #55d6fb, #56a5ed 8%, #2f62c8 51%, #1f73c3 86%, #65acf7);
    border: 1px solid #2974b9;
    box-shadow: inset 0 -2px 0 0 #1859ac;
}

.player-right .section-button {
    display: block;
    padding: 10px 15px;
    width: 100%;
    height: unset;
    margin-bottom: 0;
}

.data-line {
    font-weight: 900;
    text-shadow: hsl(0deg 0% 100% / 70%) 0 0 10px;
    margin-top: 10px;
    color: #cce226;
    font-size: 18px;
    padding: 3px 10px 6px;
}

.data-line span {
    color: #fff;
    font-weight: 200;
    white-space: nowrap;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .player .container {
        background: unset;
    }

    .player-box {
        flex-basis: 100%;
    }
}

@keyframes wiggle {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transform: rotate(0) translate(-50%, -50%);
    }

    90% {
        transform: rotate(15deg) translate(-50%, -40%);
    }

    70% {
        transform: rotate(-15deg) translate(-50%, 35%);
    }

    50% {
        transform: rotate(35deg) translate(-50%, -40%);
    }
}

@keyframes line-slide {
    0% {
        background-position: -5% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.menu-icon.is-active,
.menu-icon:hover {
    text-shadow: none;
    color: #cce226;
    filter: brightness(1.5) drop-shadow(2px 4px 6px black);
}

.menu-icon i:before {
    content: "";
    width: auto;
    height: 45px;
    padding: 20px 18px;
    margin: auto 8px;
    filter: brightness(1) hue-rotate(50deg) contrast(2) drop-shadow(1px 1px 4px #266ee2);
}

.menu-icon.pragmaticplay i:before {
    background: url(./images/pragmatic.svg) 0 0 no-repeat;
    background-size: contain;
    background-position: center;
}

.menu-icon.habanero i:before {
    background: url(./images/habanero.svg) 0 0 no-repeat;
    background-size: contain;
    background-position: center;
}

.menu-icon.spadegaming i:before {
    background: url(./images/spadegaming.svg) 0 0 no-repeat;
    background-size: contain;
    background-position: center;
}

.menu-icon.joker123 i:before {
    background: url(./images/joker123.svg) 0 0 no-repeat;
    padding: 20px 30px;
    background-size: contain;
    background-position: center;
}

.menu-icon.recommended i:before {
    background: url(./images/recommended.svg) 0 0 no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0 15px;
}

.menu-icon.menu-search i:before {
    background: url(./images/search.svg) 0 0 no-repeat;
    padding: 20px 15px;
    background-size: contain;
    background-position: center;
    filter: brightness(1) hue-rotate(-12deg) contrast(2) drop-shadow(1px 1px 4px #266ee2);
}

ul#menu-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background-image: url(./images/nav-green.png);
    background-size: cover;
    margin: 0;
    padding: 5px 0 10px;
}

ul#menu-menu>li {
    padding: 10px;
}

body a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    text-shadow: hsl(0deg 0% 0% / 80%) 0 0 14px;
    transition: all .2s ease-out;
    font-weight: 100;
}

.menu-icon {
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .card {
        flex: 0 0 25%;
    }
}

@media (max-width: 1024px) {
    a.menu-icon {
        font-size: 18px;
    }

    #menu-menu>li span {
        font-size: 14px;
    }

    #menu-menu>li {
        padding: 10px 5px;
    }

    #menu-menu .menu-icon i:before {
        padding: 15px;
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .game-title h2 {
        display: none;
    }

    header .container {
        flex-direction: column;
        align-content: center;
    }

    .logo-wrapper .logo:not(.search) {
        margin-right: 5px;
        border-right: none;
    }

    .logo.home-logo {
        text-align: center;
        margin: 0 auto 3px;
        padding-top: 10px;
    }

    .rolling-menu {
        padding: 0;
        border-top: 2px solid #000;
    }

    .logo {
        margin: 0;
        padding: 0;
    }

    .game-title a {
        padding: 5px 15px;
        margin-right: 0;
        border-width: 1px;
        border-radius: 12px;
        font-size: 12px;
    }

    .article-header h1 {
        font-size: 21px;
    }

    .article-content h2 {
        text-align: center;
        font-size: 18px;
    }

    .article-content p {
        text-align: justify;
        font-size: 15px;
    }

    .article .container {
        padding: 12px 22px;
    }

    .article {
        margin: 30px 0;
        text-align: justify;
        margin: 0;
        background-image: url(./images/article-bg.jpg);
    }

    .game-title .logo img {
        width: 130px;
    }

    .main-search {
        padding: 5px;
    }

    #search_btn:checked~header .logo.home-logo {
        display: none;
    }

    #search_btn:checked~header {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        height: 80px;
        z-index: 50;
    }

    #search_btn:checked~main {
        margin-top: 80px;
    }

    #menu-menu>li span {
        font-size: 11px;
    }

    #menu-menu>li {
        padding: 5px;
    }

    #menu-menu .menu-icon i:before {
        padding: 13px;
        margin: 0 4px;
    }

    .card {
        flex: 0 0 33%;
    }
}

@media (max-width: 600px) {
    #menu-menu>li span {
        font-size: 8px;
    }

    #menu-menu>li {
        padding: 2px;
    }

    #menu-menu .menu-icon i:before {
        padding: 11px;
        margin: 0 2px;
    }

    .card {
        flex: 0 0 50%;
    }

    .player {
        flex-direction: column;
    }

    .game-data {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
    }

    .game-data>div {
        flex: 0 0 150px;
    }

    .game-data * {
        font-size: 12px;
    }

    .game-main-title {
        font-size: 14px;
        text-align: center;
    }

    .player-right .card {
        flex: 0 0 150px;
    }

    .player-right .row {
        max-width: 550px;
        overflow-x: scroll;
        overflow-y: hidden;
        flex-direction: row;
    }

    .player-right .card .card-desc {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    #menu-menu>li span {
        display: none;
    }

    #menu-menu>li {
        padding: 5px;
    }

    #menu-menu .menu-icon i:before {
        padding: 20px;
        margin: 0 5px;
    }

    .card {
        flex: 0 0 150px;
    }

    .card .card-desc {
        padding: 0;
    }
}