/* Allgemeine Formatierung */

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: black;
    color: white;
}

:root {
    --header-height: 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: black;
    height: var(--header-height);
    padding-left: 15px;
    padding-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-variant-caps: all-small-caps;
}

header a {
    color: white;
    text-decoration: none;
}


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin-top: 10px;
}

.info {
    width: 50%;
}

.info a {
    color: white;
}

.info a::after {
    color: white;
}

.info h1{
    font-size: 1rem;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.image-wrapper {
    width: 50%;
    margin: 20px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, calc(600px / 4 - 5px)));
    grid-auto-rows: 40px;
    /* Definiert die Höhe der Zeilen */
    grid-gap: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.index-item {
    background-color: black;
    color: white;
    padding: 15px;
    text-align: center;
    font-family: Times New Roman, Times, Georgia, serif;
    font-size: 0.8em;
    text-decoration: none;
}

.index-item a {
    color: white;
    text-decoration: none;
    position: relative;
}

.index-item:hover {
    font-size: 0.9em;
}

.green:hover {
    color: rgb(78, 233, 12);
}

.beige:hover {
    color: rgb(255, 175, 3);
}

.magenta:hover {
    color: rgb(152, 77, 251);
}

.legend {
    position: absolute;
    width: 100%;
    bottom: 15px;
    left: auto;
    right: auto;
    font-size: 0.9em;
    font-family: Arial, Helvetica, sans-serif;
    pointer-events: none;
}

.legend p {
    margin: 5px 0;
}

.legend .green {
    color: green;
}

.legend .beige {
    color: rgb(225, 224, 172);
}

.legend .magenta {
    color: rgb(174, 28, 135);
}


.circle-button {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 0%;
    cursor: pointer;
}

.circle-button:hover {
    background-color:yellow;

}