body {
    background: url("img/treebackground.png");
    background-attachment: fixed;
    background-size: cover;
    padding: 0;
    margin: 0;
    background-color: black;
}

body::selection {
    color: black;
    background-color: #2db117;
}

a:visited,a:link {
    color: #59df59;
}

a:hover {
    color: #d3f8d3;
}

.background-gradient {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}
.header {
    z-index: 1;
    position: relative;
    margin: 12% 0 5% 0;
}

.background-images {
    z-index: 0;
    position: relative;
    user-select: none;
}

.exdeath {
    width: 600px;
    aspect-ratio: auto;
    position: fixed;
    top: 0;
    left: calc(50% - 300px);
    filter: brightness(0.7);
}

.header-text {
    user-select: none;
    margin: 20px;
    font-family: Grenze;
    font-weight: bold;
    text-align: center;
    font-size: 92pt;
    line-height: 85%;
    text-shadow:
        -4px -4px 0 #FFF,
        4px -4px 0 #FFF,
        -4px 4px 0 #FFF,
        4px 4px 0 #FFF,
        8px 8px 20px black;
    color: #001040
}

.header-text-line {
    /*text-shadow: 0 0 3px white inset;*/
    /*background: linear-gradient(0deg,*/
    /*    rgba(0, 0, 128, 1) 30%,*/
    /*    rgba(128, 128, 128, 1) 50%,*/
    /*    rgba(0, 0, 0, 1) 70%*/
    /*);*/
    /*color: transparent;*/
    /*background-clip: text;*/
}

.button-links {
    width: 100%;
    position: absolute;
    top: 0;
    display: flex;
    gap: 10px;
    z-index: 2;
    justify-content: center;
}

.challenge-info {
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin: 0 auto 0 auto;
}

.button-links .button-link {
    text-align: center;
    color: white;
    font-size: 26pt;
    font-family: "Aboreto";
    position: relative;
    cursor: pointer;
    box-sizing: content-box;
    display: block;
    text-decoration: none;
}

.button-links .button-link:hover:before, .info-content:hover:before {
    content: "";
    background: url("img/ff5cursor.png");
    background-size: cover;
    height: 80px;
    width: 80px;
    position: absolute;
    inset-inline-start: -80px;
    image-rendering: pixelated;
}

.info-content, .button-link {
    box-shadow: 0 0 0 3px hsl(0, 0%, 0%),
        0 0 0 10px hsl(0, 0%, 100%),
        0 0 0 13px hsl(0, 0%, 60%),
        15px 15px 20px 10px black;
    border-radius: 15px;
    padding: 8px;
    margin: 35px;
    background: #111673;
    background: linear-gradient(0deg, rgb(11 15 87) 0%, rgb(23 52 140) 100%);
    text-shadow: 2px 2px black;

}

.info-content p {
    font-family: "Grenze", Serif;
    color: white;
    font-size: 18pt;
    margin: 8px 8px 12px 8px;
}

.info-header {
    font-size: 30pt;
    color: white;
    font-weight: bold;
    font-family: "Aboreto", Serif;
    text-align: center;
    border-bottom: 3px solid white;

}

.left-heroes {
    position: fixed;
    left: 10px;
    bottom:0;
}

.right-heroes {
    position: fixed;
    right: 10px;
    bottom: 0;
}

.hero {
    height: 200px;
}

.crystal {
    height: 300px;
    position: fixed;
    z-index: -1;
}

.left-crystal {
    left: 100px;
    top: 100px;
}

.right-crystal {
    right: 100px;
    top: 100px;
}

.header-overlay {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
}

.assigned-jobs {
    display: flex;
    image-rendering: pixelated;
    justify-content: center;
    gap:20px;
}

.assigned-jobs img {
    height: 200px;
    filter: drop-shadow(1px 1px 0.5px white)
        drop-shadow(-1px -1px 0.5px white)
        drop-shadow(1px -1px 0.5px white)
        drop-shadow(-1px 1px 0.5px white);
}

#timer-header {
    text-align: center;
    font-family: Grenze;
    font-size: 24pt;
    color: white;
    text-shadow: 2px 2px 0 black
}

.timer-stuff {
    z-index: 2;
    position: relative;
}
#timer-container {
    text-align: center;
    font-family: Aboreto;
    font-size: 32pt;
    font-weight:bold;
    color: white;
    text-shadow: 2px 2px 0 black;
    margin-bottom:30px;
}

.info-content table {
    text-align: center;
    color: white;
    border: 1px solid white;
    font-family: Grenze;
    margin: 0 auto;
}

table th {
    font-weight: bold;
}

table td, table th {
    border: 1px solid white;
    margin: 0;
    padding: 6px;
    font-size: 15pt;
    border-collapse: collapse;
}

#resources {
    position: relative;
    top: 120px;
}
@font-face {
    src: url("Aboreto-Regular.ttf");
    font-family: "Aboreto";
}

@font-face {
    src: url("Grenze-VariableFont_wght.ttf");
    font-family: "Grenze";
}
