﻿body {
    overflow-x: hidden;
}

app {
    display: flex;
    flex-direction: column;
    min-width:375px;
    min-height:100%;
}

.container {
    margin: auto;
}

section {
    margin-left: auto;
    margin-right: auto;
}

/*layout*/
/* Main setup */
html {
    font-family: "Titillium Web", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header nav button {
    border: none;
    background-color: transparent;
    padding: 0;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
/*    color: #373a3c;*/
    color: #fff;
}

.han {
    font-family: "Black Han Sans", sans-serif;
}

.titillium {
    font-family: "Titillium Web", sans-serif;
}

.bold {
    font-weight: 700;
}

.black {
    font-weight: 900;
}

.upper {
    text-transform: uppercase;
}

.small {
    font-size: 1.25rem;
}

.medium {
    font-size: 1.5rem;
}

.big {
    font-size: 2rem;
}

/* Nav bar */
header nav {
/*    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: absolute;
    width: 100%;
    background-color: white;
    left: 0;
    z-index: 999;
    transition: position 400ms;
*/}

header nav {
    /*top: 0;*/
}

#ironhide {
    width: 115px;
    height: auto;
}

.menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: right 300ms ease-in 300ms, background-color 300ms ease-out;
}

.menu > div {
    background-color: white;
    width: 75%;
    margin-left: auto;
    padding: 2rem;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

#menu-button {
    transition: opacity 300ms;
    border-radius: 0;
}

#close-menu {
    float: right;
}

.menu ul:first-of-type {
    padding-top: 6rem;
}

.menu ul:first-of-type li {
    margin-bottom: 3rem;
}

.menu ul:last-of-type {
    padding-top: 1.5rem;
}

.menu ul:last-of-type li {
    display: inline-block;
/*    margin-right: 1.5rem;*/
}

/* active states */
nav.active {
    position: fixed;
}

nav.active .menu {
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: right 400ms cubic-bezier(0.07, 1.05, 0.83, 1.01), background-color 300ms ease-in 400ms;
}

nav.active #menu-button {
    opacity: 0;
}

/* main */
main {
    margin-top: 56px;
}

main .container {
    width: 100%;
}

/* Color buttons */
.candy-button {
    padding: 1em 3em 1em 3em;
    border-radius: 0.7em;
    background-image: linear-gradient(#E8551C 50%, 50%, #d14209);
    color: white;
    border: 3px solid #741D07;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.candy-button > span {
    margin-right: 0.5em;
}

a.candy-button {
    display: inline-block;
    text-align: center;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media only screen and (min-width: 1025px) {
    .small {
        font-size: 1.2rem;
    }

    nav {
/*        position: static;
        align-items: center;
        gap: 3rem;
*/    }

    .menu {
        position: initial;
    }

    #menu-button {
        display: none;
    }

    #close-menu {
        display: none;
    }

    .menu > div,
    nav.active .menu > div {
        width: auto;
        padding: 0;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu ul:first-of-type {
        padding-top: 0;
    }

        .menu ul:first-of-type li {
            margin-bottom: 0;
            margin-right: 1rem;
        }

    .menu ul:last-of-type {
        padding-top: 0;
        padding-top: 5.5px;
        margin-right: 0;
    }

        .menu ul:last-of-type li {
            margin-right: 0.5rem;
        }

        .menu ul:last-of-type img {
            transform: scale(0.85);
        }

    .menu li {
        display: inline-block;
    }
}

@media only screen and (min-width: 1200px) {
    header nav {
/*        padding-left: 10vw;
        padding-right: 10vw;
*/    }
}
/* hover states */
nav a {
    transition: opacity 300ms ease-out;
}

.market-button {
    width: 8.5rem;
}

.candy-button,
.market-button {
    transition: transform 200ms ease-out;
}

@media (hover: hover) {
    nav a:hover {
        opacity: 0.5;
    }

    .candy-button:hover,
    .market-button:hover {
        transform: scale(1.1, 1.1);
    }

    .candy-button:hover {
        background-image: linear-gradient(#f76f39 50%, 50%, #e95014);
    }
}

body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #000;
    font-size: 16px;
}

a, div {
    user-select: none;
}

    a, a:link {
        text-decoration: none;
        outline: none;
    }

.container {
    width: 77%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

h1, h2, h3, button, .button {
    font-family: "Black Han Sans", sans-serif;
    outline: none;
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        h1, h2, h3{
            letter-spacing: -2.5px;
        }
    }
}

h1 {
    display: block;
    font-size: 2.6rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.15;
}

h2 {
    font-size: 2rem;
    text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.55);
}

.subtitle {
    font-family: "Titillium Web",sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.8rem;
    line-height: 1;
}

p {
    color: #fff;
    font-weight: 400;
/*    font-size: 1.2rem;*/
    font-size: 1.4rem;
    line-height: 1.15;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

button, .button {
    border: 0.18rem solid #712507;
    border-radius: 0.5rem;
    padding: 0.8rem 1.8rem;
    color: #fff;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

button span, .button span {
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.button--primary {
    background-color: #E8551C;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.75);
    transition-property: background-color;
    transition-duration: 0.3s;
}

.button--primary:hover {
    background-color: #FFA82B;
}

.button--primary::before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background-color: rgba(187, 62, 20, 0.45);
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    z-index: 0;
}

.button--primary---decorate {
    min-width: 300px;
    text-indent: -20px;
    padding-right: 2.3rem;
}

.button--primary---decorate::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: 0.4rem;
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
    border-left: 0.6rem solid white;
    z-index: 2;
    top: 47%;
    transform: translateY(-50%);
}

/*//*/

.kro .button--primary {
    background-color: #00D165;
    border-color: #006833;
}

.kro .button--primary:hover {
    background-color: #00FF7B;
}

.kro .button--primary::before {
    background-color: rgba(9, 17, 40, 0.25);
}

/*//*/

.button--secondary {
    color: #CFCBBA;
    border: 2px solid #CFCBBA;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 30px;
}

.button--secondary svg {
    width: 15px;
    height: auto;
    margin-left: 5px;
}

.gradient {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 0;
}

.subscribe {
    margin: 2rem auto 10rem;
}
.subscribe__container {
    background-color: rgba(240, 230, 216, 0.5);
    border-color: rgba(148, 125, 91, 0.8);
    border-radius: 0.5rem;
    border-width: 0.2rem;
    border-style: solid;
    padding: 0.3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*    max-width: 33.3vmax;*/
}

.subscribe__container input, .subscribe__container select {
    font-size: 1.25rem;
    font-family: "Black Han Sans", sans-serif;
    color: #553D33;
    vertical-align: middle;
    padding: 0.8rem 0.8rem 0.6rem;
    border: none;
    background-color: transparent;
    width: 100%;
}

.subscribe__container .button--primary {
    box-shadow: none;
}

.kro .subscribe__container {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #006833;
}

.kro .subscribe__container input {
    color: #006833;
}

::placeholder {
    color: #553D33;
    opacity: 1;
}

.kro ::placeholder {
    color: #006833;
}

.press-kit {
    margin-top: 85px;
}

@media screen and (min-width: 1024px) and (orientation: landscape) {
    .only-desktop {
        display: flex !important;
    }

    .only-mobile {
        display: none !important;
    }
}

@media screen and (min-width: 1024px) and (orientation: portrait) {
    .only-desktop {
        display: none !important;
    }

    .only-mobile {
        display: flex !important;
    }
}

@media screen and (max-width: 1023px) {
    .only-desktop {
        display: none !important;
    }

    .only-mobile {
        display: flex !important;
    }

    .subscribe {
        margin-top: 4rem;
    }

    .subscribe__container input {
        max-width: 60%;
    }

    .subscribe .button--primary {
        padding-left: 15px;
        padding-right: 15px;
    }

    .button--primary---decorate {
        min-width: 260px;
        max-width: 384px;
        width: 100%;
        text-indent: -6px;
        box-sizing: border-box;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 1024px), (orientation: portrait) {
    .subscribe {
        margin-bottom: 5rem;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
    .container {
        width: 100%;
    }

    footer .nav__items-container {
        margin-left: 0;
    }
}
/*/layout*/

/*responsive base*/
/*html {
    font-size: 100%;
}

@media screen and (max-width: 360px) {
    main {
        overflow-x: hidden;
    }
}

@media screen and (max-width: 1023px), (orientation: portrait) {
    html {
        font-size: 70%;
    }
}

@media screen and (min-width: 1024px) and (orientation: portrait) {
    html {
        font-size: 90%;
    }
}

@media screen and (min-width: 1025px) and (orientation: landscape) {
    html {
        font-size: 75%;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1600px) {
    html {
        font-size: 80%;
    }
}

@media screen and (min-width: 1920px) and (orientation: portrait) {
    html {
        font-size: 200%;
    }

    .button--primary---decorate {
        min-width: 500px;
    }

        .button--primary---decorate::after {
            border-top-width: 15px;
            border-bottom-width: 15px;
            border-left-width: 15px;
        }

    .game__container--features p, .game__container--heroes p {
        max-width: unset;
    }

    .subscribe__container {
        max-width: 80%;
    }

    .nav__social .nav__item--icon img, .menu ul:last-of-type img {
        height: 40px;
    }

    #ironhide {
        width: 150px;
    }

    .game__content-features--tertiary .container .game__content-image {
        max-width: unset;
    }

    .game__container--maps .game__content-gallery .game__gallery-item {
        width: calc(50% - 1%);
    }

    .game__container .game__content-gallery .game__gallery-item-caption svg {
        width: 40px;
    }
}*/
/*/responsive base*/

/*Blazor styles*/

#blazor-error-ui {
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/*******/

/*HOME*/
#home main {
    height: calc(100vh - 10vh);
}

#home .container {
    min-width: unset;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
}

#home main .container {
    overflow-x: hidden;
}

.game__container {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    text-align: center;
    padding-left: 6%;
    padding-right: 6%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game__container--kr {
    background-image: url("../assets/images/kr_steam_1920x1080.png");
}

.game__logo img {
    width: 100%;
}

.pswp__caption__center {
    display: flex;
    text-align: center;
    justify-content: center;
}

.pswp__caption__center a svg{
    margin-left: 10px;
}

/*MEDIA QUERIES*/
@media (max-width: 1023px) {
    main {
        /*margin-top: 70px;*/
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2, .subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px), (orientation: portrait) {
    #home main .container {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .gradient {
        background: rgba(0,0,0,0.25);
    }

    .game__container {
        width: 100%;
        /*        overflow-x: hidden;*/
    }

    /*    .game__logo img {
        max-height: 200px;
        width: auto;
    }*/

    .game__container--kr {
        background-image: url("../assets/images/kr_steam_1920x1080_mb.png");
    }
}