:root {
    --custom-spoiler-title-color: #f6f2eb;
    --custom-spoiler-hover: #ebe5db;
    --custom-spoiler-content-color: #eeeae4;
}


.custom-spoiler {
    border: 1px solid #bbb;
    margin-bottom: 5px;
    border-radius: 7px;
}

.custom-spoiler-title {
    background: var(--custom-spoiler-title-color);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-family: Lemon milk;
}

.custom-spoiler-title:hover {
    background: var(--custom-spoiler-hover);
}

.custom-spoiler-button {
    color: white;
    border-radius: 16px!important;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    padding: 8px;
    cursor: pointer;
    font-weight: bolder;
}

.spoiler-button-open {
    background-color: var(--primary-color);
}

.spoiler-button-open:hover {
    background-color: var(--primary-hover);
}

.spoiler-button-close {
    background-color: var(--primary-disabled);
}

.spoiler-button-close:hover {
    background-color: var(--primary-color);
}

.custom-spoiler-title-text {
    color: black;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    padding-left: 0.5rem;
    letter-spacing: 2px;
}

.custom-spoiler-content {
    background: var(--custom-spoiler-content-color);
    border-radius: 5px 5px 0px 0px;
    border: 1px solid white;
    justify-content: center;
    padding: 10px;
    margin: auto;
}

.custom-spoiler-hide-button-container {
    display: flex;
    justify-content: center;
}
