@font-face {
    font-family: EnterSansman;
    src: url(../fonts/entsans.ttf);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-stretch: normal;
}

@font-face {
    font-family: EnterSansman;
    src: url(../fonts/entsani.ttf);
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    font-stretch: condensed;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-Regular.ttf);
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-Bold.ttf);
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-Italic.ttf);
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-ExtraBoldItalic.ttf) format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-LightItalic.ttf) format('truetype');
    font-weight: lighter;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-Medium.ttf) format('truetype');
    font-weight: medium;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Nunito;
    src: url(../fonts/Nunito-MediumItalic.ttf) format('truetype');
    font-weight: medium;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Asap;
    src: url(../fonts/Asap-Bold.ttf) format('truetype');
    font-style: normal;
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: Asap;
    src: url(../fonts/Asap-Regular.ttf) format('truetype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: Asap;
    src: url(../fonts/Asap-Light.ttf) format('truetype');
    font-style: normal;
    font-weight: lighter;
    font-display: swap;
}

@keyframes show-fade {
    from {
        opacity: .2
    }

    to {
        opacity: 1
    }
}

.show-fade {
    display: block !important;
    animation-name: show-fade;
    animation-duration: 1.5s;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up-animation {
    display: block !important;
    animation: slide-up 0.5s ease;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.custom-select-icon {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    background-image: url(../design/dropdown.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1rem;
    background-origin: content-box;
    box-sizing: border-box;
}

#main {
    position: static;
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
    max-width: 1920px;
    min-width: 360px;
    overflow-x: hidden;
    font-family: Nunito, 'Courier New', Courier, monospace;
    background-color: #fff;
    background-image: url(../design/bg/bg.png);
    background-position: right bottom;
    background-repeat: no-repeat;
}

#main::-webkit-scrollbar {
    width: 0.75rem;
}

#main::-webkit-scrollbar-track {
    background-color: whitesmoke;
}

#main::-webkit-scrollbar-thumb {
    width: 0.5rem;
    background-color: gray;
    outline: 1px solid darkgray;
}

.navbar {
    padding-bottom: 0.25rem !important;
}

.content-section {
    position: relative;
    display: inline-block;
    margin: 0;
    width: calc(100% - 330px);
    height: auto;
    min-height: 600px;
}

.inline-ads-160x600 {
    width: 160px;
    height: 600px;
    margin: 0;
}

.inline-ads-300x600 {
    display: inline-block;
    width: 300px;
    height: 600px;
    margin: 0;
}

.responsive-banner-ads {
    width: 100%;
    margin: 0 auto;
    height: auto;
    max-width: 300px;
    min-width: 160px;
}

.inline-ads-728x90 {
    display: inline-block;
    width: 728px;
    height: 90px;
    margin: 0;
}

.floating-img {
    position: absolute;
    z-index: 5;
}

.main-content {
    margin: 0 auto;
}

#webglContainer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #E4EEFF;
}

.webgl-section {
    width: calc(100% - 320px);
}

#aboutGame {
    position: relative;
    display: block;
    margin: 3rem auto;
    padding: 0;
    color: #5354c0;
    max-width: 1920px;
    width: 100%;
}

#mobileContent {
    margin: 1rem 0;
    display: none;
}

#gameInfo {
    display: block;
    padding: 1.5rem 0;
    max-width: 1920px;
    margin: auto;
    background-color: #e5eeff;
    color: #5354c0;
}

#aboutGame #corgi {
    bottom: -8rem;
    left: 0;
}

#aboutGame #unicorn {
    top: -5rem;
    right: 0;
}

.section-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#aboutGame .content,
#gameInfo .content {
    display: block;
    font-weight: bold;
    margin: 0 auto;
    max-width: 1920px;
    position: relative;
    font-style: normal;
    z-index: 10;
}

#aboutGame .content {
    width: calc(100% - 330px);
}

#gameInfo .content {
    width: calc(100% - 280px);
}

#aboutGame p {
    margin-top: 1rem;
    font-size: 1.5rem;
}

#gameInfo ul {
    list-style-type: disc !important;
    padding-left: 2rem;
}

#gameInfo h3 {
    font-weight: bolder;
}

.play-more-btn {
    display: flex;
    position: relative;
    color: #fff;
    width: 297px;
    height: 97px;
    font-size: 2.5rem;
    text-align: center;
    font-family: Nunito, 'Courier New', Courier, monospace;
    font-weight: bold;
    background-color: transparent;
    background-position: center center;
    background-size: contain;
    border: none;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

#playNowBtn {
    background-image: url(../design/bg/btn_play_now.webp);
}

.no-webp #playNowBtn {
    background-image: url(../design/bg/btn_play_now.png);
}

#moreBtn {
    font-size: 2rem;
    background-image: url(../design/characters/btn_more.png);
}

#navbarToggler {
    width: 47px;
    height: 37px;
    margin-left: 0.5rem;
    padding: 0 !important;
    border-width: 0;
    box-shadow: none;
    outline: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

#navbarToggler[aria-expanded="false"] {
    background-image: url(../design/menu_open.png);
}

#navbarToggler[aria-expanded="true"] {
    background-image: url(../design/menu_close.png);
}

#navbrandText {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    height: 50px;
    line-height: 50px;
    color: #5354c0;
    font-family: Nunito, 'Courier New', Courier, monospace;
    font-weight: bold;
}

.nav-item {
    line-height: 1rem;
    margin: 0.3rem 0;
    max-width: 200px;
}

.nav-link {
    line-height: 1rem !important;
    padding: 0.5rem 1rem !important;
    display: inline-block !important;
    color: #5354c0 !important;
}

.nav-link.active {
    border-radius: 1rem;
    background-color: #5354c0;
    color: #fff !important;
}

.no-effect {
    color: #fff;
    background-color: transparent;
}

.no-effect a {
    text-decoration: none;
}

.no-effect:hover {
    background-color: transparent;
}

#mainNavbarContent {
    position: relative;
}

#mainNavbarContent ul {
    max-width: 1920px;
    width: 80%;
    margin-left: 1rem;
    font-weight: normal;
    font-size: 1.35rem;
}

#mobileStoreLinks {
    display: none;
}

#mobileFollow {
    font-weight: bold;
    text-align: center;
    color: #6053bc;
}

#storeLinks {
    display: flex;
}

#mobileStoreLinks a {
    display: inline-block;
    width: 85%;
    margin: 0 0.2rem;
    text-decoration: none;
}

#storeLinks a {
    display: inline-block;
    margin: 0 0.2rem;
    text-decoration: none;
}

#googlePlayStoreBtn,
#appleStoreBtn {
    display: block;
    width: 99%;
    height: auto;
    margin: 0 auto;
    max-width: 180px;
    aspect-ratio: auto 348 / 104;
}

#appleStoreBtn {
    min-width: 79px;
}

#googlePlayStoreBtn {
    min-width: 90px;
}

/* Footer */
.main-footer {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    z-index: 1000;
}

.main-footer #penguin {
    position: absolute;
    bottom: -7.5rem;
    right: 0;
}

.main-footer #top {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    margin: 0;
    position: relative;
}

.main-footer #bottom {
    padding: 0;
    margin: 0;
    background-color: #79a7fd;
    height: 140px;
}

.main-footer #bottom #links {
    position: relative;
    padding-top: 1rem;
    display: block;
    width: auto;
    margin: 0 auto;
}

.main-footer #bottom #links .external-link {
    display: inline-block;
    margin: 0 0.5rem;
}

.main-footer #bottom #links a {
    color: #fff;
}

#socialLinks {
    display: block;
    position: absolute;
    top: 0.5rem;
    left: -10rem;
}

.social-page-link {
    display: inline-block;
}

#otherKooApps {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.65rem 0;
    z-index: 1000;
}

.read-more-btn {
    display: block;
    text-decoration: none;
    width: fit-content;
    background-color: #6053bc;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    min-width: 12.75rem;
    text-align: center;
}

#fandomIcon {
    display: inline-block;
    width: 2.5rem;
    height: auto;
    aspect-ratio: auto 147 / 126;
    vertical-align: top;
}

#fandomPageLink {
    color: #6053bc;
    text-decoration: none;
    font-weight: bold;
    text-decoration: underline;
}

/* Custom Loading Progress */
.webgl-content .logo,
.loading-progress {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.webgl-content .logo {
    background: url('../images/progressLogo.Light.png') no-repeat center / contain;
    width: 154px;
    height: 130px;
}

.webgl-content .loading-progress {
    height: 18px;
    width: 141px;
    margin-top: 90px;
}

.webgl-content .loading-progress .empty {
    background: url('../images/progressEmpty.Light.png') no-repeat right / cover;
    float: right;
    width: 100%;
    height: 100%;
}

.webgl-content .loading-progress .full {
    background: url('../images/progressFull.Light.png') no-repeat left / cover;
    float: left;
    width: 0%;
    height: 100%;
}

.webgl-content .logo.Dark {
    background-image: url('../images/progressLogo.Dark.png');
}

.webgl-content .loading-progress.Dark .empty {
    background-image: url('../images/progressEmpty.Dark.png');
}

.webgl-content .loading-progress.Dark .full {
    background-image: url('../images/progressFull.Dark.png');
}

.webgl-content .footer {
    margin-top: 5px;
    height: 38px;
    line-height: 38px;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-size: 18px;
}

.webgl-content .footer .webgl-logo,
.title,
.fullscreen {
    height: 100%;
    display: inline-block;
    background: transparent center no-repeat;
}

.webgl-content .footer .webgl-logo {
    background-image: url('../images/webgl-logo.png');
    width: 204px;
    float: left;
}

.webgl-content .footer .title {
    margin-right: 10px;
    float: right;
}

.webgl-content .footer .fullscreen {
    background-image: url('../images/fullscreen.png');
    width: 38px;
    float: right;
    cursor: pointer;
}

#mobileSnakeLogo {
    position: relative;
    margin: 0 auto;
    display: block;
    width: 100%;
    height: auto;
    max-width: 266px;
    aspect-ratio: auto 267 / 266;
}

#mobileDownload {
    width: 50%;
    position: relative;
}

#mobileDownload span {
    position: absolute;
    bottom: 0.5rem;
    display: block;
    width: 100%;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
    color: #fff;
}

#mobilePlay {
    position: relative;
    display: block;
    margin: 0 auto;
    background-image: url(../design/story/biomes/btn_play.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 45%;
    text-align: center;
    cursor: pointer;
}

.no-webp #mobilePlay {
    background-image: url(../design/story/biomes/btn_play.png);
}

#mobilePlay span {
    position: absolute;
    top: 50%;
    display: block;
    font-style: normal;
    width: 100%;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    transform: translateY(30%);
}

#mobileSocial {
    display: flex;
    justify-content: center;
}

.mobile-social-link {
    display: inline-block;
    margin: 0 1rem;
}

.youtube-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}

.youtube-player img {
    object-fit: cover;
    display: block;
    left: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: 0.4s all;
    -moz-transition: 0.4s all;
    transition: 0.4s all;
}

.youtube-player img:hover {
    -webkit-filter: brightness(75%);
    -moz-filter: brightness(75%);
    filter: brightness(75%);
}

.youtube-player .play {
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background-image: url("../design/home/yt_play.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.app-icon-link {
    display: inline-block;
}

.comics-chapter-banner {
    display: none;
}

.glow-wow-img {
    z-index: 1000;
    position: absolute;
    width: 70px;
}

#headGlow {
    bottom: -1rem;
    left: -1rem;
}

#headWow {
    top: -0.5rem;
    left: 24px;
}

#koomicsReadNowBtn {
    position: relative;
    color: white;
    border: none;
    font-family: Nunito, 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 2.25rem;
    background-image: url(../design/bg/btn_play_now.webp);
    width: 250px;
    height: 82px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.no-webp #koomicsReadNowBtn {
    background-image: url(../design/bg/btn_play_now.png);
}

#comicsCoverArts {
    width: 100%;
    margin: 1rem auto;
}

.chapter-readNow-banner,
#chapterComingSoonBanner {
    color: #fff;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.chapter-readNow-banner {
    display: none;
    z-index: 1000;
}

.comics-cover-art-container {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem;
    position: relative;
    margin: 0.25rem;
    background-color: #E4EEFF;
    cursor: pointer;
}

.chapter-readNow-banner:hover+.comics-chapter-cover-art,
.comics-chapter-cover-art:hover {
    filter: brightness(50%);
}

.comics-cover-art-container:hover .chapter-readNow-banner {
    display: block;
    color: white;
    opacity: 1;
}

#chapterComingSoonBanner img {
    display: block;
    width: 2.5rem;
    margin: 0.5rem auto;
}

#comicsCoverBanner {
    font-family: Saira, EnterSansman, 'Courier New', Courier, monospace;
    color: #fff;
    width: 95%;
    padding: 0.75rem;
    text-indent: 2rem;
    margin-bottom: 1rem;
    align-self: flex-end;
    background: linear-gradient(90.01deg, #8053E0 24.66%, rgba(240, 146, 255, 0.29) 111.24%);
    clip-path: polygon(1% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#comicsCoverCarousel {
    box-sizing: border-box;
    position: relative;
    width: calc(100vw - 600px);
    height: fit-content;
    margin: 0 auto;
    padding: 0.25rem;
    scrollbar-width: thin;
    max-width: 1100px;
    overflow: auto;
    white-space: nowrap;
    border-radius: 5px;
}

.comics-carousel-btn {
    z-index: 5000;
    position: sticky;
    top: 50%;
    padding: 1rem 0;
    width: 35px;
    transform: translateY(-50%);
    background-color: #7f52e0;
    border: none;
    outline: none;
    border-radius: 5px;
}

.comics-carousel-btn.previous {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}

.comics-carousel-btn.next {
    right: 0;
}

#otherKooApps #snakeContainer {
    width: 100%;
    display: flex;
    place-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 2.3rem;
}

#otherKooApps .app-icon {
    margin: 0.5rem;
}

#otherKooApps #snakeContainer .app-icon {
    margin: 0;
}

#otherKooApps .app-icon-cross-promo {
    width: auto;
    height: 80px;
}

@media screen and (min-width: 1910px) {
    #comicsCoverCarousel {
        max-width: 1250px;
    }
}

@media screen and (min-width: 1720px) {
    .comics-chapter-cover-art {
        width: 300px !important;
    }
}

@media screen and (min-width: 1600px) {
    .comics-chapter-banner {
        width: 315.1515px;
        height: 80px;
    }
}

@media screen and (max-width: 1600px) {
    .comics-chapter-cover-art {
        width: 250px !important;
    }

    .comics-chapter-banner {
        width: 315.1515px;
        height: 80px;
    }
}

@media screen and (max-width: 1590px) {
    .responsive-banner-ads {
        width: 160px;
    }

    .cca-ads {
        display: none;
    }

    #comicsCoverCarousel {
        width: 85vw;
    }
}

@media screen and (max-width: 1440px) {
    .glow-wow-img {
        width: 65px;
    }

    .comics-chapter-cover-art {
        width: 240px
    }

    #otherKooApps .app-icon {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 1134px) {
    #otherKooApps #otherGamesContainer {
        text-align: center;
    }

    .app-icon-link:nth-child(n+8) {
        display: none;
    }

    #otherKooApps #snakeContainer {
        row-gap: .5rem;
        column-gap: 1.2rem;
    }
}

@media screen and (max-width: 1030px) {
    #otherKooApps .app-icon-cross-promo {
        height: 60px;
    }

    #otherKooApps .app-icon {
        width: 60px;
        height: 60px;
    }

    .comics-chapter-banner {
        width: 236.3636px;
        height: 60px;
    }

    .glow-wow-img {
        width: 60px;
    }

    .webgl-section {
        width: 100%;
    }

    .responsive-banner-ads,
    .inline-ads-728x90,
    .inline-ads-160x600,
    .inline-ads-300x600 {
        display: none !important;
    }

    #corgi,
    #unicorn,
    #penguin {
        display: none;
    }

    #otherKooApps #snakeContainer {
        column-gap: 0.5rem;
    }
}

@media screen and (max-width: 1024px) {
    #koomicsReadNowBtn {
        display: block;
        margin: 1rem auto 0 auto;
        width: 200px;
        height: 65.32px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 912px) {
    .container-fluid {
        padding: 0 !important;
    }

    #mainNavbarContent {
        background-color: #fff;
        background-image: url(../design/bg/pattern_hexagon-mirrored.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 1rem;
        padding: 0.5rem;
    }

    #googlePlayStoreBtn,
    #appleStoreBtn {
        max-width: 220px;
    }

    #storeLinks {
        top: 0.5rem;
        right: 0.5rem;
        display: block;
        width: 55%;
        position: absolute;
    }

    #storeLinks a {
        display: block;
        margin: 0 auto 0.5rem auto;
    }

    #otherKooApps .app-icon-cross-promo {
        height: 60px;
    }

    #otherKooApps .app-icon {
        width: 60px;
        height: 60px;
    }

    #mainNavbarContent ul {
        width: 50%;
        margin: 0;
    }

    #aboutGame .content,
    #gameInfo .content {
        width: 80%;
    }

    .navbar-brand {
        transform: translateX(-15%);
        margin: 0 auto !important;
    }

    .navbar-brand img {
        display: none !important;
    }

    #navbrandText {
        font-size: 2rem;
    }

    .main-footer #top {
        padding: 1rem 0;
    }
}

@media screen and (max-width: 760px) {
    #comicsCoverBanner {
        width: 95%;
        padding: 0.5rem;
    }

    #comicsCoverCarousel {
        flex-direction: column;
        height: 100vh;
    }

    .comics-cover-art-container {
        display: block;
        margin: .25rem auto;
    }

    .comics-carousel-btn {
        display: none;
    }

    #main {
        background-image: unset;
        background-position: unset;
        background-repeat: unset;
    }

    #aboutGame {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    #aboutGame p {
        font-size: unset;
    }

    #moreBtn {
        font-size: 1.25rem;
    }

    .play-more-btn {
        width: 200px;
        height: 65.32px;
        font-size: 2rem;
    }

    #readFandomPage {
        font-size: 1rem;
        padding: 0.25rem 0.9rem;
        border-radius: 1.5rem;
    }

    #socialLinks {
        display: flex;
        justify-content: center;
        position: relative;
        margin: 0 auto;
        top: unset;
        left: unset;
    }

    #mobileStoreLinks {
        display: flex;
    }

    #mobileContent {
        display: block;
    }
}

@media screen and (max-width: 620px) {
    #otherKooApps #snakeContainer {
        flex-direction: row;
        flex-wrap: wrap-reverse;
        row-gap: 12px;
        margin-bottom: 0.5rem;
        max-width: 450px;
    }

    #snakeContainer .app-icon-cross-promo,
    #snakeContainer .app-icon {
        margin: 0.14rem;
        margin-bottom: 0;
    }

    #snakeContainer .app-icon-link:nth-child(1) {
        order: 3;
    }

    #otherGamesContainer .app-icon {
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }

    #otherGamesContainer .app-icon-link:nth-child(3) {
        display: none;
    }

    .app-icon-link:nth-child(n+7) {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .app-icon-link:nth-child(n+6) {
        display: none;
    }
}