@font-face {
    font-family: 'Selectric';
    src: url('../fonts/selectric.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neothic';
    src: url('../fonts/Neothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Highway Gothic';
    src: url('../fonts/hwygoth.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --gutter-width: 1024px;
}

.noselect, img {
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: none;
}

.gutter {
    max-width: var(--gutter-width);
    width: var(--gutter-width);
    margin: 0rem auto;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#gradient {
    background: linear-gradient(
        to right,
        black 0%,
        transparent 10%,
        transparent 90%,
        black 100%
    );

    width: var(--gutter-width);
    max-width: var(--gutter-width);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    z-index: 250;
    margin:0px auto;
}


#tf2_logo {
    width: 200px;
    position: absolute;
    top: 0;
}
#tf2_logo:hover {
    animation-name: tf2-logo-animate;
    animation-duration: 250ms;
    animation-fill-mode: both;
}
@keyframes tf2-logo-animate {
    0%   {
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
    100% {
        filter: brightness(1.15);
        -webkit-filter: brightness(1.15);
    }
}

#main_bg {
    position: relative;
    z-index: -1;
}

#main_fg {
    margin: 0px auto;
    width: 750px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
    position: absolute;
    top: 75px;
}

#elevator_bg {
    position: relative;
    height: 950px;
    top: -350px;
    object-fit: cover;
    z-index: -50;
}

#memo_board {
    position: relative;
    top: -650px;
    z-index: 5;
}

#memo_text {
    position: absolute;
    width: 350px;
    top: 460px;
    left: 370px;
    z-index: 50;
    font-family: 'Selectric', monospace;
    font-size: 12px;
    color: #34302D;
    transform: rotate(-2.5deg);
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#memo_header {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}


/* #download_pack {
    background: #212121;
} */

#download_pack {
    position: relative;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.8));
    margin-top: -196px;
}

#download_pack p {
    font-family: 'Highway Gothic';
    font-size: 18px;
    padding: 0px 128px;
    position: relative;
    top: 64px;
    color: #DABDAB;

}

#download_pack_button {
    position: absolute;
    left: 216px;
    top: 196px;
    font-family: Neothic;
    color: #EFAA49;
    font-size: 50px;
    text-transform: uppercase;
    display: grid;
    place-items: center;
    text-decoration: none;
    filter: drop-shadow(0 0px 8px rgba(0, 0, 0, 0.8));

    transition: filter 75ms;
}

#download_pack_button:hover {
    filter: drop-shadow(0px 0px 15px rgba(239, 170, 73, 1));

}

#download_pack_button img,
#download_pack_button span {
    grid-area: 1 / 1;
}

#download_pack_button span {
    max-width: 400px;
    text-align: center;
    line-height: 1;
    font-size: 60px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);

}


[data-i18n] {
    white-space: pre-line;
}

#language-select {
    position: fixed;
    top:0px;
    right: calc(50% - 512px);
    display: block;
    z-index: 99999;
}
.language-flag {
    height: 20px;
    width: 20px;
    object-fit: cover;
    border-radius: 16px;
}

#QNA {
    background-image: 
        linear-gradient(to bottom, transparent 90%, black 100%),
        url("../img/background/europe_bg_tile.png");
    background-repeat: no-repeat, repeat-y;
    background-position-x: center, center;
    background-size: 1080px ;

    padding-top: 128px;
    margin-top: -256px;

    padding-bottom: 128px;
    color: #DABDAB;

    padding-left: 128px;
    padding-right: 128px;

    font-size: 18px;

    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);

}

#we_need_maps > h1,
#major_contest > h1 {
    color: #EFAA49;
    text-align: center;
    font-size: 64px;
    font-family: Neothic, sans-serif;
}

#we_need_maps > p,
#major_contest > p {
    color: #DABDAB;
    font-size: 26px;
    font-weight: normal;
    font-family: 'Highway Gothic', sans-serif;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
}

#we_need_maps,
#major_contest {
    padding: 0px 120px;
    margin-bottom: 128px;
}

#major_contest {
    background-image: url("../img/background/italy.png");
    background-position: center;
    background-size: cover;
    min-height: 900px;
    padding-top: 128px;
    padding-bottom:128px;
    margin-top: -128px;
}




#we_need_maps {
    background-image: url("../img/background/tower.png");
    background-position: center;
    background-size: cover;
    margin-top: -128px;
    padding-top: 128px;

    height: 1024px;
}

#eng_sniper {
    width: 430px;
    margin: 0px auto;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.25));
}


#discord_join {
    height: 142px;
    width: 770px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/foreground/join_discord.png");

    color: #DABDAB;
    font-family: "Highway Gothic", sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 70px;
    line-height: 140px;

    transition: filter 75ms;
    position: relative;
    z-index: 9999;
}

#discord_join:hover {
    filter: brightness(1.15);

}

#QNA {
    font-family: 'Highway Gothic', sans-serif;
}

#QNA > h1 {
    color: #EFAA49;
    text-align: center;
    font-size: 64px;
}

#QNA a {
    text-decoration: underline;
    color: #EFAA49;
}

#QNA > h3 {
    margin-top: 64px;
    color: white;
}

#contacts {
    padding: 0px 128px;
    margin-bottom: 64px;
    font-family: 'Highway Gothic', sans-serif;
}

#contacts > h1 {
    color: #EFAA49;
    text-align: center;
    font-size: 64px;
    font-family: Neothic, sans-serif;
    margin-bottom: 64px;
}

#contacts > div {

    display: flex;
    flex-direction: row;

    color: #DABDAB;
}

#credits {
    color: #DABDAB;
    font-family: 'Highway Gothic', sans-serif;
    font-size: 20px;
}

figure {
    width: 128px;
}

figure h3 {
    font-size: 18px;
    font-weight: bold;
}

figure p {
    font-size: 12px;
}

figure img {
    width: 128px;
    height: 128px;
}


body {
    background-color: #000;
    color: #797973;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;

    position: relative;
}

footer {
    color: #797973;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    text-align: left;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.25));
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    margin: 2rem auto !important;
    margin-top:3rem !important;
    margin-bottom: 3rem !important;
    padding-top:0rem;
    padding-bottom:0rem;
    box-sizing: border-box;
    gap: 15px;
    z-index: 9999;
}

wa-dropdown:not(:defined) {
    visibility: hidden;
}

/* Lang Specific overrides */
body[data-i18n-lang="da"] #discord_join                 { font-size: 54px; }
body[data-i18n-lang="da"] #download_pack_button span    { font-size: 53px; }
body[data-i18n-lang="de"] #memo_header                  { font-size: 23px; }
body[data-i18n-lang="de"] #download_pack_button span    { font-size: 48px; }
body[data-i18n-lang="es"] #download_pack_button span    { font-size: 45px; }
body[data-i18n-lang="es"] #major_contest                { margin-top: -32px; }
body[data-i18n-lang="pt"] #discord_join                 { font-size: 54px; }
body[data-i18n-lang="pt"] #download_pack_button span    { font-size: 45px; }
body[data-i18n-lang="fr"] #download_pack_button span    { font-size: 45px; }
body[data-i18n-lang="fr"] #major_contest                { margin-top: -32px; }
body[data-i18n-lang="it"] #download_pack_button span    { font-size: 56px; }
body[data-i18n-lang="pl"] #download_pack_button span    { font-size: 46px; }
body[data-i18n-lang="pl"] #memo_text                    { font-family: monospace; }
 
 body[data-i18n-lang="nl"] #memo_header                 { font-size: 23px; }
 body[data-i18n-lang="nl"] #discord_join                { font-size: 58px; }
