@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;
}

#main {
    width: 100%;
    min-width: 360px;
    max-width: 1920px;
    margin: 0 auto;
    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;
}

.game-section {
    display: flex;
    align-items: center;
    background-color: #e4eeff;
}

#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: #5256b9;
    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: #5256b9 !important;
}

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

#storeLinks {
    display: flex;
}

#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;
}

#appleStoreBtn {
    min-width: 79px;
}

#googlePlayStoreBtn {
    min-width: 90px;
}

#mainNavbarContent ul {
    width: 80%;
    margin-left: 1rem;
    font-weight: 400;
    font-size: 1.35rem;
}

.main-content {
    position: relative;
    z-index: 5;
}

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

#mainFooter #reindeer {
    right: 1rem;
    bottom: 0;
    z-index: 10 !important;
}

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

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

#aboutGame #tennis {
    left: 0;
    bottom: -3.05rem;
}

#aboutGame #elephant {
    right: 0;
    bottom: -3.05rem;
}

#gameInfo {
    display: block;
    padding: 1.5rem 0;
    max-width: 1920px;
    margin: auto;
    background-color: #e5eeff;
    color: #5256b9;
    position: relative;
    z-index: 5;
}

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

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

#gameInfo h2 {
    font-weight: bold;
}

.play-more-btn {
    display: flex;
    position: relative;
    color: #fff;
    width: 297px;
    height: 97px;
    font-size: 2.5rem;
    text-align: center;
    font-family: Asap, '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.webp);
}

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

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

/* Footer */
#mainFooter {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 100;
}

#mainFooter #penguin {
    position: absolute;
    bottom: -7.5rem;
    right: 0;
}

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

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

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

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

#mainFooter #bottom #links a {
    color: #fff;
}

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

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

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

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

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

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

@media screen and (max-width: 1024px) {
    #otherAppIcons .app-icon {
        padding: 1rem 0.5rem;
        width: 75px;
        height: auto;
    }

}

/* Bootstrap breakpoints */
/* md */
@media screen and (max-width: 991px) {
    #storeLinks {
        display: block;
        width: 50%;
        position: absolute;
        top: 0;
        right: 0;
    }

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

    #elephant,
    #tennis,
    #reindeer {
        display: none;
    }

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

    #aboutGame p {
        font-size: 1.25rem;
    }

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

    .inline-ads-160x600 {
        display: none !important;
    }

    .webgl-wrapper {
        width: 100% !important;
    }
}

/* sm */
@media screen and (max-width: 767px) {
    #socialLinks {
        position: static;
        top: unset;
        left: unset;
        display: flex;
        justify-content: center;
    }

    .inline-ads-300x600 {
        display: none !important;
    }
}
