/* Variables */

:root {
    --background: #0e020e;
    --transparent-background: rgba(14, 2, 14, 0.7);
    --text-accent: #d793bd;
    --text-accent-hover: #e3c7e6;
    --text-primary: #f2e8f3;
    --border: #5a475d;
    --border-highlight: #8f7a92;
    --border-shadow: #3a283d;

    --background-accent: #e686e1;
    --background-accent-hover: #e79de4;
    --on-background-accent: #3b054c;

    --serif: Unna, "Times New Roman", Times, serif;
    --sans: NotoSans, Arial, Helvetica, sans-serif;
}

@font-face {
    font-family: Cambo;
    src: url("/static/Cambo-Regular.ttf");
}

@font-face {
    font-family: Unna;
    src: url("/static/Unna-Regular.ttf");
}

@font-face {
    font-family: NotoSans;
    src: url("/static/NotoSans.ttf");
}

/* Body styling */

html {
    padding: 0;
    margin: 0;
}

body {
    padding: 8rem 2rem 2rem 2rem;
    margin: 0;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: var(--sans);
}

/* Transitions */

.loader {
    visibility: hidden;
    filter: opacity(0);
    position: fixed;
    width: 5rem;
    height: 5rem;
    left: calc(50% - 2.5rem);
    top: calc(50% - 2.5rem);
    border-radius: 50%;
    border: 2px solid var(--text-accent);
    z-index: 1;
    transition: filter 0.2s, visibility 0.2s allow-discrete;
    animation: loader-animation 0.75s linear infinite;

    &.loader--transitioning {
        visibility: visible;
        filter: opacity(1);
        transition: filter 0.2s 0.5s, visibility 0.2s 0.5s allow-discrete;
    }
}

@keyframes loader-animation {
    0% {
        clip-path: polygon(50% 0%, 50% 50%, 100% 0%, 100% 0%);
        transform: rotate(0deg);
    }
    50% {
        clip-path: polygon(50% 0%, 50% 50%, 100% 100%, 100% 0%);
        transform: rotate(120deg);
    }
    100% {
        clip-path: polygon(50% 0%, 50% 50%, 100% 0%, 100% 0%);
        transform: rotate(360deg);
    }
}

@keyframes slide-left-out {
    0% {
        transform: translate(0px, 0px);
        filter: opacity(1);
    }
    100% {
        transform: translate(-10px, 0px);
        filter: opacity(0);
    }
}

.transitioner--slide-left-out {
    animation: slide-left-out 0.25s ease forwards;
}

@keyframes slide-right-in {
    0% {
        transform: translate(10px, 0px);
        filter: opacity(0);
    }
    100% {
        transform: translate(0px, 0px);
        filter: opacity(1);
    }
}

.transitioner--slide-right-in {
    animation: slide-right-in 0.25s ease forwards;
}

@keyframes slide-right-out {
    0% {
        transform: translate(0px, 0px);
        filter: opacity(1);
    }
    100% {
        transform: translate(10px, 0px);
        filter: opacity(0);
    }
}

.transitioner--slide-right-out {
    animation: slide-right-out 0.25s ease forwards;
}

@keyframes slide-left-in {
    0% {
        transform: translate(-10px, 0px);
        filter: opacity(0);
    }
    100% {
        transform: translate(0px, 0px);
        filter: opacity(1);
    }
}

.transitioner--slide-left-in {
    animation: slide-left-in 0.25s ease forwards;
}

@keyframes slide-down-out {
    0% {
        transform: translate(0px, 0px);
        filter: opacity(1);
    }
    100% {
        transform: translate(0px, 5px);
        filter: opacity(0);
    }
}

.transitioner--slide-down-out {
    animation: slide-down-out 0.125s ease forwards;
}

@keyframes slide-up-in {
    0% {
        transform: translate(0px, -5px);
        filter: opacity(0);
    }
    100% {
        transform: translate(0px, 0px);
        filter: opacity(1);
    }
}

.transitioner--slide-up-in {
    animation: slide-up-in 0.25s ease forwards;
}

/* Shared components */

.primary-button {
    font-size: 1rem;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    background-color: var(--background-accent);
    color: var(--on-background-accent);
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;

    &:hover {
        transition: background-color 0.1s;
        background-color: var(--background-accent-hover);
    }

    &.primary-button--shiny {
        border: 1px solid var(--border);
        border-top: 1px solid var(--border-highlight);
        border-bottom: 1px solid var(--border-shadow);
        box-shadow: 0 5px 14px 4px rgb(101 24 108 / 54%),
            inset 0px 3px 7px 0px rgb(224 192 226 / 46%),
            0px 2px 3px 0px rgb(84 41 88 / 45%);

        &:hover {
            box-shadow: 0px 4px 14px 5px rgb(101 24 108 / 64%),
                inset 0px 3px 7px 0px rgb(255 249 255 / 46%),
                0px 4px 3px 0px rgb(0 0 0);
        }

        &:active {
            box-shadow: 0 5px 14px 4px rgb(101 24 108 / 54%),
                inset 0px 3px 7px 0px rgb(224 192 226 / 46%),
                0px 2px 3px 0px rgb(84 41 88 / 45%);
        }
    }
}

.cardgroup {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    .card:first-child {
        border-radius: 12px 12px 4px 4px;
    }

    .card:last-child {
        border-radius: 4px 4px 12px 12px;
    }

    .card:first-child:last-child {
        border-radius: 12px;
    }

    .card {
        border-radius: 4px;
    }
}

.card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2rem;

    .card__title {
        margin: 0;

        .card__title__pretitle {
            font-size: 1rem;
            font-family: var(--sans);
            margin: 0 0 0.25rem 0;
            font-weight: normal;
            letter-spacing: 0.5px;
        }

        .card__title__main {
            font-size: 2rem;
            font-family: var(--serif);
            font-weight: normal;
            margin: 0 0 0.5rem 0;
        }

        .card__title__subtitle {
            font-size: 1rem;
            font-family: var(--sans);
            font-weight: normal;
            letter-spacing: 0.5px;
        }
    }

    .card__section {
        .card__section__title {
            font-family: var(--serif);
            margin: 0 0 0.5rem 0;
            font-weight: normal;
            letter-spacing: 0.5px;
        }

        .card__section__content {
            font-family: var(--sans);
            line-height: 1.5;

            ul {
                margin: 0;
                padding: 0 0 0 1.5rem;

                li:not(:last-child) {
                    margin-bottom: 0.5rem;
                }
            }
        }
    }
}

.human-only__modal {
    width: 100%;
    height: 100%;
    background-color: var(--transparent-background);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-sizing: border-box;
    filter: opacity(0);
    flex-direction: column;
    transition: filter 0.2s, display 0.2s allow-discrete;

    &:popover-open {
        display: flex;
        filter: opacity(1);
    }
}

@starting-style {
    .human-only__modal:popover-open {
        filter: opacity(0);
    }
}

.human-only__container {
    color: var(--text-primary);
    width: calc(100% - 4rem);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 42rem;

    .human-only__container__header {
        font-family: var(--serif);
        font-size: 2rem;
        font-weight: normal;
        margin: 0 0 0.5rem 0;
    }

    .human-only__container__instructions {
        margin: 0 0 3rem 0;
        color: var(--text-accent);
        line-height: 1.5;
        letter-spacing: 0.5px;
    }

    .human-only__question {
        margin: 0 0 2rem 0;
        line-height: 1.5;
        letter-spacing: 0.5px;
        color: var(--text-primary);
    }

    .human-only__answer-group {
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        gap: 6px;

        .human-only__answer {
            font-size: 1rem;
            color: var(--text-primary);
            padding: 0.5rem 0.5rem;
            border: 1px solid var(--border);
            background-color: transparent;
            border-radius: 6px 3px 3px 6px;
            flex: 1;
        }

        .human-only__submit {
            padding: 0 1.5rem;
            border-radius: 3px 6px 6px 3px;
            background-color: var(--background-accent);
            color: var(--on-background-accent);
            font-family: var(--sans);
            border: none;
            transition: background-color 0.2s;
            flex: 0;

            &:hover {
                background-color: var(--background-accent-hover);
                cursor: pointer;
                transition: background-color 0.1s;
            }
        }
    }

    &.human-only__container--solved {
        display: none;
    }
}

.human-only__decrypted-html {
    display: none;

    &.human-only__decrypted-html--solved {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .human-only__email {
        color: var(--text-primary);
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 1rem;

        .human-only__email__header {
            color: var(--text-accent);
            font-family: var(--serif);
            font-weight: normal;
            font-size: 2rem;
            margin: 0;
        }
    }
}

.human-only__close-button {
    display: block;
    margin-top: 2rem;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
}

/* Desktop navbar */

nav {
    position: fixed;
    z-index: 1;
    top: 1rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    padding: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    align-items: stretch;
    color: var(--text-accent);
    background-color: var(--transparent-background);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border 0.5s;

    &.nav--scrolled {
        border: 1px solid var(--border);
    }

    .navbar__left {
        .navbar__left__logo {
            font-size: 1.5rem;
            font-family: var(--serif);
            text-decoration: none;
            color: var(--text-accent);
        }
    }

    .navbar__right {
        display: flex;
        gap: 1rem;

        .navbar__item {
            color: var(--text-accent);
            text-decoration: none;
            padding: 0.125rem 0.5rem;
            border-radius: 6px;
            border: 1px solid transparent;
            transition: border 0.1s, color 0.1s;

            @media (max-width: 450px) {
                & {
                    display: none;
                }
            }

            &:hover {
                color: var(--text-accent-hover);
                border: 1px solid var(--text-accent);
            }

            &:active {
                background-color: var(--background-accent);
                border: 1px solid var(--text-accent-hover);
            }

            &.navbar__item--active {
                color: var(--on-background-accent);
                background-color: var(--background-accent);
                font-weight: bold;
            }
        }

        .navbar__mobile-toggle {
            display: none;
            position: relative;
            height: 100%;
            background-color: transparent;
            overflow: hidden;
            border: 1px solid transparent;
            border-radius: 12px;
            transition: background-color 0.2s;

            @media (max-width: 450px) {
                & {
                    display: block;
                }
            }

            .navbar__mobile-toggle__icon {
                width: 1.5rem;
                height: 1.5rem;
                color: var(--text-accent);
                transition: color 0.2s, transform 0.3s, filter 0.2s;
            }

            .navbar__mobile-toggle__menu {
                position: relative;
                transform: translate(0px, 0px);
                top: 1;
                filter: opacity(1);
            }

            .navbar__mobile-toggle__up {
                position: absolute;
                top: calc(50% - 0.75rem);
                right: calc(50% - 0.75rem);
                transform: translate(0px, -10px);
                filter: opacity(0);
            }

            &:active {
                border: 1px solid var(--border);

                .navbar__mobile-toggle__menu {
                    transform: translate(0px, -2px);
                }
            }

            &.navbar__mobile-toggle--open {
                background-color: var(--background-accent);

                .navbar__mobile-toggle__icon {
                    color: var(--on-background-accent);
                }

                .navbar__mobile-toggle__menu {
                    transform: translate(0px, 10px);
                    filter: opacity(0);
                }

                .navbar__mobile-toggle__up {
                    transition: color 0.2s,
                        transform 0.3s cubic-bezier(0, 1, 0.7, 1.5), filter 0.2s;
                    transform: translate(0px, 0px);
                    filter: opacity(1);
                }

                &:active {
                    .navbar__mobile-toggle__up {
                        transform: translate(0px, 2px);
                    }
                }
            }
        }
    }

    /* Hide margin and border on smaller screens */
    @media (max-width: 800px) {
        & {
            top: 0;
            left: 0;
            right: 0;
            border-radius: 0;
            border: none;
            padding: 1.125rem 2rem 1rem 2rem;
            margin: 0;
        }

        &.nav--scrolled {
            border: none;
        }
    }
}

.mobile-menu {
    display: flex;
    visibility: hidden;
    position: fixed;
    margin: 0 1.75rem 0 auto;
    top: 4rem;
    z-index: 2;

    width: 10rem;
    flex-direction: column;
    font-weight: bold;
    border-radius: 18px 9px 18px 18px;
    gap: 0.25rem;
    padding: 6px;
    background-color: var(--transparent-background);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s, clip-path 0.2s, transform 0.5s,
        visibility 0.2s allow-discrete;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
    transform: translate(0, -20px);

    &:popover-open {
        visibility: visible;
        transition: opacity 0.3s, clip-path 0.2s, transform 0.2s ease,
            visibility 0.2s allow-discrete;
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transform: translate(0, 0);
    }

    .mobile-menu__entry {
        display: flex;
        text-decoration: none;
        background-color: var(--background-accent);
        color: var(--on-background-accent);
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 12px 8px;
        justify-content: flex-start;
        border-radius: 3px;

        svg {
            width: 1.25rem;
            height: 1.25rem;
            justify-self: center;
        }

        &:first-child {
            border-radius: 12px 3px 3px 3px;
        }

        &:last-child {
            border-radius: 3px 3px 12px 12px;
        }
    }
}

/* Blog */

.blog-content {
    margin: 0 auto 0 auto;
    padding-bottom: 3rem;
    width: 100%;
    max-width: 42rem;

    .blog-content__article-hero {
        position: relative;
        left: -3px;
        width: calc(100% + 6px);
        border-radius: 12px 24px 12px 24px;
    }

    .blog-content__article-title {
        font-family: var(--serif);
        color: var(--text-accent);
        font-weight: normal;
    }

    .blog-content__article-text {
        h2,
        h3,
        h4 {
            font-family: var(--serif);
            color: var(--text-accent);
            margin: 1rem 0 0.5rem 0;
            padding: 0;
        }

        p {
            font-family: var(--sans);
            font-size: 1.25rem;
            letter-spacing: 0.5px;
        }
    }

    .blog-content__nav {
        display: flex;
        justify-content: space-between;
        width: calc(100% + 6px);
        position: relative;
        left: -3px;

        .blog-content__nav__item {
            display: flex;
            flex-direction: column;
            gap: 3px;
            padding: 12px 8px;
            text-decoration: none;
            width: 40%;
            white-space: nowrap;
            border: 1px solid transparent;
            transition: border 0.2s, background-color 0.1s;

            .blog-content__nav__title {
                color: var(--text-accent-hover);
                transition: color 0.2s;
            }

            .blog-content__nav__header {
                color: var(--text-accent);
                transition: color 0.2s;
            }

            &:hover {
                border: 1px solid var(--border);

                .blog-content__nav__title {
                    color: var(--text-primary);
                    transition: color 0.2s;
                }

                .blog-content__nav__header {
                    color: var(--text-accent-hover);
                    transition: color 0.2s;
                }
            }

            &:active {
                border: 1px solid var(--border);
                background-color: var(--background-accent);
            }
        }

        .blog-content__nav__prev {
            border-radius: 12px 3px 3px 12px;
        }

        .blog-content__nav__next {
            margin-left: auto;
            align-items: flex-end;
            border-radius: 3px 12px 12px 3px;
        }

        span {
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}

/** About page */

.about-page {
    width: 100%;
    max-width: 68rem;
    display: grid;
    grid-template-columns: max-content 3fr;
    margin: 0 auto 0 auto;
    position: relative;
    gap: 6rem;
    position: relative;

    .about-page__sidebar {
        position: sticky;
        align-self: self-start;
        top: 8rem;
        /* top: calc(50% - 10rem); */
        .about-page__sidebar__list {
            display: flex;
            flex-direction: column;
            align-items: end;
            justify-content: center;
            gap: 0.25rem;
            font-size: 1.5rem;
            color: var(--text-accent);
            font-family: var(--serif);
            list-style: none;
            margin: 0.5rem 0 0 0;

            .about-page__sidebar__separator {
                width: 1px;
                height: 2rem;
                background-color: var(--text-accent);
            }

            .about-page__sidebar__listitem {
                position: relative;
                padding-right: 1.5rem;
                transition: color 0.2s;
                &::after {
                    content: "";
                    position: absolute;
                    right: -3px;
                    top: calc(50% - 3px);
                    width: 8px;
                    height: 8px;
                    background-color: var(--text-accent);
                    border-radius: 50%;
                }

                &:hover {
                    color: var(--text-accent-hover);
                }

                &[data-toc-active] {
                    color: var(--text-primary);

                    &::after {
                        background-color: var(--text-primary);
                    }
                }

                a {
                    text-decoration: none;
                    color: inherit;
                }
            }
        }
    }

    .about-page__content {
        grid-column: 2;
    }

    .about-page__content__hi {
        display: flex;
        align-items: near;
        justify-content: center;
        flex-direction: column;
        scroll-margin-top: 6rem;
    }

    .about-page__content__hi__header {
        font-family: var(--serif);
        font-size: 6vw;
        white-space: nowrap;
        line-height: 1;
        letter-spacing: 1px;
        font-weight: normal;
        margin-bottom: 2rem;

        .about-page__content__hi__header__emphasis {
            color: var(--background-accent);
        }
    }

    .about-page__content__hi__mission {
        font-family: var(--serif);
        font-size: 2.5rem;
        line-height: 1.5;
        font-weight: normal;
    }

    .about-page__content__skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;

        .about-page__content__skills__col {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;

            .about-page__content__skills__card {
                border: 1px solid var(--border);
                border-radius: 6px;
                padding: 1rem 1.5rem;

                .about-page__content__skills__card__header {
                    display: flex;
                    gap: 0.5rem;
                    align-items: center;
                    margin: 0 auto 0.5rem auto;
                    position: relative;
                    font-weight: normal;
                    font-family: var(--serif);
                    font-size: 1.5rem;
                    color: var(--text-accent);

                    .about-page__content__skills__card__header__logo {
                        width: 1rem;
                    }
                }

                .about-page__content__skills__card__list {
                    margin: 0 0 0.25rem 0;
                    display: flex;
                    flex-direction: column;
                    gap: 0.25rem;
                    letter-spacing: 0.5px;
                    padding: 0 0 0 1.25rem;
                }
            }
        }

        @media (max-width: 600px) {
            grid-template-columns: 1fr;
        }
    }

    .about-page__content__header {
        font-family: var(--serif);
        font-weight: normal;
        font-size: 2rem;
        color: var(--text-accent);
        margin: 4rem 0 1rem 0;
        scroll-margin-top: 6rem;
    }

    .about-page__content__next-steps-header {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 100%;
        margin-bottom: 2rem;
    }

    .about-page__content__next-steps__buttons {
        width: 100%;
        display: flex;
        gap: 2rem;
        align-items: stretch;
        justify-content: center;
        margin-bottom: 40vh;
    }

    @media (max-width: 1200px) {
        .about-page__content__hi__header {
            font-size: 4rem;
        }

        .about-page__content__hi__mission {
            font-size: 2rem;
        }
    }

    @media (max-width: 900px) {
        grid-template-columns: 1fr;
        .about-page__sidebar {
            display: none;
        }
        .about-page__content {
            grid-column: 1;
        }
    }

    @media (max-width: 600px) {
        .about-page__content__hi__header {
            font-size: 9vw;
            white-space: nowrap;
            margin-bottom: 1rem;
        }

        .about-page__content__hi__mission {
            font-size: 7vw;
        }
    }
}

/** Blog browser */

.blog-page {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;

    .blog-page--title {
        font-family: var(--serif);
        color: var(--text-accent);
        font-weight: normal;
        margin: 0 0 2rem 0;
    }

    .blog-browser {
        display: flex;
        gap: 0.5rem;
        flex-direction: column;
        width: 100%;

        .blog-entry {
            display: grid;
            grid-template-columns: 8rem 1fr auto;
            text-decoration: none;
            gap: 1rem;
            width: calc(100% + 6px);
            position: relative;
            left: -3px;
            padding: 0.5rem;
            border-radius: 6px;
            transition: border 0.2s, box-shadow 0.2s;
            border: 0.5px solid var(--border);
            box-shadow: none;
            box-sizing: border-box;

            .blog-entry__hero {
                width: 100%;
                height: 100%;
                border-radius: 3px;
                object-fit: cover;
            }

            .blog-entry--details--title {
                font-family: var(--serif);
                margin-bottom: 0.5rem;
                color: var(--text-primary);
                transition: color 0.2s;
            }

            .blog-entry--details--published {
                font-size: 0.75rem;
                margin-bottom: 0.5rem;
                color: var(--text-accent);
                transition: color 0.2s;
            }

            .blog-entry--icon-container {
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;

                svg {
                    position: relative;
                    left: 0;
                    width: 1rem;
                    height: 1rem;
                    color: var(--text-accent);
                    transition: color 0.2s;
                }
            }

            &:first-child {
                border-radius: 12px 12px 6px 6px;
                .blog-entry__hero {
                    border-radius: 6px 6px 3px 3px;
                }
            }

            &:last-child {
                border-radius: 6px 6px 12px 12px;
                .blog-entry__hero {
                    border-radius: 3px 3px 6px 6px;
                }
            }

            &:hover {
                box-shadow: 0px 10px 20px 0px rgba(146, 16, 158, 0.233),
                    inset 0px 6px 19px 0px rgb(238 209 241 / 13%);

                .blog-entry--details--title {
                    color: var(--text-accent-hover);
                }

                border: 0.5px solid var(--border);
                border-top: 0.5px solid var(--border-highlight);
                border-bottom: 0.5px solid var(--border);

                .blog-entry--icon-container svg {
                    color: var(--text-accent-hover);
                }
            }

            &:active {
                box-shadow: 0px 2px 10px 0px rgba(68, 8, 73, 0.274),
                    inset 0px 3px 10px 0px rgb(238 209 241 / 13%);
            }

            @media (max-width: 500px) {
                grid-template-columns: 4rem 5fr auto;
            }
        }
    }
}

/** Home page */

html:has(.home-wrapper) {
    &,
    body,
    .page-content {
        height: 100%;
        box-sizing: border-box;
    }
}

.home-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100% - 6rem);

    .home {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4rem;

        .home__title {
            font-family: var(--serif);
            font-weight: normal;
            font-size: 2rem;
            margin: 0;

            .home__title__name {
                color: var(--text-primary);
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    bottom: -1rem;
                    left: 0;
                    right: 0;
                    height: 1px;
                }
            }

            .home__title__separator {
                color: var(--border);
            }

            .home__title__tagline {
                color: var(--text-accent);
            }

            @media (max-width: 500px) {
                font-size: 1.5rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 2rem;

                .home__title__separator {
                    display: none;
                }

                .home__title__name::after {
                    background-color: var(--border);
                }
            }
        }

        .home__links {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 0.5rem;

            .home__links__item {
                text-decoration: none;
                cursor: pointer;
                color: var(--text-accent);
                border: 1px solid var(--border);
                padding: 1rem 2rem;
                border-radius: 3px;
                background-color: transparent;
                font-size: 1.25rem;
                font-family: var(--sans);
                text-align: center;
                transition: color 0.2s, box-shadow 0.2s, border 0.2s,
                    border-top 0.2s, border-bottom 0.2s;

                &:first-child {
                    border-radius: 12px 12px 3px 3px;
                }

                &:last-child {
                    border-radius: 3px 3px 12px 12px;
                }

                &:hover {
                    box-shadow: 0px 10px 20px 0px rgba(146, 16, 158, 0.233),
                        inset 0px 6px 19px 0px rgb(238 209 241 / 13%);
                    color: var(--text-accent-hover);
                    border-top: 1px solid var(--border-highlight);
                    border-bottom: 1px solid var(--border);
                }

                &:active {
                    box-shadow: 0px 2px 10px 0px rgba(68, 8, 73, 0.274),
                        inset 0px 3px 10px 0px rgb(238 209 241 / 13%);
                    color: var(--text-accent-hover);
                    border-top: 1px solid var(--border-highlight);
                    border-bottom: 1px solid var(--border);
                }
            }
        }
    }
}
