header.desktop {
    display: flex;
    position: relative;
    width: 100%;
    height: 80px;
    align-items: center;
    justify-content: right;

    ul {
        display: flex;
        margin-right: 35px;
        column-gap: 20px;
        font-size: 14px;
    }
}

header.mobile {
    display: none;
    height: 40px;

    h1 {
        top: 15px;
        line-height: 40px;
        left: 25px;
        font-size: clamp(12px, 2vw, 16px);
    }

    .icon {
        position: absolute;
        right: 0px;
        top: 0px;
        line-height: 40px;
        cursor: pointer;
        user-select: none;
    }

    .icon.bars {
        font-size: 40px;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .icon.x {
        font-size: 25px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 15px;
        padding-right: 15px;
    }

    aside {
        position: fixed;
        height: 100%;
        height: fit-content;
        top: -5px;
        right: 0;
        left: 0;
        margin: 10px;
        padding-top: 40px;
        padding-bottom: 20px;
        visibility: hidden;
        opacity: 0;
        z-index: 1;
        background-color: var(--tertiary-background-color);
        border-radius: 5px;
        box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.699);
        text-align: center;
        transition: visibility 0.05s, opacity 0.05s, top 0.1s;

        ul {
            display: flex;
            flex-direction: column;
            align-items: center;
            row-gap: 10px;

            li {
                width: 90%;
                height: 40px;
                font-size: 15px;
                line-height: 40px;
                text-align: left;
                border-bottom: 1px solid var(--tertiary-text-color);

                a {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}

@media screen and (width < 1045px) {
    header.desktop {
        display: none;
    }

    header.mobile {
        display: block;
    }
}