/* PAGE */
body {
    font-family: 'Source Serif 4', serif, sans-serif !important;
    background-color: #01060a;
    margin-bottom: 0;
    --wa-color-text-normal: #fefefe;
    font-weight: 300 !important;
    color-scheme: dark;
}
@font-face {
    font-family: 'Oswald';
    src: url('fonts/Oswald-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Source Serif 4';
    src: url('fonts/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype');
}
#page-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    position: relative
}
#top-pattern {
    position: absolute;
    width: 100%;
    height: 320px;
    background-image: url("img/bg.png");
}

/* HEADER */
#header {
    height: 101px;
}
#text-logo-container {
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
}
#text-logo-container h1 {
    text-align: center;
}
#main-logo {
    top: 84px;
    max-width: 150px;
    z-index: 90;
}
@media (min-width: 600px) {
    #main-logo {
        left: 5%;
    }
    .main-content {
        padding-left: 15%;
        padding-right: 15%;
    }
    #top-img {
        width: calc(250px + 25%);
    }
    #top-img-container {
        height: 40vh;
    }
}
@media (max-width: 600px) {
    #main-logo {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .main-content {
        padding-left: 5%;
        padding-right: 5%;
    }
    #header wa-breadcrumb {
        visibility: hidden;
    }
    #top-img {
        width: 80%;
    }
    #top-img-container {
        height: 30vh;
    }
}
#breadcrumb-container {
    position: absolute;
    width: 100%;
    height: 105px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
}
wa-breadcrumb-item::part(label) {
    color: #fefefe;
}
#hamburger {
    font-size: 30px;
    color: #fefefe;
    font-weight: bold;
}

/* SIDEBAR */
#sidebar {
    --wa-color-surface-raised: #0b1b28;
}
#sidebar::part(close-button) {
    /*color: #fefefe;*/
    --wa-color-text-normal: #fefefe;
    --wa-color-on-quiet: #fefefe;
    --wa-color-fill-quiet: #fefefe33;
}
#sidebar-menu {
    /*margin-top: 100px;*/
}
.sidebar-menu-item {
    padding: 15px;
    cursor: pointer;
    color: #fefefe;
}
.sidebar-menu-item:hover {
    background-color: #1b2d3c;
}
#sidebar img {
    width: 25%;
}
wa-drawer::part(footer) {
    justify-content: start;
}
wa-drawer {
    visibility: hidden;
}
wa-drawer.visible {
    visibility: unset;
}

/* MAIN */
.page {
    justify-content: center;
    flex: 1;
    overflow-y: scroll;
    padding-bottom: 20px;
}
#top-img-container {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}
#top-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-header {
    text-align: center;
    padding: 100px 0 55px;
}
.section-header h1 {
    margin-bottom: 12px;
}
#homepage .card-grid {
    --min-column-size: 350px !important;
    gap: var(--wa-space-m);
}
wa-card {
    border: double 1px transparent;
    background-image: linear-gradient(180deg, #152029 20px, #08151e 21px, #0d2030 100%), linear-gradient(90deg, #173246, #377cac, #173246); /* white outline */
    background-origin: border-box;
    background-clip: content-box, border-box;
}
wa-card::part(body) {
    flex: 1;
}
.card-content-with-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.card-content-with-btn > *:last-child {
    /* Button-Wrapper */
    margin-top: auto;
    text-align: right;
}
h1 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.7rem !important;
    font-weight: normal !important;
    text-transform: uppercase;
    color: #fefefe;
}
.accent {
    color: #c61d1a;
}
wa-breadcrumb-item,
#popup_filter wa-slider::part(label),
#popup_filter wa-select::part(label),
h2 {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important; /* light */
    font-size: 1.3rem !important;
}
#contact-form wa-input::part(input),
#contact-form wa-checkbox::part(control),
#contact-form wa-textarea::part(base) {
    --background-color: #fefefe !important;
    border: 3px solid #3d5c74;
    margin-bottom: 2px;
    --wa-form-control-label-line-height: 1.6;
    font-weight: 400;
    color: var(--wa-form-control-value-color)
}
wa-input::part(label),
#contact-form wa-checkbox::part(label),
wa-textarea::part(label),
wa-button::part(label) {
    color: #fefefe;
    display: flex;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem !important;
}
wa-button {
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .5);
}
wa-button::part(base) {
    padding-left: 10px;
    padding-right: 15px;
}
wa-button::part(label) {
    height: 100%;
}
wa-button .btn-icon-wrapper {
    font-size: 1.5rem;
    padding-right: 10px;
    display: flex;
    align-items: center;
    padding-top: 5px;
}
wa-button .btn-label {
    padding-left: 10px;
    display: flex;
    align-items: center;

    font-family: 'Oswald', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: normal !important;
    text-transform: uppercase;
}
wa-button.red-btn::part(base) {
    background: linear-gradient(to bottom, #c5091a, #8e010d);
}
wa-button.red-btn .btn-icon-wrapper {
    border-right: 1px solid #92000d;
    color: #88000d;
    filter: drop-shadow(0 -2px 0 #4c0209);
}
wa-button.red-btn .btn-label {
    border-left: 1px solid #b90314;
}
wa-button.blue-btn::part(base) {
    background: linear-gradient(to bottom, #0d2030, #08141d);
    cursor: default;
}
wa-button.blue-btn .btn-icon-wrapper {
    border-right: 1px solid #0a1a25;
    color: #131816;
    filter: drop-shadow(0 -2px 0 #040a22);
}
wa-button.blue-btn .btn-label {
    border-left: 1px solid #0b0814;
}
wa-details::part(base) {
    border: 2px solid #1b2d3c;
    background-color: transparent;
    color: #fefefe;
}
wa-details::part(header) {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important; /* light */
    font-size: 1.3rem !important;
}
#key-features {
    max-width: 801px;
    width: 100%;
    text-transform: uppercase;
}
#key-features .wa-flank\:start > *:first-child,
#key-features .wa-flank\:end > *:last-child {
    /* image container */
    max-width: 21%;
    min-height: 100%;
    border: 2px solid #1b2d3c;
    border-radius: 10px;
    overflow: hidden;
}
#key-features img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
}
#key-features .wa-flank\:start > *:last-child {
    text-align: left;
}
#key-features .wa-flank\:end > *:first-child {
    text-align: right;
}
.image-stack {
    position: relative;
}
.image-stack > * {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
a {
    color: #fefefe !important;
    text-decoration-thickness: unset;
}
#sidebar a {
    text-decoration: unset;
}

/* POPUPS */
wa-dialog::part(dialog) {
    padding: 0;
    border: double 1px transparent;
    background-image: linear-gradient(180deg, #152029 20px, #08151e 21px, #0d2030 100%), linear-gradient(90deg, #173246, #377cac, #173246); /* white outline */
    background-origin: border-box;
    background-clip: content-box, border-box;
    color: var(--wa-color-text-normal);
}
#impressum a, #datenschutz a {
    color: var(--wa-color-text-normal);
}
#impressum h1, #datenschutz h1 {
    padding: 15px 20px;
}
#impressum .wa-grid, #datenschutz .ds-body {
    padding: 0 20px;
}
#impressum h4, #datenschutz h3, #datenschutz h4, #datenschutz h5 {
    margin-block-end: 0.5rem;
}

/* CHALLENGE ROOMS */
#chroomspage #chroom-intro {
    --min-column-size: 200px;
    justify-items: center;
}
#chroomspage #chroom-intro img {
    max-width: 150px;
    width: 80%;
}
#chroomspage #benefits { /* benefits */
    --min-column-size: 400px !important;
    gap: var(--wa-space-s);
}
#chroomspage #benefits wa-card::part(body) {
    padding-left: var(--wa-space-s);
    padding-right: var(--wa-space-s);
}
#chroomspage #benefits.card-grid .card-grid { /* sub-benefits */
    --min-column-size: 150px !important;
    gap: var(--wa-space-s);
}
#chroomspage #benefits ul {
    list-style: none;
    margin-left: 0;
}
#chroomspage #benefits li {
    padding-bottom: 10px;
}
#chroomspage #benefits li i {
    padding-right: 5px;
}
#chroomspage .pckglangf {
    height:16px;
    border-radius: 0;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}
#chroomspage .pckglangf:first-of-type {
    margin-right: 2px;
}
#chroomspage #packages wa-card::part(header) {
    border-block-end-color: #01060a;
    border-block-end-width: 2px;
}

/* GAMES */
#gamespage #properties i,
#gamespage #categories i {
    font-size: 27px;
}
#gamespage #categories {
    --min-column-size: 100px !important;
}
#gamespage #popup_filter > *:not(:last-child) {
    margin-bottom: 15px;
}
#gamespage #popup_filter::part(body) {
    background: linear-gradient(180deg, #204b6b 0%, #1b2d3c 30%);
}
#gamespage #popup_filter wa-slider::part(label) {
    color: #fefefe;
    text-align: center;
    margin-bottom: 5px;
}
#gamespage #popup_filter wa-switch::part(label),
#gamespage #popup_filter wa-slider span {
    color: #fefefe;
}
#gamespage #popup_filter wa-checkbox::part(label) {
    color: #fefefe;
    font-weight: 300;
}
#gamespage #popup_filter wa-slider::part(indicator) {
    background-color: #fefefe;
}
#gamespage #popup_filter wa-slider::part(track) {
    background-color: #0f2638;
}
#gamespage #popup_filter h2 {
    text-align: center;
    margin-bottom: 10px;
}
#gamespage #gamesgrid {
    --min-column-size: 300px !important;
    gap: var(--wa-space-m);
}
#gamespage #gamesgrid .cat-icon i {
    font-size: 27px;
}
#gamespage #gamesgrid wa-carousel {
    --aspect-ratio: 4/3;
}
#gamespage #gamesgrid wa-carousel.no-navi::part(navigation-button) {
    opacity: 0;
}

/* HELPERS */
.pointer {
    cursor: pointer;
}
.hidden {
    display: none;
}
.mb5 {
    margin-bottom: 5px;
}
.mb15 {
    margin-bottom: 15px;
}
.mb25 {
    margin-bottom: 25px;
}
.mb40 {
    margin-bottom: 40px;
}
.mr5 {
    margin-right: 5px;
}
.mt15 {
    margin-top: 15px;
}
.mt25 {
    margin-top: 25px;
}
.mt40 {
    margin-top: 40px;
}
.pl20 {
    padding-left: 20px;
}
.pl40 {
    padding-left: 40px;
}
.wrap {
    overflow-wrap: break-word;
    -moz-hyphens: auto;
    /*noinspection CssUnknownProperty*/
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.text-align-center {
    text-align: center;
}
.text-align-right {
    text-align: right;
}
.up-down-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.left-right-container-centered {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.flank-down { /* last element grows down */
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}
.flank-down > *:not(:last-child) {
    flex: 0 1 auto;
}
.flank-down > *:last-child {
    flex: 1 1 auto;
}
.height100 {
    height: 100%;
}
.centercenter { /* center content vertically and horizontally */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
}
.centercenter > * {
    flex: 0 1 auto;
}