@font-face {
    font-family: "Merriweather Sans";
    font-display: swap;
    src: url(../fonts/merriweather-sans.woff2) format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-display: swap;
    src: url(../fonts/Poppins-Regular.ttf) format("woff2");
}

@font-face {
    font-family: "Lora";
    font-display: swap;
    src: url(../fonts/Lora-VariableFont_wght.ttf) format("woff2");
}

body {
    height: 100%;
    padding: 0;
    margin: 0;
}

[x-cloak] {
    display: none !important;
}

#map {
    height: 100vh;
    width: 100%;
}

.overlay {
    font: unset;
    font-family: "Poppins", "Merriweather Sans", sans-serif;
    font-size: medium;
    line-height: 1.5;
    position: relative;

}

.overlay .infobox {
    background-color: white;
    position: absolute;
    z-index: 3;
    top: 1rem;
    left: 1rem;
    right: auto;
    bottom: auto;

    width: 50vw;
    height: 85vh;
    padding: 1rem;
    border-radius: 3px;

    transition: transform 1s;
}

.overlay .collapsed {
    transform: translateX(-110%);
}

.overlay .infobox .buildings {
    position: unset;
    overflow: scroll;
    width: 100%;
    height: 100%;

}

@media (max-width: 1200px) {
    .overlay .infobox {
        left: 0;
        top: 0;
        width: auto;
        height: 100vh;
        border-radius: 0;
        transition: unset;
    }
}



.buildings .topbtns {
    display: flex;
    justify-content: flex-end;
}

.buildings .mediabox {
    display: flex;
    justify-content: space-around;
}

.buildings .mediabox .portrait, .buildings .mediabox .video {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 0.5rem;
}

.buildings .mediabox .portrait img, .buildings .mediabox .video video {
    max-width: 100%;
}

.buildings .mediabox:has(.video-2) .portrait {
    justify-content: center;
}

.buildings .mediabox .portrait p {
    text-align: center;
    font-size: 0.5em;
}

@media (max-width: 600px) {
    .buildings .mediabox {
        flex-direction: column;
    }

    .buildings .mediabox .portrait, .buildings .mediabox .video {
        width: 100%;
    }
}

#infobox-content-end {
    display: inline-block;
    margin-top: 1rem;
}

span.spacer {
    flex-grow: 1;
}


.mapmarker {
    background-color: rgb(205, 159, 254);
    color: white;
    border-radius: 50%;
    font-size: 22px;
    line-height: 2.1em; /* set to same size as width, height */
    width: 2.1em;
    height: 2.1em;
    text-align: center;
    cursor: pointer;
    border: 0.5px solid black;
}



.hsbtn {
    background-color: #a5ffff;
    color: black;
    -webkit-box-shadow: 0 2px 0 #002d18;
    box-shadow: 0 2px 0 #002d18;
    width: auto;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border: none;
    margin-left: 1rem;
    font-family: Poppins;
}

.hsbtn:hover {
    background-color: #8fffc5;
}

.hsbtn:focus {
    border-color: #d8ff3f;
    color: #0b0c0c;
    background-color: #d8ff3f;
    -webkit-box-shadow: 0 2px 0 #0b0c0c;
    box-shadow: 0 2px 0 #0b0c0c;
}

.languagebtn {
    position: fixed;
    z-index: 1;
    bottom: 3rem;
    right: 1rem;
}

.basemapbtn {
    position: fixed;
    z-index: 1;
    bottom: 6rem;
    right: 1rem;
}

.indoorbtn {
    position: fixed;
    z-index: 1;
    bottom: 9rem;
    right: 1rem;
}
