html,
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto Condensed", sans-serif;
}

.navbar {
    display: grid;
    justify-content: space-around;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    background-color: white;
    padding: 1em 2em;
}

.navbar-heading {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    font-size: 1.4rem;
    justify-self: end;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

#form {
    height: 100%;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dropper-container {
    background-color: white;
    width: 20em;
    height: 10em;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: .9em;
    border-radius: 3px;
    transition-property: color, background-color;
    transition-duration: 200ms;
}

.dropzone {
    all: unset;
    height: 100%;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2em;
}

.dropzone:focus {
    outline: revert;
}

.dropzone-text {
    text-align: center;
    text-wrap: balance;
    pointer-events: none;
}

.upload-icon {
    width: 4em;
    height: 4em;
    pointer-events: none;
}

.dragover {
    background-color: #ff8400;
    color: white;
}

.sliding-background {
    background: url("images/subtle-prism.svg") repeat-x;
    height: 2501px;
    width: 4446px;
    animation: slide 120s linear infinite;
    z-index: -1;
}

@keyframes slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-1692px, 0, 0);
        /* The image width */
    }
}

.container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.hidden {
    display: none;
    visibility: hidden;
    height: 0 !important;
    width: 0;
    margin: 0;
    padding: 0;
}

.error-message {
    height: 70vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-banner {
    box-sizing: border-box;
    width: min(36rem, calc(100% - 2rem));
    margin: 0 1rem 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid #b42318;
    border-radius: 4px;
    background: #fff5f3;
    color: #6b1f18;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.error-banner strong {
    display: block;
    font-size: 1.1rem;
}

.error-banner p {
    margin: 0.5rem 0 0;
    line-height: 1.45;
}
