html, body {
    margin: 0;
    padding: 0;
}

.W-wrap {
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

@media (max-height: 343px) {
    .W-wrap {
        height: 100vh;
    }
}

body {
    position: relative;
    max-width: 1366px;
    background-color: #0c092a;
    color: #fff;
    font: 400 15px Roboto, Sans-Serif;
    letter-spacing: normal;

}

img {
    display: block;
}

img.bg {
    width: 100%;
    max-width: 1366px;
}


.logo {
    width: 140px;
    padding: 5px 0px 5px 20px;
}

/* section header */
.sectionHeader {
    display: block;
    padding-right: 27px;
    padding-top: 10px;
}

.sectionHeader h2 {
    margin: 0;
    margin-bottom: 18px;
    font-size: 23px;
    padding-left: 20px;
}

.sectionHeaderNav {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 27px;
    top: 10px;
    z-index: 20;
    gap: 5px;
}

.section-button-prev,
.section-button-next {
    border: 1px solid #fff;
    border-radius: 8px;
    height: 24px;
    width: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-button-prev:hover,
.section-button-next:hover {
    background-color: #4188fe;
}

/* tabs */
.tabs {
    overflow: hidden;
    position: absolute;
    z-index: 20;
    width: 100%;
    display: none;
}

.games-wrapper {
    display: flex;
    gap: 16px;
}

.tabs .wrap {
    flex-direction: row;
    box-sizing: border-box;
    display: flex;
    place-content: center flex-start;
    align-items: center;
    width: max-content;
}

.tabs a {
    width: max-content;
    font-size: 12px;
    font-weight: 300;
    color: white;
    text-decoration: none;

    padding: 4px 10px;
    word-spacing: 1px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 5px;
}

.tabs a.active,
.tabs a:hover {
    background: #4188fe;
    color: white;
    border-radius: 5px;

}

/* slide*/
#section-swiper {
    margin-top: 0;
}

.swiper-slide {
    position: relative;

}

.swiper-container {
    overflow: visible;
    overflow-x: clip;
}


.item {
    position: relative;
}

.overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    /* height: calc(100% - 40px); */
    opacity: 0;
    transform: translateX(100px);
    transition: transform .5s, opacity .5s;
}

.swiper-slide-active .overlay {
    opacity: 1;
    transform: translateX(0);
}

/* games */
.games {
    z-index: 10;
    position: absolute;
    left: 50px;
    bottom: -70px;
    max-width: 530px;
}

.games .swiper-pagination {
    bottom: -28px;
}

.games .swiper-pagination-bullet {
    background: transparent;
    border: white 1px solid;
    opacity: 1;
}

.games .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: white;
}

.games .swiper-button-prev {
    left: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 34px;
    background: none;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 50%;
    cursor: pointer;
    color: white;
    width: 34px;
    height: 34px;
    top: 55%;
}

.games .swiper-button-next {
    right: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 34px;
    background: none;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 50%;
    cursor: pointer;
    color: white;
    width: 34px;
    height: 34px;
    top: 55%;
}

.game {
    display: block;
    width: 80px;
    height: 80px;
}

.game .wrap {
    display: block;
    width: 80px;
    height: 80px;
    box-shadow: 0 0 7px 0 #fff;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    border-radius: 15px;
    overflow: clip;
}

.game img {
    display: block;
    width: 80px;
    height: 80px;
}

/* game icons */
.game .icon.hot {
    display: block;
    position: absolute;
    z-index: 2;
    top: -10px;
    right: 0;
    width: 18px;
    height: 18px;
    background-image: url(https://www.admiral.hr/assets/icons/cro/hot.png);
    background-size: cover;
}

.game .icon.tournament {
    display: block;
    position: absolute;
    z-index: 2;
    bottom: -9px;
    right: 1px;
    width: 18px;
    height: 18px;
    background-image: url(https://www.admiral.hr/assets/icons/cro/turnir2.png);
    background-size: cover;
}

.game .icon.jackpot {
    display: block;
    position: absolute;
    z-index: 2;
    bottom: -11px;
    right: 19px;
    width: 18px;
    height: 18px;
    background-image: url(https://www.admiral.hr/assets/icons/cro/jackpot.png);
    background-size: cover;
}

.overlay.mobile{
    bottom: 38px;
}

/* responzive */
@media (min-width: 1366px) {
    body {
        width: 1366px;
    }
    .overlay{
        bottom: 0;
    }
}

@media (min-width: 600px) {

    .bg.mobile,
    .tabs,
    .overlay.mobile {
        display: none;
    }

    #section-swiper {
        margin-top: 50px;
    }
}



@media (max-width: 600px) {

    .bg.wide,
    .overlay.wide,
    .sectionHeaderNav,
    .games .swiper-pagination {
        display: none;
    }

    .logo {
        width: 80px;
        padding: 5px 0 5px 15px;
    }

    #section-swiper {
        /* margin-top: 20px; */
    }

    .games {
        max-width: 100%;
        left: 0;
        right: 0;
        bottom: 130px;
    }

    .games .games-wrapper,
    .games .swiper-container {
        padding: 0 10px;
    }

    .games-wrapper {
        display: flex;
        gap: 16px;
    }

    .games .swiper-wrapper {
        /* padding:0 10px; */
    }

    .games .swiper-button-prev,
    .games .swiper-button-next {
        display: none;
    }

    /* .game {
         margin:0 5px;
     } */
    .game,
    .game .wrap,
    .game img {
        width: 78px;
        height: 78px;
    }


}

@media (max-width: 480px) {
    #section-swiper {
        margin-top: 10px; 
    }

    .games {
        max-width: 100%;
        left: 0;
        right: 0;
        bottom: 30px;
    }

    .tabs {
        overflow-x: scroll;
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
        scrollbar-width: none;
        /* Firefox */
    }

    .tabs::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }

    h2 {
        display: none;
    }
}