@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&display=swap');

:root {
    --header-h: 95px;
    --accent: #002c76;
    --ui-bg: rgba(255, 255, 255, 0.95);
}

html * {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    height: 100%;
}

.red_header_bar {
    top: 0;
    height: var(--header-h);
    position: fixed;
    z-index: 50;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    background-color: #c41230;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.content {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-h);
    align-items: flex-start;
}

.row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 12px;
    box-sizing: border-box;
}

#box1 {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-top: 30px;
}

#homeTitle {
    width: 100%;
    text-align: center;
    font-size: clamp(25px, 4.5vw, 42px);
    font-weight: 900;
    max-width: 900px;
    color: var(--accent);
    display: block;
    font-family: 'Merriweather', sans-serif;
    line-height: 1.05;
    padding-bottom: 15px;
}

.panzoom-parent {
    overflow: hidden;
    user-select: none;
    touch-action: none;
    width: 100%;
    max-width: 90%;
    height: calc(100vh - var(--header-h) - 160px);
    max-height: 900px;
    margin-top: 1rem;
    border: #002c76;
    border-style: solid;
    border-width: 5px;
}

/* TEMPORARY */

#tempIm {
    border: #002c76;
    border-style: solid;
    border-width: 3px;
    margin-top: 15px;
    height: 70vh;
}

/* END TEMPORARY */

#svgContainer {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 0 0;
    user-select: none;
    -webkit-user-drag: none;
}

#panzoomDiv {
    cursor: move;
    user-select: none;
    touch-action: none;
    transform-origin: 50% 50%;
    transition: none;
    transform: scale(1) translate(0px, 0px);
}

.building {
    cursor: pointer;
    background-color: #002c76;
}

.building:hover {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

footer {
    width: 100vw;
    padding-bottom: 2px;
    background-color: #D9D9D9;
}

.copy-container {
    margin-left: 15px;
    margin-right: 15px;
}

/* Panzoom End */

@media (min-width: 250px) and (max-width: 416px) {
    html * {
        overflow-x: hidden;
    }

    .red_header_bar {
        display: block;
    }

    .panzoom-parent {
        overflow: hidden;
        user-select: none;
        touch-action: none;
        width: 95vw;
        max-width: 95%;
        height: calc(100vh - var(--header-h) - 140px);
        margin-top: 1rem;
        border: #002c76;
        border-style: solid;
        border-width: 5px;
    }

    #svgContainer {
        display: block;
        width: 100%;
        height: 100%;
        transform-origin: 0 0;
        user-select: none;
        -webkit-user-drag: none;
    }

    #homeTitle {
        width: 100%;
        text-align: center;
        font-weight: 900;
        max-width: 90vw;
        color: var(--accent);
        display: block;
        font-family: 'Merriweather', sans-serif;
        line-height: 1.05;
        padding-bottom: 15px;
    }
}