body, html {
    margin: 0;
    padding: 0;
}

body {
    background-image: url("portcullis.svg");
    background-repeat: repeat;
    background-size: 120px 120px; /* Controls tile size */
}

/* ============================================
   RESET / BASE
   ============================================ */
.divContainer {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0;
    font-family: "FigJam", sans-serif;
}

.chartDiv, .map {
    padding: 0;
    margin: 0;
}

/* ============================================
   DESKTOP (default)
   ============================================ */
.title,
.subtitle {
    width: calc(100% - 225px);
}

.title {
    height: 130px;
    font-size: 38px;
    display: grid;
    vertical-align: middle;
    color: #A8ADB6;
    align-items: center;
    text-align: center;
}

.highlightBlack {
    color: #111111;
}

.highlightNorth {
    color: #00897B;
}

.highlightSouth {
    color: #7E3F8F;
}

.highlightMidGrey {
    color: #6B7280;
}

.subtitle {
    height: 120px;
    font-size: 16px;
    display: grid;
    vertical-align: middle;
    color: #A8ADB6;
    align-items: center;
    text-align: center;
}

.innerSubtitle {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.map {
    position: absolute;
    top: 0;
    right: 0;
    width: 225px;
    height: 250px;
    margin: 0;
    padding: 0;
}


.chartDiv {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}

.menu {
    position: static;
    background-color: #E5E7EB;
    width: 100%;
    height: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.menu-item {
    font-size: 18px;
    color: #A8ADB6;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-item.active {
    font-weight: 500;
    color: #111111;
}

.menu-sep {
    font-size: 16px;
    color: #A8ADB6;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 8px;
}

.chartTooltip {
    visibility: hidden;
    position: absolute;
    text-align: left;
    border: 0.5px solid #E5E7EB;
    padding: 3px;
    color: #A8ADB6;
    font: 12px sans-serif;
    background: #FFFFFF;
    border-radius: 4px;
    pointer-events: none;
    width: 120px;
    height: auto;
    z-index: 3000;
}

.footer {
    height: 40px;
    font-size: 16px;
    line-height: 24px;
    color: #A8ADB6;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* ============================================
   MOBILE
   width < 800px
   ============================================ */
@media (max-width: 799px) {

    .footer {
        font-size: 14px;
    }

    .title {
        position: sticky;
        top: 0;
        width: 100%;
        height: 90px;
        z-index: 3;
        font-size: 24px;
        padding: 0;
        margin: 0;
        background-color: white;
    }

    .subtitle {
        width: 100%;
        font-size: 14px;
        height: 80px;
        padding: 0;
        margin: 0;
    }

    .map {
        position: static;
        width: 100%;
        height: 250px;
    }

    .menu {
        position: sticky;
        top: 90px;
        width: 100%;
        height: 50px;
        z-index: 2;
    }

    .menu-item,
    .menu-sep {
        font-size: 14px;
    }

}

@keyframes pulse {
    0%, 100% {
        stroke-opacity: 0;
    }
    50% {
        stroke-opacity: 0.6;
    }
}


.pulse {
    animation: pulse 1s ease-in-out infinite;
}

a {
    color: #00897B; /* Use the surrounding text color */
    text-decoration: none; /* Remove the underline */
}

