nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--base0);
    z-index: 50;
}

#large-brand, #small-brand {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: block;
    z-index: 99;
    transition: all .5s ease-in-out;
}

.sticky #large-brand {
    margin-top: -9rem;
}

#small-brand {
    top: -4rem;
}

.sticky #small-brand {
    top: .5rem;
}

#menu {
    display: flex;
    flex-direction: row;
    justify-content: end;
    transition: all .5s ease-in-out;
}

.sticky #menu {
    border-bottom: 1px solid var(--base20);
}

#menu a {
    display: flex;
    height: 6rem;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 2rem;
    color: var(--base80);
    transition: all .5s ease-in-out;
}

.sticky #menu a {
    height: 4rem;
}

#menu a:hover {
    background-color: var(--base20);
}

#menu i {
    font-size: 2rem;
    margin-right: .5rem;
}

#hero {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 25rem;
    width: 100%;
    margin-top: 6rem;
    overflow: hidden;
}

#hero img {
    width: 100%;
    height: auto;
}

main {
    padding: 2rem;
}

.form-row {
    position: relative;
}

.form-row i {
    position: absolute;
    top: 0;
    left: .5rem;
    line-height: 2.5rem;
}

.form-row i + input {
    padding-top: .25rem;
    padding-left: 2rem;
}

.edit-block {
    margin: 3rem 0;
}

.edit-block h6 {
    margin-bottom: .5rem;
}

.edit-block p {
    margin-left: 2rem;
}

.edit-block .edit-item div {
    flex: 0 0 80%;
}

.edit-block .edit-item div:last-child {
    flex: 1 1 auto;
}

.section-header {
    padding-left: 1rem;
    font-size: 2rem;
    font-weight: 100;
    color: var(--theme);
    border-bottom: 1px solid var(--theme);
    margin-top: 3rem;
    align-items: center;
}

.section-frame header, .section-frame footer {
    font-weight: 100;
    color: var(--base120);
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 0 3rem 0 2rem;
}

.section-frame header > *, .section-frame footer > * {
    position: relative;
    transform: translateY(50%);
    background-color: var(--base40);
    padding: .5rem 1rem;
    border-radius: .5rem;
    box-shadow: .25rem .25rem .25rem var(--base60);
}

.section-frame footer > * {
    background-color: var(--base20);
    box-shadow: none;
    transform: translateY(-150%);
}

.section-frame h2 {
    font-size: 1.75rem;
    font-weight: 300;
    text-shadow: var(--shadow);
    color: var(--base0);
}

.section-frame h3 {
    flex: 1 1 auto;
    justify-self: start;
    color: var(--base40);
    font-size: 1.25rem;
    font-weight: 300;
}

.section-frame a {
    font-weight: 300;
}

.section-frame article {
    background-color: var(--base20);
    border-radius: .5rem;
    padding: 3rem 1rem 5.5rem 1rem;
    border: 1px solid var(--base80);
}

.section-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0 4rem 0 1rem;
}

.section-list-item {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.section-list-item > * {
    flex: 1 1 100%;
    line-height: 150%;
}

.section-numbers {
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.section-numbers > * {
    flex: 1 1 100%;
}

.section-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.section-number span {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--base80);
}

.section-number i {
    font-size: 2rem;
    color: var(--base60);
    margin-top: -.25rem;
}

#embedded-content iframe {

    width: 75rem;
    max-width: 100%;
    height: calc(100vh - 8rem);

}

@media only screen and (min-width: 48em) {

    .edit-block {
        margin: 3rem;
    }

    .edit-block .edit-item div {
        flex: 0 0 60%;
    }

    .section-list {
        font-size: 1.25rem;
    }
}

@media only screen and (min-width: 64em) {

    .edit-block .edit-item div {
        flex: 0 0 40%;
    }

    .section-frame header {
        justify-content: start;
    }

    .section-frame footer {
        justify-content: end;
    }

    .section-frame h2 {
        font-size: 2.5rem;
    }

    .section-frame article {
        padding: 3rem 2rem 5.5rem 2rem;
    }
}
