body {
    background-color: #ffffff;
    margin: 0 20%;
    font-family: serif;
    color: black;
    height: 100vh;
    overflow: hidden;
    }

/* --- Positioning the text blocks --- */
.homepage {
    position: relative;
    height: 100vh;
    width: 100%;
}

.top-right { /*ExLibris Header*/
    position: fixed;
    top: 2rem;
    right: 2rem;
    height: 25vh;
    width: auto;
    object-fit: contain;
}

.bottom-left {
    background-color: #ffffff;    
    position: fixed;
    bottom: 2rem;
    left: 6rem;
    width: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
    border-radius: 0px;
    font-weight: 100;
    font-size: small;
    color: black;
}

.bottom-right{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    height: 10vh;
    width: auto;
    font-weight: 700;
}

/* --- Centered Logo --- */
.top-centered-logo {
    position: fixed;
    top: 20px; /*distance from top edge*/
    left: 65%; /*horizontal center*/
    transform: translateX(-50%); /* Offset by half width to center exactly*/
    max-width: calc(100vw - 40px); /*max width is viewport width, minus PX*/
    max-height: 200px; /*prevents it from being too tall*/
    width: auto;
    height: auto; /*To keep aspect ratio*/
    pointer-events: none; /*lets clicks pass through*/
    object-fit: contain; /*scales image to fit its container*/
}

/* --- Vertical nav BAR --- */
.vertical-nav {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0.5rem;
    z-index: 10;
    }

/* --- Vertical nav BUTTONS --- */
.vertical-nav a {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-decoration: none;
    color: black;
    background: white;
    border: 1px solid black;
    border-radius: 0px;
    padding: 50px 5px;
    font-weight: bold;
    text-align: right;
    transition:all 0.3s ease;
}

/* --- Vertical nav BUTTONS, hover and active state--- */
.vertical-nav a:hover,
.vertical-nav a.active {
    background: black;
    color: white;
}

h1 {
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 30-x;
    }
h2 {
    text-align: center;
    color: #860000;
    font-size: 1em;
    }



/*Media uery for small screens/phones*/
@media screen and (max-width: 600px) {
    .bottom-left {
        background-color: #ffffff;    
        position: fixed;
        top: 400px;
        bottom: 3rem;
        left: 6rem;
        width: 200px;
        max-height: calc(100vh - 500px);
        overflow-y: auto;
        padding: 25px;
        background: rgba(255, 255, 255, 0.8);
        border: 2px solid black;
        border-radius: 0px;
        font-weight: 100;
        font-size: small;
        color: black;
    }

    .top-right { /*ExLibris Header*/
    position: fixed;
    top: 3rem;
    right: 3rem;
    height: 20vh;
    width: auto;
    object-fit: contain;
    }
}


/*Floating Map*/
html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: hidden;
        background: #ffffff
}

    #map {
        position: absolute;
        padding: 10vw;
        width: 100vw;
        height: 100vh;
        cursor: grab;
        overflow: hidden;
        z-index: 0;
    }

    /*Each floating image*/
    .floating {
            position: absolute;
            width: 100px;
            z-index: 0;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(255,255,255,0.3);
            transition: transform 0.3s;
            animation: float 6s ease-in-out infinite;
    }

    .floating:hover {
        transform: scale(1.1);
    }

    /*simple gentle floating animation*/
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }