:root {
    --background-light:     #FEF7FF;
    --background-light-secondary: #F3EDF7;
    --background-light-secondary-active: #dfddeb;
    --background-light-tertiary: #ECE6F0;
    --background-light-disabled: #9494a4;
    --background-dark: #E7E0EC;

    --background-button-secondary: #ccd;

    --font-light-primary:     #1D1B20;
    --font-light-secondary:   #49454F;
    --font-light-tertiary:    #000000; /* Web Safe */
    --font-light-error:       #CC0000; /* Web Safe */
    --font-light-volatile:    #CC0000; /* Web Safe */
    --font-light-required:    #990000; /* Web Safe */
    --font-light-quarternary: #efefff;

    --accent-light-primary: #DFDAC3;
    --accent-light-primary-active: #bebaa4;
    --accent-light-secondary: #336699; /* Web Safe */
    --accent-light-secondary-active: #6699cc; /* Web Safe */
    --accent-light-tertiary: #D5D4CA;
    --accent-light-tertiary-active: #bebdaa;

    --border-light-primary: #494949;
    --border-light-secondary: #999999; /* Web Safe */
    
    --background-light-selected: #99ccff; /* Web Safe */
    --background-light-selected-accent: #6699cc; /* Web Safe */
}

@font-face { font-family: Passenger; src: url('/font/PassengerDisplay-Regular.otf'); } 

* {
  font-family: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    color: var(--font-light-primary);
    height: 100%;
}

.page {
    display:flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 1rem 0 0 0;
    padding: 0 1rem;
    flex-grow: 1;
}

.header-image-wrapper {
    flex: 1 1 auto;
    width:100%;
}

.header-image-wrapper img {
    width:100%;
    height:auto;
    object-fit: cover;
}

.header-image-wrapper.map{
    width: 100%;
    height: auto;
    max-width: 60rem;
    padding: 1rem 1rem;
    object-fit: contain;
}

.header-image-wrapper.map img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-body {
    margin: 0 1em;
}

.title {
    font-size:2rem;
    margin-bottom: 1.5rem;
}

.section-divider {
    margin: 1rem 0;
    font-size: 1rem;
    justify-self: center;
}

.section-title {
    font-size: 1.3rem;
    justify-self: center;
}

.section-content {
    h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    p {
        font-size: .95rem;
        line-height: 1.5;
        color: var(--font-light-secondary);
    }

    ul li {
        font-size: .95rem;
        line-height: 1.5;
        color: var(--font-light-secondary);
    }
}

.button {
    margin-top: .625rem;
    padding: .975rem;
    border-radius: 30px;
    border: none;
    background: var(--accent-light-secondary);
    color: var(--background-light);
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    width: 100%;
}

.button[type='submit']:disabled {
    background: var(--background-light-disabled);
}

.button:hover {
    opacity: var(--accent-light-secondary-active);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.error {
    font-size: .875rem;
    color: var(--font-light-error);
    text-align: center;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--border-light-secondary);
    padding: 1rem 10%;
    -webkit-box-shadow: 0px 0px 12px -1px rgba(0,0,0,0.05); 
    box-shadow: 0px 0px 12px -1px rgba(0,0,0,0.05);
    font-size: 1rem;

    p {
        margin: 0;
        padding: 0;
    }
}

#loading {
  display: none;
  position: absolute;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, .05);
}

#spinner {
  width: 7rem;
  height: 7rem;
  border-width: 1rem;
  color: var(--font-light-secondary);
}

@media (min-width: 64rem) {

    .page {
        gap: 0;
    }

    .section-body {
        margin: 0;
        padding: 1.5rem 0 0 0;
    }

    .section-content {
        font-size: 1.5rem;
        /* padding: 0 1.5rem; */
    }

    .header-image-wrapper img {
        height: 48rem;
        object-fit: cover;
    }

}