body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: left;
    font-family: "Raleway";
    color: rgb(48, 48, 48);
    appearance: none;
    -webkit-appearance: none;
}

#name-heading {
    font-weight: 300;
    margin-left: 3vw;
    margin-right: 3vw;
}

a {
    text-decoration: none;
}

button {
    color: black;
    padding: 0;
}

#navigation {
    position: fixed;
    width: 100vw;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2vw; 
    background: #cecece;
    border-bottom: 5px solid #32a87f;    
}


#menu-btn {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background-color: #32a87f;
    border: none;
    font-size: 30px;
}

#navigation a {
    color: black;
    text-decoration: none;
}

#site-links {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    align-items: center;
    height: 100%;
}

#language-btns {
    display: flex;
    gap: 0.5vw;
}

#cz-btn, #en-btn {
    height: 20px;
    width: 30px;
    padding: 0;
    border-radius: 50px;
    border: 2px solid black;
}

#cz-btn img, #en-btn img {
    height: 100%;
    width: 100%;
    border-radius: 50px;
}

h2 {
    margin: 0;
    font-size: 40px;
}

h3 {
    margin: 0;
    font-size: 25px;
}

h4 {
    margin: 0;
    font-family: "Raleway";
    font-weight: 300;
}

p {
    margin: 0;
    font-family: "Raleway";
    font-weight: 200;
}

#img-viewer {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(128, 128, 128, 0.941);
    display: none;
}

#img-viewer img {
    width: 80%;
    height: 80vh;
    object-fit: contain;
    opacity: 1;
}

#buttons-and-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#img-viewer button {
    position: absolute;
    top: 0;
    width: clamp(10px, 10%, 100px);
    height: 100%;
    font-size: clamp(30px, 4vw, 4vw);
    background-color: #cecece2f;
    border: none;
    cursor: pointer;

}

#img-viewer button:nth-of-type(1) {
    left: 0;
}

#img-viewer button:nth-of-type(2) {
    right: 0;
}

#img-viewer h3 {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    max-width: 75%;
    font-size: 20px;
}

#img-viewer p {
    text-align: center;
    font-weight: 500;
    max-width: 75%;
}

.heading {
    color: rgb(72, 71, 71);
    font-weight: 400;
    margin-top: 100px;
    margin-left: 5vw;
    margin-bottom: 5px;

    margin-top: 20vh;
}

#sub-topic-links {
    display: flex;
    margin-left: 5vw;
    gap: 1vw;
}

#sub-topic-links a {
    color: blue;
}

.sub-topic {
    margin-left: 5vw;
    margin-top: 2vw;
    width: 90vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3vw;
}

.sub-topic-heading {
    margin-left: 5vw;
    margin-top: 5vw;
}

.sub-topic-sub-heading {
    font-size: 20px;
    margin-left: 5vw;
    margin-top: 5px;
    font-weight: 500;
}

.artwork {
    width: clamp(120px, 20vw, 300px);
    height: auto;
}

.wide {
    width: clamp(400px, 20vw, 300px);
}

.artwork img {
    object-fit: contain;
    object-position: left bottom;
    width: 100%;
    height: 70%;
    cursor: pointer;
}

.artwork-link {
    color: rgb(48, 48, 48);
    text-decoration: underline;
}

.text-artwork {
    width: clamp(200px, 95vw, 600px);
    display: flex;
    flex-direction: column;
    gap: 10px 20px;
}

.text-heading {
    font-weight: 600;
    font-size: 120%;
}

.text {
    width: 100%;
    line-height: 1.4;  
}

.text-imgs {
    display: flex;
    gap: 5px;
}

.text-img {
    width: 20vw;
}

.pdf-link {
    margin-left: 5vw;
    color: rgb(72, 71, 71);
}

.pdf-link span {
    text-decoration: underline;
    text-underline-offset: 3px;
}


@media (max-width: 655px) {
    #menu-btn {
        display: inline-block;
    }

    #site-links {
        display: none;
        margin-left: 5vw;
        flex-wrap: wrap;
        width: 80vw;
    }
    
    #language-btns {
        gap: 2vw;
    }

    #cz-btn, #en-btn {
        flex-direction: column;
        gap: 10px;
    }

    #cz-btn, #en-btn {
        height: 25px;
        width: 37px;
    }

    #navigation {
        height: 100px;
        gap: 5vw;
    }

    #navigation a {
        font-size: 20px;
    }

    .artwork img {
        height: unset;
    }

    .wide {
        width: clamp(120px, 20vw, 300px);
    }
}
