body {
    height: 97vh;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
a {
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    display:none;
}

svg {
    width: 100%;
    height: 100%;
}

rect, path {
    fill: rgba(0, 0, 0, 0);
    transition: fill 500ms;
}

.visible, rect:hover, path:hover {
    cursor: pointer;
    fill: rgba(200, 0, 0, 0.5);
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 200%;
    right: 0;
    z-index: 1000;
    background-color: #3f51b5;
    opacity: 80%;
    display: none;
}

#wrapper {
    position: absolute;
    z-index: 1001;
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
}

iframe {
    width: 95%;
    height: 95%;
}

video, img{
    display: block;
    max-width:100%;
    max-height:100%;
    width: auto;
    height: auto;
    margin: auto;
}

video, img, iframe {
    z-index: 1002;
}

#wrapper img:hover {
    cursor: pointer;
}

#close {
    position: absolute;
    right: -40px;
    font-size: 32px;
    color: #ffffff;
    z-index: 100001;
}

#close:hover {
    cursor: pointer;
    color: black;
    font-weight: bold;
}

ul li a {
    color: #093406;
    text-decoration: none;
    line-height: 150%;
}


ul#medienliste {
    list-style-type: none;
}
ul li a:hover {
    color: #9f3fb5;
}

ul#medienliste li a{
    list-style-type: none;
    color: #172b91;
}

ul#medienliste li a:hover {
    color: #3fb5b1;
}

#anzahl {
    color: #c30a0a;
}

#link, #link-vorbereitung {
    color: lightblue;
    font-size: 150%;
    text-align: center;
}

#link a{
    color: white;
    text-decoration: none;
}
#link a:hover{
    color: #c0a7d2;
}

#wrapper.link{
    flex-direction: column;
    align-items: center;
}