@font-face {
    /* Injustice Font */
    font-family: FuturaCondensedMedium;
    src: url(../font/FuturaCondensedMedium.ttf);
    font-display: swap;
}
@font-face {
    font-family: FuturaCondensedMediumBT;
    src: url(../font/FuturaCondensedMediumBT.ttf);
    font-display: swap;
}

* {
    margin: 0px;
    padding: 0px;
}

/* IGAU Banner */
.banner {
    width: 100%;
    display: flex;
}

/* BEGIN Nav Bar */
.navbar {
    position: sticky;
    top: 0px;
    z-index: 10;
}

.navbar ul {
    list-style-type: none;
    overflow: hidden;
    background-color: #121619;
    font-family: FuturaCondensedMedium;
}

/* Make list elements (buttons) horizontal and left-aligned*/
.navbar .no_expand,
.navbar .dropdown {
    float: left;
}

/* Adjust navbar button style */
.navbar a,
.navbar .no_link {
    display: block;
    color: #fbfbfb;
    text-align: left;
    padding: 0.25vw 0.5vw;
    text-decoration: none;
    font-size: max(28px, 2.25vw);
}

.navbar .grid-body a,
.navbar .grid-body .no_link {
    font-size: 1.8vw;
}

.navbar .no_expand a:hover,
.grid-content a:hover {
    background-color: #7d868d;
    transition: 0.2s ease-out;
    cursor: pointer;
}

.dropdown:hover {
    background-color: #7d868d;
    transition: 0.2s ;
    cursor: default;
}

.navbar .no_expand a.active,
.navbar .dropdown a.active {
    background-color: #554471;
}

/* Dropdown menu items do not show until hover*/
.grid-body {
    display: none;
    left: 0px;
    position: absolute;
}

.dropdown:hover .grid-body {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background-color: #121619;
    border-bottom: 2px #7d868d solid;
    border-left: 2px #7d868d solid;
    right: 0px;
    z-index: 10;
}

.grid-header {
    display: contents;
}

.grid-header .no_link {
    text-align: center;
    text-decoration: underline;
    background-color: #34383b;
    border-right: 2px #7d868d solid;
    border-top: 2px #7d868d solid;
}

.grid-content {
    display: contents;
}

.grid-content a {
    border-right: 2px #7d868d solid;
}

/* Nav Bar Icons */
.navbar span {
    height: 2vw;
    display: inline-block;
    margin-right: 0.3vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.navbar .grid-body span {
    height: 1.5vw;
    margin-right: 0.5vw;
}

.home_icon {
    width: 2vw;
    background: url('../img/icon/home.webp');
}

.story_icon {
    width: 2.6vw;
    background: url('../img/icon/story.webp');
}

.navbar .grid-body .online_icon {
    width: 2vw;
}

.online_icon {
    width: 3.6vw;
    background: url('../img/icon/online.webp');
}

.navbar .grid-body .online_icon {
    width: 2.8vw;
}

.collection_icon {
    width: 3.2vw;
    background: url('../img/icon/collection.webp');
}

.navbar .grid-body .collection_icon {
    width: 2.5vw;
}

.calculator_icon {
    width: 1.5vw;
    background: url('../img/icon/calculator.webp');
}

.store_icon {
    width: 2.6vw;
    background: url('../img/icon/store.webp');
}

.navbar .grid-body .store_icon {
    width: 2vw;
}

.gear_icon {
    width: 2.3vw;
    background: url('../img/icon/gear.webp');
}


.character_icon {
    width: 1.5vw;
    background: url('../img/icon/character.webp');
}

.survivor_icon {
    width: 2vw;
    background: url('../img/icon/survivor.webp');
}

.phantom_zone_icon {
    width: 2vw;
    background: url('../img/icon/pz.webp');
}

.credits_icon {
    width: 1.75vw;
    background: url('../img/icon/credit.webp');
}

.small_online_icon {
    width: 1.75vw;
    background: url('../img/icon/online_small.webp');
}

.story_check_icon {
    width: 1.75vw;
    background: url('../img/icon/story_check.webp');
}

.llt_icon {
    width: 2vw;
    background: url('../img/icon/llt.webp');
}

.pz_drop_icon {
    width: 2vw;
    background: url('../img/icon/pz_drop.webp');
}

.gold_superman_icon {
    width: 1.75vw;
    background: url('../img/icon/gold_superman.webp');
}

.xp_icon {
    width: 1.75vw;
    background: url('../img/icon/xp.webp');
}

.augment_icon {
    width: 2vw;
    background: url('../img/icon/augment.webp');
}

.br_icon {
    width: 1.75vw;
    background: url('../img/icon/br.webp');
}

.pz_crystal_icon {
    width: 2vw;
    background: url('../img/icon/pz_crystal.webp');
}

.shards_icon {
    width: 1.75vw;
    background: url('../img/icon/shards.webp');
}

.defense_icon {
    width: 1.75vw;
    background: url('../img/icon/defense.webp');
}

.val_icon {
    width: 2vw;
    background: url('../img/icon/val.webp');
}

/* END Nav Bar */

/* BEGIN Mobile Nav Menu */

/* Menu Button */
.mobile-menu {
    /* Display with media query */
    display: none;
    background-color: #554471;
    height: 36px;
    width: 36px;
    padding: 8px 8px;
    top: 10px;
    right: 10px;
    position: fixed;
    float: right;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 30%;
    z-index: 10;
}

.mobile-menu .m-menu__checkbox {
    display: none;
}

/* Full Menu Styling */
.mobile-menu .m-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100vw - 60px);
    max-width: 300px;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    background-color: #121619;
    font-family: FuturaCondensedMedium;
}

/* Menu Overlay */
.mobile-menu .m-menu__overlay {
    background-color: rgb(103 103 103 / 50%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    z-index: 10;
    display: none;
}

/* Top Left Close/Back Buttons */
.mobile-menu .m-menu__toggle,
.mobile-menu .m-menu label.m-menu__toggle,
.mobile-menu .m-menu .m-menu label.m-menu__toggle {
    color: #fbfbfb;
    width: 36px;
    text-align: center;
    font-size: 25px;
    cursor: pointer;
}

.mobile-menu .m-menu__header {
    padding: 0 16px;
    height: 50px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -ms-flex-pack: space-around;
    -webkit-align-items: center;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    background-color: #34383b;
}

.mobile-menu .m-menu ul {
    height: 100%;
    overflow-y: auto;
}

.mobile-menu .m-menu__content {
    display: block;
    text-align: left;
    line-height: 47px;
    text-decoration: none;
    color: #fbfbfb;
    cursor: pointer;
    font-size: 25px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

/* Icons */
.mobile-menu .m-menu__x-icon {
    display: inline-block;
    width: 25px;
    height: 30px;
    background: url(../img/icon/x.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.mobile-menu .m-menu ul .m-menu__toggle span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../img/icon/back_arrow.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu .m-menu__content span {
    display: inline-block;
    height: 25px;
    width: 25px;
    padding-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu .m-menu__content:hover {
    transition: 0.2s ease-out;
    background-color: #7d868d;
}

.mobile-menu .m-menu__header .m-menu__submenu-name {
    color: #fbfbfb;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.mobile-menu .m-menu ul li label.a-label__chevron::after {
    content: "";
    position: absolute;
    display: inline-block;
    height: 10px;
    width: 10px;
    border-color: #fbfbfb;
    border-style: solid;
    border-width: 1px 1px 0 0;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    margin-top: -5px;
    right: 16px;
}

.mobile-menu .m-menu ul li .-invisible {
    border-bottom: 0;
}

.mobile-menu .m-menu .m-menu label.m-menu__toggle {
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    border-bottom: 0;
    padding: 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.mobile-menu .m-menu__checkbox:checked~.m-menu__overlay {
    display: block;
}

.mobile-menu .m-menu__checkbox:checked~.m-menu {
    /* Menu appear animation */
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -moz-transition: transform 0.4s;
    -o-transition: transform 0.4s;
    -webkit-transition: transform 0.4s;
    transition: transform 0.4s;
}

.mobile-menu .m-menu {
    /* Menu disappear animation */
    -moz-transform: translate3d(calc(100vw + 450px), 0, 0);
    -o-transform: translate3d(calc(100vw + 450px), 0, 0);
    -ms-transform: translate3d(calc(100vw + 450px), 0, 0);
    -webkit-transform: translate3d(calc(100vw + 450px), 0, 0);
    transform: translate3d(calc(100vw + 450px), 0, 0);
    -moz-transition: transform 0.4s;
    -o-transition: transform 0.4s;
    -webkit-transition: transform 0.4s;
    transition: transform 0.4s;
}

.mobile-menu .m-menu .m-menu {
    /* Menu back animation */
    -moz-transform: translate3d(450px, 0, 0);
    -o-transform: translate3d(450px, 0, 0);
    -ms-transform: translate3d(450px, 0, 0);
    -webkit-transform: translate3d(450px, 0, 0);
    transform: translate3d(450px, 0, 0);
    -moz-transition: transform 0.4s;
    -o-transition: transform 0.4s;
    -webkit-transition: transform 0.4s;
    transition: transform 0.4s;
}

/* END Mobile Nav Menu */

@media only screen and (max-width: 1050px) {
    .navbar {
        display: none;
    }

    .mobile-menu {
        display: -ms-flexbox;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
    }
}