#background {
    width: 100vw;
    height: 100vh;

    background:
        /* Colored overlay: solid color fading to transparent on the right */
            linear-gradient(to right, var(--primary-colour) 50%, rgba(0, 0, 0, 0))

}
#img-container {
    height: 100%;
    width: auto;
}
#background-img {
    display: block;
    height: 100%;
    width: auto;
    background-position: right;
    background-size: auto 100%;
    background-repeat: no-repeat;
    box-shadow: #373535 4px 4px 10px 1px;
    justify-self: end;
    opacity: 0;
    animation: fadeIn 5s forwards;
}

#headers {
    position: absolute;
    width: 800px;
    height: 300px;
    left: 15%;
    top: 30%;
    display: flex;
    flex-direction: row;
}
#headers > * {
    flex-grow: 1;
    width: 50%;
}
.sweep-hidden {
    clip-path: inset(0 100% 0 0);
}
#headers h1 {
    color: var(--secondary-colour);
    animation: sweep forwards 1s;
}
#headers h3 {
    color: var(--secondary-colour);
    animation: sweep forwards 1s .5s;
}
#scroll-text {
    margin-top: 10px;
    transform: translateX(50%);
    animation: scroll forwards 1s 1s;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}