@font-face {
    font-family: Metamorphous;
    src: url(fonts/Metamorphous-Regular.ttf);
}

@font-face {
    font-family: BreeSerif;
    src: url(fonts/BreeSerif-Regular.ttf);
}

@keyframes hover {
    from {
        bottom: -2%;
    }

    to {
        bottom: 0;
    }
}

@keyframes hover-title {
    from {
        top: 12%;
    }

    to {
        top: 14%;
    }
}

* {
    box-sizing: border-box;
}

html {
    background: black;
    scroll-behavior: smooth;
}

#bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body {
    width: 100%;
    margin: 0 auto;
    cursor: url(img/Cursor_Default.png), auto;
    font-family: Metamorphous, Arial, Helvetica, sans-serif;
}

section {
    z-index: 1;
    overflow: hidden;
}

p {
    z-index: 4;
}

div {
    z-index: 3;
}

img {
    z-index: 1;
}

.bga-black {
    background: rgba(0, 0, 0, 0.85);
}

.frame-hover {
    border-style: solid;
    border-image: url(img/UI_Item_Frame.png) 30;
    border-image-width: 48px;
    border-image-outset: 5px;
}

.frame-hover:hover {
    border-style: solid;
    border-image: url(img/UI_Item_Frame_Highlighted.png) 30;
    border-image-width: 48px;
    border-image-outset: 5px;
}

.expandable:hover {
    cursor: pointer;
}

#intro {
    position: relative;
    z-index: 1;
    height: 100vh;
    text-align: center;
    overflow: hidden;
}

#intro p:nth-of-type(1) {
    color: white;
    font-size: xx-large;
    padding-top: 15vh;
    padding-bottom: 3%;
    margin: 0 auto;
    position: relative;
    text-shadow: 3px 3px 3px black;
    text-transform: uppercase;
}

#intro a {
    box-sizing: content-box;
    position: relative;
    z-index: 3;
    display: inline-block;
    margin: 2%;
    width: 256px;
    height: 64px;
    line-height: 64px;
    text-shadow: 3px 3px 3px black;
    text-decoration: none;
    color: white;
    font-size: xx-large;
    background: url(img/UI_Button_Generic.png) round;
    background-size: cover;
}

#intro a:hover {
    background: url(img/UI_Button_Generic_Highlighted.png) round;
    background-size: cover;
}

#about {
    position: relative;
    z-index: 1;
    aspect-ratio: unset;
    overflow: hidden;
    font-size: 0;
    color: #e3dc6e;
    background: #263537;
}

#about div {
    display: inline-block;
    opacity: 1;
    position: relative;
    margin: 2%;
	min-height: 492px;
}

.text-column p {
    font-size: initial;
    text-shadow: 3px 3px 3px #000000b5;
    color: white;
}

#about video {
    width: 96%;
    height: auto;
    margin: 2% auto;
    display: block;
}

#about iframe {
    width: 96%;
    height: 492px;
    margin: 2% auto;
    display: block;
	margin-top: 60px !important;
	margin-bottom: 60px !important;
}

@media (min-width: 480px) {
    #about div {
        width: 46%;
    }

    #about video {
        width: 46%;
        display: inline-block;
        vertical-align: top;
        margin: 2%;
    }
	
	#about iframe {
        width: 46%;
        display: inline-block;
        vertical-align: top;
        margin: 2%;
    }
}

#about img {
    display: inline-block;
    position: absolute;
    height: 100%;
    width: auto;
    aspect-ratio: initial;
    right: 0;
}

#description {
    color: #e3dc6e;
    position: relative;
    aspect-ratio: initial;
    overflow: unset;
}

#description img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
}

@media (min-width: 480px) {
    #description img {
        display: inline-block;
        width: auto;
        height: 100%;
        position: absolute;
        right: 0;
    }
}

#description h2 {
    margin: 0;
    color: #ddb792;
    text-align: center;
    font-weight: normal;
    font-size: xx-large;
}

#description-container {
    position: relative;
    opacity: 1;
    padding: 2%;
}

#description-text {
    position: relative;
    color: #e3dc6e;
}

#description-text button:hover {
    cursor: pointer;
}

#trailer {
    background: black;
}

#training {
    font-size: 0;
    text-align: center;
    height: fit-content;
    aspect-ratio: auto;
}

#training h2 {
    color: #ddb792;
    font-size: xx-large;
    font-weight: normal;
    text-align: center;
    background: none;
}

#training span {
    display: inline-block;
    padding: 3%;
    box-shadow: 0px 7px 8px #3519087a;
    text-shadow: 3px 3px 3px gray;
    font-size: x-large;
    font-weight: normal;
    color: black;
    background-image: url(img/header_title.png);
    background-repeat: round;
    background-size: cover;
}

.training-title {
    background-image: url(img/header.png);
    padding: 1%;
    background-repeat: round;
    background-size: cover;
}

.training-section {
    margin: 0 1% 2%;
    vertical-align: top;
}

#training img,
#training video {
    width: 100%;
    height: auto;
}

#training div p {
    padding: 7%;
    background-color: #8A5256;
    width: 98%;
    font-size: initial;
    font-family: BreeSerif, 'Times New Roman', Times, serif;
    color: #262220;
    background-image: url(img/paper_texture.png);
    margin: 0 auto;
    text-align: left;
    border-style: ridge;
    border-width: 6px;
    border-color: #bf9f68;
}

#timeline {
    aspect-ratio: initial;
    overflow: hidden;
    padding: 2%;
}

#timeline h2 {
    color: #ddb792;
    font-size: xx-large;
    font-weight: normal;
    text-align: center;
    background: none;
    text-shadow: 3px 3px 3px black;
}

#timeline p {
    font-size: large;
    text-align: left;
    width: 95%;
    margin: 2% auto;
    color: white;
    text-shadow: 3px 3px 3px black;
}

#timeline img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 4% auto;
}

#showcase {
    aspect-ratio: auto;
}

#showcase h2 {
    background: none;
    color: #ddb792;
    font-weight: 500;
    text-align: center;
}

.showcase {
    max-width: 1296px;
    margin: 0 auto 2%;
}

.showcase-main {
    display: inline-block;
    width: 100%;
    opacity: 1;
    background: none;
    font-size: 0;
}

.showcase button {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: none;
    font-size: 0;
    background: none;
    vertical-align: top;
}

.showcase button:first-of-type img {
    transform: rotate(180deg);
}

.showcase button:hover {
    color: gray;
    cursor: pointer;
}

.showcase-choice {
    background: none;
    opacity: 1;
    border-radius: 0;
    display: inline-block;
    width: 100%;
    width: -webkit-calc(100% - 96px);
    width: -moz-calc(100% - 96px);
    width: calc(100% - 96px);
}

.showcase-choice.active {
    display: inline-block;
}

.showcase-choice.hidden {
    display: none;
}

.showcase-image {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    height: 10em;
    line-height: 10em;
    font-size: initial;
    margin: 1%;
    overflow: hidden;
}

.showcase-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.showcase-details {
    color: white;
    width: 66%;
    display: inline-block;
    margin-left: 7%;
    opacity: 1;
    padding: 2%;
    font-size: initial;
    margin: 1%;
    font-family: Metamorphous;
}

.showcase-frame {
    border-style: solid;
    border-image: url(img/UI_Gladiator_Frame.png) 30;
    border-image-width: 48px;
    border-image-outset: 5px;
    background-image: url(img/UI_Panel_Background.png);
}

.showcase-details h3 {
    text-align: center;
    font-size: x-large;
    font-weight: 500;
    color: #ddb792;
    background: none;
    font-family: Metamorphous;
}

.showcase-options {
    opacity: 1;
    width: 100%;
    width: -webkit-calc(100% - 96px);
    width: -moz-calc(100% - 96px);
    width: calc(100% - 96px);
    margin: 0 auto;
    font-size: 0;
    background: none;
    text-align: center;
}

.showcase-options-2 {
    display: inline-block;
    width: 128px;
}

.showcase-options .showcase-option {
    display: inline-block;
    width: 12.28%;
    max-width: 128px;
    color: black;
    margin: 1%;
    text-align: center;
    font-size: small;
    border-style: solid;
    border-image: url(img/UI_Item_Frame.png) 30;
    border-image-width: 48px;
    border-image-outset: 3px;
}

.showcase-option:hover {
    border-image: url(img/UI_Item_Frame_Highlighted.png) 30;
    border-image-width: 48px;
    border-image-outset: 3px;
    cursor: pointer;
}

.showcase-option img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

@media (max-width: 720px) {

    .showcase-image,
    .showcase-details {
        display: block;
        width: 100%;
    }

    .showcase-image {
        aspect-ratio: 1 / 1 !important;
        height: initial;
    }
}

#feedback {
    text-align: center;
    padding: 2%;
}

#feedback h2 {
    text-shadow: 3px 3px 3px black;
    color: #ddb792;
    font-weight: 500;
    width: 80%;
    margin: 0 auto;
}

#feedback p {
    margin: 2% auto;
    color: white;
    text-align: left;
    max-width: 1246px;
}

#feedback a {
    box-sizing: content-box;
    display: inline-block;
    width: 200px;
    height: 3rem;
    margin: 2%;
    padding: 3%;
    font-size: 0;
    background: url(img/UI_Button_Generic.png) round;
    background-size: cover;
}

#feedback a:hover {
    background: url(img/UI_Button_Generic_Highlighted.png) round;
    background-size: cover;
}

#feedback a img {
    display: inline-block;
    vertical-align: top;
    margin-top: calc(calc(3rem - 36px) / 2);
}

#feedback a span {
    display: inline-block;
    width: calc(100% - 42px);
    line-height: 3rem;
    text-shadow: 3px 3px 3px black;
    font-size: large;
    color: white;
}

@media (min-width: 720px) {
    #feedback a {
        width: 300px;
        padding: 16px;
    }

    #feedback a span {
        font-size: xx-large;
    }
}

footer {
    background-size: cover;
    background-image: url(img/Background_KeyArt.png);
    height: 100vh;
    font-size: 0;
    position: relative;
    background-position: center;
}

footer .title {
    font-size: xxx-large;
    position: absolute;
    top: 12%;
    opacity: 1;
    border-radius: 0;
    width: 100%;
    text-align: center;
    color: white;
    animation-name: hover-title;
    animation-duration: 3s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

footer .title img {
    max-width: 800px;
    width: 100%;
    height: auto;
}

footer .links {
    opacity: 1;
    border-radius: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer #publisher {
    display: inline-block;
    width: 25%;
    font-size: medium;
}

footer #footer-socials a {
    display: inline-block;
    max-width: calc(calc(100% / 8) - 2%);
    margin: 1%;
    background-size: cover;
    width: 64px;
    aspect-ratio: 1 / 1;
}

footer #footer-socials a img {
    height: auto;
    max-width: 64px;
    vertical-align: middle;
    padding-top: 14px;
}

#exordium {
    display: inline-block;
    width: 50%;
    height: 64px;
    padding: 2%;
}

#exordium img {
    transition: all 0.5s;
}

#exordium:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

footer img {
    width: 100%;
    height: auto;
}

#dialog {
    display: none;
    width: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    height: 100vh;
    z-index: 5;
    border: none;
    padding: 0;
}

#dialog img {
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

#cta {
    aspect-ratio: initial;
    overflow: hidden;
    background: url(img/UI_BattleRun_Wall_Tileable_Horizontal.png);
    height: 128px;
    text-align: center;
}

#cta-button {
    position: relative;
    text-decoration: none;
    z-index: 1;
    display: inline-block;
    background: url(img/UI_Button_Confirm.png) round;
    background-size: cover;
    color: white;
    margin: 1% auto;
    font-family: Metamorphous;
    font-size: x-large;
    height: 2em;
    box-sizing: content-box;
    text-shadow: 3px 3px 3px black;
    width: 80%;
    line-height: 2em;
    left: -5%;
}


@media (min-width: 720px) {
    #cta-button {
        width: 10em;
        font-size: xx-large;
        left: initial;
    }
}

#cta-button:hover {
    background: url(img/UI_Button_Confirm_Highlighted.png) round;
    background-size: cover;
    cursor: pointer;
}

#cta-button:active {
    background: url(img/UI_Button_Confirm_Pressed.png) round;
    background-size: cover;
}

#cta-image {
    position: absolute;
    transform: scale(1.7);
    top: 3%;
    right: -15%;
    background: url(img/Icon_BattleRun_Start.png) round;
    background-size: cover;
    width: 64px;
    height: 64px;
}

#cta-button:hover #cta-image {
    background: url(img/Icon_BattleRun_Start_Hover.png) round;
    background-size: cover;
}

.divider,
.divider-flipped {
    background-image: url(img/UI_Panel_Top_Green_Tileable.png);
    height: 30px;
}

.divider-flipped {
    transform: scale(-1);
}

#socials-top {
    display: none;
    position: absolute;
    top: 0;
    right: 6px;
    font-size: 0;
}

#socials-top a {
    display: inline-block;
    height: 56px;
    margin: 0 2px;
    position: relative;
    top: 16%;
    text-align: center;
    background-image: url(img/UI_Button_Building.png);
    background-size: cover;
}

#socials-top a:hover {
    background-image: url(img/UI_Button_Building_Highlighted.png);
}

#socials-top a img {
    position: relative;
    top: 4px;
    width: 90%;
    height: auto;
    padding: 4px;
    vertical-align: bottom;
}

#main-icon {
    width: 100%;
    display: block;
    height: 100%;
    font-size: 0;
}

#main-icon img {
    display: inline-block;
    max-height: 100%;
}

#main-icon img:nth-child(1) {
    width: 100%;
    height: auto;
}

header {
    width: 100%;
    border-image: url(img/UI_Item_Frame.png) 4;
    border-style: solid;
    border-width: 0px 0px 5px;
    z-index: 2;
    padding: 6px;
    position: relative;
    transition: all 1s;
}

header::before {
    content: "";
    background-image: url(img/UI_Panel_Background.png);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#socials-steam,
#socials-discord,
#socials-facebook,
#socials-reddit,
#socials-youtube,
#socials-tiktok,
#socials-instagram,
#socials-twitter {
    background-image: url(img/Icon_Steam.png);
    display: inline-block;
    vertical-align: bottom;
}

#socials-steam:hover {
    background-image: url(img/Icon_Steam_Highlighted.png);
}

#socials-discord {
    background-image: url(img/Icon_Discord.png);
}

#socials-discord:hover {
    background-image: url(img/Icon_Discord_Highlighted.png);
}

#socials-facebook {
    background-image: url(img/Icon_Facebook.png);
}

#socials-facebook:hover {
    background-image: url(img/Icon_Facebook_Highlighted.png);
}

#socials-reddit {
    background-image: url(img/Icon_Reddit.png);
}

#socials-reddit:hover {
    background-image: url(img/Icon_Reddit_Highlighted.png);
}

#socials-youtube {
    background-image: url(img/Icon_Youtube.png);
}

#socials-youtube:hover {
    background-image: url(img/Icon_Youtube_Highlighted.png);
}

#socials-tiktok {
    background-image: url(img/Icon_Tiktok.png);
}

#socials-tiktok:hover {
    background-image: url(img/Icon_Tiktok_Highlighted.png);
}

#socials-instagram {
    background-image: url(img/Icon_Instagram.png);
}

#socials-instagram:hover {
    background-image: url(img/Icon_Instagram_Highlighted.png);
}

#socials-twitter {
    background-image: url(img/Icon_Twitter.png);
}

#socials-twitter:hover {
    background-image: url(img/Icon_Twitter_Highlighted.png);
}

#steam-header {
    box-sizing: content-box;
    position: absolute;
    width: fit-content;
    height: 72px;
    line-height: 72px;
    text-shadow: 3px 3px 3px black;
    text-decoration: none;
    color: white;
    font-size: larger;
    background: url(img/UI_Button_Confirm.png) round;
    padding: 0 1em;
    right: 1%;
    bottom: -85px;
}

#steam-header:hover {
    background: url(img/UI_Button_Generic_Highlighted.png) round;
    background-size: cover;
}

#steam-header img {
    vertical-align: middle;
}

#bloodspatter {
    bottom: -39%;
    left: -100%;
    z-index: 2;
    transform: scale(-0.25, 0.25);
}

#gladiator {
    position: absolute;
    left: -60%;
    height: 110%;
    width: auto;
    animation-name: hover;
    animation-duration: 3s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@media (min-width: 720px) {
    #gladiator {
        left: -30%;
    }

    #bloodspatter {
        bottom: -30%;
        left: 56%;
        transform: scale(-0.5, 0.5);
    }
}

@media (min-width: 1024px) {
    #gladiator {
        left: 0;
    }

    #bloodspatter {
        bottom: -51%;
        left: 75%;
        transform: scale(-1, 1);
    }
}

.footer-text {
    position: absolute;
    bottom: 0;
    padding: 1%;
    font-size: initial;
    color: white;
}

@media (min-width: 480px) {
    #socials-top {
        display: inline-block;
    }

    header {
        position: fixed;
    }

    #main-icon img:nth-child(1) {
        max-width: calc(100% - 64px);
        max-height: 54px;
        width: auto;
    }

    #intro {
        padding-top: 64px;
    }

    #description-container {
        display: inline-block;
        width: 50%;
    }

    #description-text {
        width: 100%;
        height: auto;
        max-height: unset;
    }

    .training-section {
        display: inline-block;
        width: 31%;
    }

    #footer-socials {
        display: inline-block;
        width: 50%;
        font-size: 0;
        vertical-align: bottom;
        position: relative;
        bottom: 8px;
    }

    #exordium {
        width: 25%;
    }
}