.footer {
    font-size: 12px;
    margin-top: 200px;
    padding-top: 8px;
    text-align: center;
    color: var(--color-inactive);
    height: 230px;
}

.footer-line {
    border-top: 1px solid var(--color-content-transparent);
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer a,
.footer-button {
    text-decoration: none;
    color: var(--color-inactive)!important;

    flex: 1; /* Makes each element take equal width */
    text-align: center; /* Ensures text inside the links or buttons are centered */
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-margin {
    margin-right: 6px;
    margin-left: 6px;
}

.footer-button {
	background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.chapter-button {
    margin-top: 50px;
    width: fit-content;
    padding: 10px;
    border: 1px solid var(--color-accent);
    cursor: pointer;
    text-decoration: none;
    color: var(--color-content);
    border-radius: 5px;
    display: inline-block;
    position: relative;
}

.chapter-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.chapter-left {
    justify-self: start;
    margin-left: 10px;
}

.chapter-right {
    justify-self: end;
    margin-right: 10px;
}

/* .chapter-button::after {
    content: "";
    position: absolute;
    right: 10px;
    width: 20px;
    height: 19px;
    background-image: url("../static/expand_dark.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(90deg);
} */

.chapter-button:hover {
    background-color: var(--color-secondary);
}

/* .chapter-right::after {
    right: 10px;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.chapter-left::after {
    left: 10px;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
} */