.card-list__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-list__header > div:nth-child(1) p {
    padding-bottom: 0.5rem;
    font-weight: 200;
}

.card-list__header form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.card-list__card-list-next {
    width: 100%;
    max-width: 8.5rem;
    height: 12rem;
    margin: 0.6rem 0.5rem 0.5rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed var(--white-1);
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s ease;
}

.card-list__card-list-next p {
    opacity: 0;
}

.card-list__card-list-next:hover,
.card-list__card-list-next:hover p {
    opacity: 1;
}

.card-list__prev-button,
.card-list__next-button {
    cursor: pointer;
    position: fixed;
    height: calc(100vh - (5rem + 4rem));
    width: calc(5% - 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    transition: all 0.2s ease;
    opacity: 0.4;
}

.card-list__prev-button:hover,
.card-list__next-button:hover {
    opacity: 1;
}

.card-list__prev-button {
    bottom: 4rem;
    left: 0;
    border-right: 1px solid var(--white-1);
}

.card-list__next-button {
    bottom: 4rem;
    right: 0;
    border-left: 1px solid var(--white-1);
}

.card-list__prev-button p,
.card-list__next-button p {
    user-select: none;
    color: var(--white-1);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

.card-list__prev-button p {
    transform: rotate(180deg);
}
