@font-face {
    font-family: "sle_font";
    src: url("fonts/Exo2-Regular.ttf") format("opentype");
}

@font-face {
    font-family: "sle_font";
    src: url("fonts/Exo2-Bold.ttf") format("opentype");
    font-weight: bold;
}

html {
    height: 100%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: "sle_font";
    font-size: 16px;
    background: #f0f0f0;
    position: relative;
    min-height: 100%;
    margin: 0;
    padding-bottom: 6rem;
}

body>header {
    text-align: center;
}

header>nav {
    background-color: black;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer>nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.5em;
    font-size: 0.9em;
}

article {
    background: white;
    padding: 0.5em;
    border-radius: 0.5em;
}

article+article {
    margin-top: 1em;
}

a {
    color: darkorange;
    text-decoration: none;
}

nav>a {
    margin: 0.5em;
}

header nav>a.sle_selected {
    color: white;
}

footer nav>a.sle_selected {
    color: black;
}

a.sle_twitter img {
    width: 1em;
    height: 1em;
}

a.sle_twitter {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5em;
}

main {
    margin: auto;
    max-width: 50em;
    padding: 1em;
}

figure {
    text-align: center;
}

figure>img:not(.sle_small_img) {
    max-width: 100%;
    max-height: 100%;
}

figure>img.sle_small_img {
    max-width: 50%;
    max-height: 50%;
}

.sle_logo {
    color: white;
    display: inline-block;
    border-radius: 0.5em;
    padding: 1em;
    margin: 2em;
    background-color: black;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/logo-background.png");
    background-size: cover;
}

.sle_logo>div:nth-of-type(1) {
    font-size: 4em;
    font-weight: normal;
}

.sle_logo>div:nth-of-type(2) {
    font-size: 2em;
}

.sle_logo>div:nth-of-type(1)>span:nth-of-type(1) {
    color: yellow;
    text-shadow: 1px 0px 30px yellow;
}

.sle_logo>div:nth-of-type(1)>span:nth-of-type(2) {
    background: linear-gradient(#444, white, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

time {
    color: gray;
}

time+h1,
time+h2 {
    margin-top: 0;
}

section+section {
    border-top: 1px solid black;
}

th {
    font-weight: normal;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

td {
    text-align: center;
}

.sle_contact {
    font-size: 1.2em;
}

a.sle_download {
    display: block;
    height: 70px;
    margin: 2em 0 3em 0;
}

a.sle_download>img {
    height: 100%;
}

/* Elemente auf index.html zentrieren */
a.sle_download,
.sle_screenshots {
    text-align: center;
}

.sle_screenshots>a {
    display: inline-block;
    width: inherit;
    height: inherit;
    margin: 1em;
}

.sle_screenshots>a>img {
    box-shadow: 0 0 15px gray;
}

.sle_screenshots>a>img:hover {
    box-shadow: 0 0 15px blue;
}

var {
    background-color: #e0e0e0;
    border: solid black 1px;
    padding: 1px;
    white-space: nowrap;
}

.rationale,
.problem {
    padding: 5px;
    margin: 10px;
    border: solid black 1px;
}

.rationale {
    border: 3px solid darkblue;
}

.rationale::before {
    content: "Reason: ";
}

.problem {
    border: 3px solid red;
}

.problem::before {
    content: "Problem: ";
}