@import url('../../main.css');

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--fixed-height, 100lvh);
    z-index: -1;
    background-image:unset !important;
    background-color: rgb(7, 18, 32);
    will-change: transform;
}

:root{
    --primary-text-color:#e9e9e9;
    --font-size-baze:18px;
    --block-padding:5px;
    --text-intend:0.875em;
}

main {
    max-width: unset !important;
    flex: 1;
    gap: clamp(10px, 1.95vw, 30px);
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.chapter-container{
    width: 73%;
    font-size: var(--font-size-baze);
    max-width: 1440px;
}

.main-title{
    font-size: 1.4em;
    padding: 0 20px;
    margin-bottom: 16px;
    line-height: 1.3;
    color:var(--primary-text-color);
    text-align: center;
}

.chapter-content h3{
    padding-top: 18px;
    padding-bottom: 10px;
    font-size: 1.475em;
    line-height: 1.3;
    color:var(--primary-text-color);
}

.chapter-content p{
    font-size: 1em;
    padding-block:var(--block-padding);
    text-indent: var(--text-intend);
    color:var(--primary-text-color);
    line-height: 1.6;
}

.chapter-content strong{
    font-weight: 400;
    font-family: 'Vag-Bold';
}

.chapter-content .custom-hr{
    text-align: center;
}



.chapter-content img{
    max-width: 100%;
    border-radius: var(--fs-border-radius);
    margin-left: calc((-1)*var(--text-intend));
    max-height: 95vh;
    justify-self: center;
    display: flex;
}


.chapters-controls {
    display: flex;
    gap: var(--fs-gap20);
    width: 100%;
    justify-content: center;
    margin-top: var(--fs-gap20);
}

.chapters-controls.mobile {
    display: none;
}

@media (max-width:768px) {
    :root{
    --font-size-baze:16px;
    }
    .chapter-container{
        width: 95%;
    }

    .chapter-content img{
        margin-left: unset;
    }

    .chapters-controls {
        display: none;
    }

    .chapters-controls.mobile {
        display: flex;
        margin-block: var(--fs-gap20);
    }

    .chapters-controls.mobile button {
        padding: clamp(1px, 1.335vw, 100px);
    }
}