html, body {
    min-height: 100vh;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Courier Prime", monospace;
    color: #1F3A5F
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    font-style: normal;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

h3 {
    font-size: 1.5rem;
    font-weight: 300;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #FFF8F1;
}

a {
    color: #FF7601;
}


#loading {
    position: absolute;

    top: 70px;      /* height of header */
    bottom: 30px;   /* height of footer */
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center;     /* horizontal center */

    background: #FFF8F1;       /* optional */
    z-index: 1000;
}

iframe.storymap-full-screen, iframe.eb-full-screen{
    position: absolute;
    top: 70px; /* adjust based on header height */
    left: 0;
    border: none;
    width: 100vw;
    height: calc(100vh - 100px); /* subtract header and footer height */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #FFF8F1;
    border-top: 5px solid #FF7601;
    color: #FF7601;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.btn-primary {
    color: #FFF8F1;
    background-color: #FF7601;
    border-color: #FF7601;
}

.btn-primary:hover {
    color: #FF7601;
    background-color: #FFF8F1;
    border-color: #FF7601;
}

.btn-outline-primary {
    color: #FF7601;
    border-color: #FF7601;
}

.btn-outline-primary:hover {
    color: #FFF8F1;
    background-color: #FF7601;
    border-color: #FF7601;
}

.hero {
    position: relative;
    overflow: hidden;      /* prevents accidental horizontal overflow */
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem;
}

.image-backdrop {
    background-color: rgba(0, 0, 0, 0.3); /* semi-transparent black */
    backdrop-filter: blur(1px); /* blur the background image */
    -webkit-backdrop-filter: blur(1px); /* Safari support */
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 576px) {

    .hero-image {
        height: 600px;   /* give more room for wrapped text */
    }

    .hero h2 {
        font-size: 1.75rem;
    }
}


@media (max-width: 576px) {
    .image-backdrop {
        padding: 1rem;
        width: 92%;
    }
}