.spacer {
    height: 30px;
}

h1 {
    text-align: center;
}

a {
    all: unset;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.05s ease, text-decoration-thickness 0.05s ease;
}

a:hover {
    transform: scale(1.05);
    text-decoration-thickness: 2px;
}

.project-toc {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.project-toc a {
    display: block;
    text-align: center;
}

.section-divider {
    justify-self: center;
    border: none;
    height: 1px;
    width: 900px;
    background-color: #ccc;
    margin: 0;
}

.project-small-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-small {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 20px;
    gap: 15px;
    scroll-margin-top: 60px;
}

.project-small:target {
    animation: flash-highlight 1.2s ease-out;
}

@keyframes flash-highlight {
    0% {
        background-color: rgba(255, 255, 0, 0.6);
    }

    /* bright yellow highlight */
    100% {
        background-color: transparent;
    }
}

.centered {
    justify-items: center;
}

.project-small img {
    height: auto;
    width: 200px;
}

.project-small h2 {
    font-size: 1em;
    margin: 0 0 10px 0;
}

.project-small span {
    display: inline-block;
    text-align: justify;
}
