#hypermedia {
    width: 90vw;
    min-height: 100vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
}

#map {
    text-decoration: none;
}

#hypermedia img, #hypermedia figure {
    width: 44vw;
}

#hypermedia figure h1 {
    text-align: center;
}

#hypermedia img {
    border-radius: 16px;
}

.hypermedia-content {
    width: 60vw;
    margin: 5vh auto;
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.hypermedia-content h1#hypermedia-title {
    text-align: left;

}

.hypermedia-content h1:not(#hypermedia-title), .hypermedia-content p {
    width: 60vw;
}

.hypermedia-content figure, .hypermedia-content img, iframe {
    width: 50vw;
}

iframe {
    height: 60vh;
}

.hypermedia-content {
    border-radius: 16px;
}

.hypermedia-content div {
    width: 60vw;
}

.hypermedia-content a {
    color: var(--secondary);
    text-decoration: underline;
}

.hypermedia-content figcaption {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.hypermedia-content ul {
    list-style-type: "\2D\20";
    margin-left: 20px;
}

.hypermedia-content h2 {
    align-self: flex-start;
}

#box {
    background-color: #E8DDC7;
    padding-left: 10px;
    margin: 0;
    border: 1px solid black;
}

#box h3 {
    color: var(--secondary);
}

#box li {
    list-style-position: inside;
}

#map {
    display: flex;
    flex-direction: row;
}

#locations {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media only screen and (max-width: 1000px) {
    #hypermedia {
        flex-direction: column;
        gap: 2vh;
    }

    #hypermedia img, #hypermedia figure {
        width: 90vw;
    }

    .hypermedia-content {
        width: 80vw;
    }

    .hypermedia-content figure, .hypermedia-content img, iframe, .hypermedia-content h1, .hypermedia-content p, .hypermedia-content div {
        width: 80vw;
    }

    iframe {
        height: 30vh;
    }

    .hypermedia-content h1, .hypermedia-content p {
        width: 80vw;
    }
}