body{
    font-family: "Calibri";
}

#Site{
    width: min(1000px, 100% - 40px);
    margin-inline: auto; 
    background-color: white;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

#header{
    width: 100%;
}

#headline{  
    text-align: center;
    color: #00ccff;
    padding-top: 20px;
}

#Container{
    display: flex;
    align-items: flex-start;
    gap: 2%;
    align-content: center;
}

#DetailContainer{
    padding-left: 20px;
}

#Legende{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.LegendeLink{
    flex: 0 0 calc(25% - 5px);
    /*border: 1px solid black; */
    border-radius: 10px; 
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #2aabde;
    text-decoration: none;
    color: white;
    transition-duration: 0.3s;
}

.LegendeLink:hover{
    background-color: #06718f;
    color: black;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

#KarteContainer{
    position: relative;
    display: block;
    margin: 0 auto;
}

.marker{
    position: absolute;
    width: 32px;
    height: 32px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transform: translate(-50%, -50%);
    text-decoration: none;
    color: red;
    transition-duration: 0.3s;
}

.marker:hover{
    position: absolute;
    width: 24px;
    height: 24px;
    background: red; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.back-button {
    position: sticky;
    top: 0;
    display: block;
    padding: 12px;
    background: white;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
    color: black;
    transition-duration: 0.3s;
    max-width: 80px;
    background-color: #2aabde;
    color: white;
}

.back-button:hover{
    background-color: #06718f;
    color: black;
    box-shadow: 0 0 20px rgba(0,0,0,0.15); 
}

h2{
    color: red;
    margin-top: 50px;
    scroll-margin-top: 60px;
}

h3 {
    margin-bottom: 0;
}

p {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    .LegendeLink {
        flex: 0 0 calc(50% - 5px);
    }
}

@media (max-width: 500px) {
    .LegendeLink {
        flex: 0 0 100%;
    }
}