nav {
    animation-timeline: unset;
}
nav > a {
    animation-timeline: unset;
}

h4, h5 {
    color: var(--secondary);
}

.interior-header {
    position: relative;
}
.interior-header picture img {
    max-width: 100%;
}
.interior-header h1 {
    bottom: 0;
    color: var(--background);
    margin-left: 10vw;
    padding-left: 14px;
    position: absolute;
    text-shadow: 1px 1px 1px black;
}
.interior-header h1::before {
    background: var(--background);
    content: '';
    display: block;
    height: 2px;
    opacity: 1;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 50vw;
}

.side-pattern {
    display: flex;
    overflow: hidden;
}
.side-pattern .text-column {
    align-items: start;
    margin-top: 5vh;
    margin-left: 10vw;
    padding-right: calc(5vw + 40px);
    min-width: 800px;
}
.side-pattern > .pattern-column {
    background: #B3B3B3;
    background: linear-gradient(149deg, var(--highlight) 0%, var(--secondary) 100%);
    border-radius: 0 0 0 64px;
    position: relative;
    width: 100%;
}
.side-pattern > .pattern-column > picture {
    border: 8px solid var(--background);
    box-shadow: 0px 0px 10px 2px lightgray;
    left: -40px;
    position: absolute;
    top: 10vh;
}
.side-pattern > .pattern-column > picture img {
    width: 100%;
}
.pattern-column > .pattern-splatter {
    bottom: 0;
    position: absolute;
}


/* CONTACT */
.contact-intro>*+* {
    margin-top: 1rem;
}

.contact-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.contact-description {
    color: rgb(107 114 128);
}

.contact-div {
    background-color: var(--background);
    background-size: cover;
    margin-top: 3vw;
    padding: 2em 3em !important;
    position: relative;
}

.contact-form {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.form-group-container {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: var(--primary);
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5em;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px white;
}

.form-input,
.form-textarea {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    display: flex;
    height: 2.5rem;
    width: auto;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
    color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
}

.form-textarea {
    min-height: 120px;
}

.form-submit {
    margin-top: 1.2rem;
    width: 80%;
}

.contact-area {
    background: var(--text);
    background: linear-gradient(149deg, var(--primary) 0%, var(--text) 100%);
    display: flex;
    margin: 10vh auto;
    padding: 1em;
}
.contact-area > div {
    max-width: 600px;
    padding: 5vw;
}
.contact-area > div:first-child h2, .contact-area > div:first-child h3, .contact-area > div:first-child a, .contact-area > div:first-child p {
    color: var(--background);
}
.contact-area > div:first-child a:hover {
    color: var(--secondary);
}

.gallery .flex-responsive {
    gap: 1em;
    justify-content: space-evenly;
}
.gallery .flex-column {
    gap: 1em;
}
.gallery picture {
    box-shadow: 0px 24px 54px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--text);
    border-left-color: var(--primary);
    border-bottom-color: var(--primary);
}
.gallery picture img {
    max-width: 720px;
    width: 100%;
}

@media screen and (max-width: 960px){
    .side-pattern {
        flex-wrap: wrap;
    }
    .side-pattern .text-column {
        align-items: center;
        margin-left: auto;
        min-width: unset;
        padding-right: 1em;
    }
    .side-pattern > .pattern-column {
        margin: 5vh auto;
        width: unset;
    }
    .side-pattern > .pattern-column > picture {
        position: static;
    }
    .pattern-column > .pattern-splatter {
        display: none;
    }

    .contact-area {
        flex-direction: column;
    }
}