body {
    min-height: 90vh;
    padding: 0;
    margin: 0;
    font-family: Onest, Sans-serif;
    font-size: 1rem;
    /* 18px */
    line-height: 1.6;
    /* Optimal for readability */
}

html {
    font-size: 112.5%;
    /* Adjusts the base font size to 18px assuming the default is 16px */
}

h1 {
    font-family: Onest, sans-serif;
    font-weight: 700 !important;
    font-size: 60px !important;
    line-height: 1.2 !important;
    text-align: center;
    margin: 0;
    margin-top: 130px;
}

h2 {
    font-family: Onest, sans-serif;
    font-weight: 700 !important;
    font-size: 44px !important;
    line-height: 1.3 !important;
    text-align: center;
    margin: 0;
}

h3 {
    font-family: Onest, sans-serif;
    font-weight: 700 !important;
    font-size: 28px !important;
    line-height: 1.35 !important;
    margin: 0;
}


@media (max-width: 1024px) {
    h1 {
        font-size: 1.666rem !important;
    }

    h2 {
        font-size: 1.333rem !important;
    }

    h3 {
        font-size: 1.111rem !important;
    }

    h4 {
        font-size: 1rem !important;
    }

    body {
        font-size: 0.944rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.666rem !important;
    }

    h2 {
        font-size: 1.333rem !important;
    }

    h3 {
        font-size: 1.111rem !important;
    }

    h4 {
        font-size: 1rem !important;
    }

    body {
        font-size: 0.944rem;
    }
}

.logo-text {
    color: #ffffff;
    font-size: 40px;
}

.margin-center {
    margin: 0 auto;
}

.justify-center {
    display: flex;
    justify-content: center;
}

.all-content {
    max-width: 1600px;
    margin: 0 auto;
}

.all-container {
    min-height: 100px;
    width: 100%;
    max-width: 1400px;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.align-center {
    display: flex;
    align-items: center;
}

.width-100 {
    width: 100%;
    max-width: 1400px;
}

.font-Onest {
    font-family: Onest, sans-serif;
}

.color-white {
    color: #ffffff;
}

.bold-16 {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.header-p-16 {
    max-width: 700px;
    width: 100%;
    margin: 32px 0 36px 0 !important;
}

.bold-28 {
    font-weight: 700;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
}

.header {
    width: 100%;
    min-height: 1000px;
    background-image: url('/empation/img/theme/home-header-back.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.logo-block {
    margin-bottom: 50px;
    position: relative;
    padding-top: 20px;
    height: 286px;
    width: 300px;
    background-color: #ffffff38;
    border-radius: 0 0 35px 35px;
}

.log-in-area {
    text-align: center;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 70px);
    font-family: Onest, sans-serif;
    font-size: 16px;
    width: 150px;
    font-weight: 700;
    border: 0;
    color: #ffffff;
    background-color: #f52e59;
    border-radius: 20px;
    padding: 8px;
    text-align: center;
    margin: 0px;
}

.log-in-area .media-body span {
    color: #ffffff;
}

.log-in-area:hover .media-body span {
    color: #f52e59 !important;
}

.log-in-area a {
    color: #000000;
}

.media-body {
    align-items: center;
    display: flex !important;
    justify-content: center;
    margin-left: 0;
}

ul {
    list-style-type: none;
}

#logo-block-login {
    display: none;
    position: absolute;
    padding-top: 20px;
    height: 410px;
    width: 300px;
    background-color: #ffffff;
    border-radius: 0 0 35px 35px;
}

.email-bar,
.password-bar {
    margin: 10px 0 0 0;
    width: 282px;
    height: 41px;
    border: 1px solid #b3b3b3;
    border-radius: 20px;
}

.email-bar::placeholder,
.password-bar::placeholder {
    text-align: center;
    color: #b3b3b3;
}

#log-in {
    margin-top: 20px;
    left: calc(50% - 70px);
    font-family: Onest, sans-serif;
    font-size: 16px;
    width: 140px;
    height: 40px;
    font-weight: 700;
    border: 0;
    color: #ffffff;
    background-color: #f52e59;
    border-radius: 10px;
}

.links-block {
    width: 268px;
    margin: 26px 0 39px 0;
    display: flex;
    justify-content: space-between;
}

.header-arrow {
    margin-top: 44px;
    animation: jumpInfinite 1.5s infinite;
}

.search-bar {
    padding-left: 23px;
    padding-right: 25px;
    margin: 60px 0 60px 0;
    height: 41px;
    width: 301px;
    border: 1px solid #b3b3b3;
    border-radius: 20px;
}

.search-bar::placeholder {
    text-align: center;
    color: #b3b3b3;
}

.category-list {
    max-width: 533px;
    width: 100%;
    margin: 48px 0 95px 0;
    display: flex;
    justify-content: center;
}

.category-font {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    border: none;
}

.category-font:focus-visible {
    outline: none;
}

.all-books-responsive-margin {
    margin: 0 40px;
    margin-bottom: 40px;
}

.recent-label {
    max-width: 354px;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: #28ce53;
    border-radius: 20px 20px 0 0;
}

@media (max-width: 767px) {
    .header {
        min-height: 900px;
    }

    .recent-label {
        max-width: 250px;
        height: 47px;
    }

    .bold-28 {
        font-size: 1rem;
    }

    .recent-label .btn {
        margin-bottom: 0;
        border-radius: 0 20px 0 0;
        margin-right: 0;
    }
}

#recent-load-more-books {
    margin-top: 50px;
    max-width: 432px;
    width: 100%;
    height: 52px;
    color: #ffffff;
    background-color: #2693d8;
    border-radius: 10px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.favorites-label {
    margin-top: 150px;
    max-width: 354px;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: #53459c;
    border-radius: 20px 20px 0 0;
}

.recommended-label {
    margin-top: 150px;
    max-width: 354px;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: #e22c29;
    border-radius: 20px 20px 0 0;
}

.books-container {
    min-height: 529px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 60px;
    column-gap: 50px;
}

@media (min-width: 1025px) {
    .book {
        border-radius: 20px;
    }

    .books-container-recommended .description-book {
        border-radius: 0 0;
    }
}

@media (max-width: 1024px) {
    .logo-block {
        margin-bottom: 80px;
    }

    .books-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .all-books-responsive-margin {
        margin: 0 25px;
    }

}

.books-container-recommended {
    margin-bottom: -90px;
}

.book {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 433px;
    width: 100%;
}


.image-book {
    aspect-ratio: 433 / 397;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.description-book {
    height: 100%;
    min-height: 132px;
    padding: 14px 45px 23px 45px;
    color: #ffffff;
    background-color: #ffffff10;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.description-book p {
    margin-top: 8px;
    color: #cacaca;
}

footer {
    width: 100%;
}

.footer-red-block {
    height: 319px;
    background-color: #e22c29;
}

.footer-black-block {
    min-height: 346px;
    margin-bottom: 90px;
    background-color: #40397c;
}

.vert-space-between {
    background-color: #ffffff;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-links-rectangle {
    font-size: 16px;
    width: 354px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #ffffff;
    background-color: #f52e59;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.footer-social-media ul,
.links-block ul {
    list-style: none;
    /* Removes the default list styling */
    padding: 0;
    /* Removes the default padding */
    margin: 0;
    /* Removes the default margin */
}

.footer-social-media li,
.links-block li {
    display: inline-block;
    /* Aligns the list items in a row */
    margin-right: 10px;
    /* Adds space to the right of each list item */
}

/* Optional: Remove margin from the last item for consistent spacing */
.footer-social-media li:last-child,
.links-block li:last-child {
    margin-right: 0;
}

@media (max-width: 767px) {
    .footer-links-rectangle {
        width: 254px;
    }
}

.footer-links-arrow {
    width: 15px;
    height: 18px;
}

.footer-links {
    margin-top: -60px;
    color: #ffffff;
}

.footer-links-arrow {
    margin: 32px 0 23px 0;
}

.contact-link-8-8 {
    margin: 8px 0 8px 0;
}

.footer-social-media {
    margin-bottom: 29px;
    margin-top: 29px;
    width: 158px;
    display: flex;
    justify-content: center;
    /* Centers the content horizontally */
    align-items: center;
    /* Centers the content vertically (if needed) */
}

.copyright-rectangle {
    font-size: 16px;
    width: 354px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: #f52e59;
    border-radius: 0 0 20px 20px;
    margin-bottom: -50px;
}

.align-end {
    text-align: end;
}

.sh-left {
    position: absolute;
    bottom: -98px;
    right: 0;
}

.sh-middle {
    position: absolute;
    bottom: -98px;
    right: -16px;
}

.sh-right {
    position: absolute;
    bottom: -98px;
    left: 0;
}

@media (max-width: 1480px) {

    .sh-left,
    .sh-middle,
    .sh-right {
        display: none;
    }

}

.all-books-responsive-margin h2 {
    margin: -10px 0 3px 0;
}

.description-book h3 {
    color: #fff;
}

@keyframes jumpInfinite {
    0% {
        margin-top: 44px;
    }

    50% {
        margin-top: 64px;
    }

    100% {
        margin-top: 44px;
    }
}

.media-body.ml-2.d-lg-block {
    height: 23px;
    overflow: hidden;
}

.phone_icone {
    width: 25px;
}

.buttn_call {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #28ce53;
    border-radius: 10px;
    cursor: pointer;
}

.category-font {
    font-family: 'Montserrat', 'semi-bold';
    border-radius: 10px;
    font-weight: 500;
    background-color: #ffffff;
    padding: 3px 35px 3px 20px;
}

.size-33 {
    font-size: 33px;
    line-height: 33px;
    text-align: center;
}

.size-22 {
    font-size: 22px;
    line-height: 33px;
    text-align: center;
}

.user_profile_svg {
    height: 70px;
}

.svg_user_background {
    margin-top: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 135px;
    min-height: 130px !important;
    background-color: #f52e59;
    border-radius: 150px;
}

.bold {
    font-weight: 700;
}

.submit_butn {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 10px;
    padding-bottom: 7px;
    font-weight: 800;
    color: #ffffff !important;
    background-color: #f52e59 !important;
}

.submit_butn:hover {
    color: #f52e59 !important;
}

.text_theme_color {
    color: #f52e59 !important;
}

@font-face {
    font-family: 'Arialroundedmtbold';
    src: url('/font/arialroundedmtbold') format('ttf');
}

@font-face {
    font-family: 'MontserratSemiBoldItalic';
    src: url('/font/MontserratSemiBoldItalic') format('ttf');
}

.text_logo {
    padding-top: 20px;
    margin-bottom: 21px;
    font-family: "Arialroundedmtbold", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 32px;
    font-style: normal;
}

.text_logo b {
    font-weight: 700;
    font-size: 42px;
}

.red_footer_block {
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding-top: 110px;
    margin-top: 150px;
    height: 320px;
    background-color: #e22c29 !important;
}

.red_footer_block_active {
    margin-top: -110px;
}

.book-last-elements:nth-last-child(-n + 3) {
    box-shadow: none !important;
}

.book-last-elements:nth-last-child(-n + 3) .description-book {
    border-radius: 0;
}

.red_footer_block img {
    width: calc(100% / 3);
}

.red_footer_block .right_shadow {
    margin-left: -30px;
    width: 552px;
}

.red_footer_block .center_shadow {
    margin-right: 60px;
    margin-left: 60px;
    width: 473px;
}

.red_footer_block .left_shadow {
    margin-right: -30px;
    width: 552px;
}

@media only screen and (max-width: 1500px) {
    .red_footer_block .right_shadow {
        margin-left: -30px;
        margin-right: -150px;
        width: 36.7%;
    }

    .red_footer_block .center_shadow {
        margin-right: 63px;
        margin-left: 63px;
        width: 31.2%;
    }

    .red_footer_block .left_shadow {
        margin-left: -150px;
        margin-right: -30px;
        width: 36.7%;
    }
}

.load_more_butn {
    margin-top: 20px;
    margin-bottom: 40px;
    min-height: 52px;
    max-width: 430px;
    width: 100%;
}

@media only screen and (max-width: 1024px) {
    .red_footer_block .right_shadow {
        display: none;
    }

    #header_arrow_block {
        margin-bottom: 50px;
    }

    .red_footer_block .center_shadow {
        margin-right: 0;
        margin-left: 0;
        width: 100%;
        max-width: 473px;
    }

    .red_footer_block .left_shadow {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .load_more_butn {
        margin-left: 35px;
        margin-right: 35px;
    }

    .book_description {
        padding-left: 35px !important;
        padding-right: 35px !important;
    }

    .title_book_description_block {
        padding-left: 35px !important;
        padding-right: 35px !important;
    }

    .red_footer_block .center_shadow {
        padding-right: 10px;
        padding-left: 10px;
    }
}



#book-pages-label {
    margin-top: 40px;
    margin-bottom: 50px;
    cursor: pointer;
    background-image: url('/empation/img/theme/go_back_arrow_white.png');
    background-repeat: no-repeat;
    background-position: 25px center;
    border-radius: 15px;
    color: #ffffff;
    background-color: #f52e59;
    font-size: 18px;
    height: 52px;
    max-width: 430px;
    width: 100%;
}

#book-pages-label:hover {
    color: #f52e59;
    background-image: url('/empation/img/theme/go_back_arrow_pink.png');
    background-color: #ffffff;
}

.login_access {
    padding-top: 19px;
    padding-left: 70px;
    padding-right: 70px;
    margin-bottom: 50px;
    margin-top: 20px;
    height: 60px;
    border-radius: 25px;
}

.book_description_block {
    margin-bottom: 50px;
    width: 100%;
    padding-bottom: 53px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #ffffff;
}

.title_book_description_block {
    border-bottom: #aeaeae solid 1px;
    color: #000;
    font-size: 38px;
    font-weight: 800;
    padding-top: 82px;
    padding-bottom: 70px;
    padding-left: 70px;
    padding-right: 70px;
    text-align: center;
}

.book_description b {
    font-weight: 800;
}

.book_description p {
    margin-bottom: 2px;
}

.book_description {
    color: #000;
    padding-top: 40px;
    padding-left: 75px;
    padding-right: 75px;
}

.book_description .col-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-auth {
    background-image: url('/empation/img/theme/auth-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.custom-checkbox input,
label {
    left: calc(50% - 52px);
    color: #ffffff;
}

#header_arrow_block {
    min-height: 100px
}

.logo-block a:hover {
    color: #ffffff;
}

.footer-black-block a:hover {
    color: #f52e59 !important;
}

.fw-bold {
    font-weight: 800 !important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    border-color: #f52e59;
    background-color: #f52e59;
}

.register_left {
    left: calc(50% - 114px);
}

.dropdown-menu {
    top: 15px !important;
    left: -45px !important;
}

.dropdown-menu a:hover {
    color: #f52e59 !important;
}

.gslide-desc {
    padding-bottom: 35px;
}

.title_form {
    margin-top: 70px;
    margin-bottom: 10px;
}

label.form-control-label {
    margin-bottom: 20px;
}

.load_more_book_block {
    margin-bottom: 80px;
}

.font_title {
    margin-top: 220px;
}

.foter_lang_block {
    display: flex;
    justify-content: space-between;
    width: 170px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 20px;
}

.foter_lang_block img {
    border-radius: 100px;
    border: solid 1px #ddd4d4;
}

.first_footer_image {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 433px;
    width: 100%;
    height: 143px;
    position: absolute;
    top: 80px;
    background-image: url('/empation/img/theme/logo_white.webp');
    background-repeat: no-repeat;
    background-position: center;
}

.footer_images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.footer_text {
    margin-top: 165px;
    line-height: 26px;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    font-style: italic;
    font-family: 'MontserratSemiBoldItalic', sans-serif;
    width: 170px;
    text-align: center;
}

.second_footer_image {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 433px;
    width: 100%;
    height: 210px;
    position: absolute;
    top: 80px;
    background-image: url('/empation/img/theme/dialog_cloud.webp');
    background-repeat: no-repeat;
    background-position: center;
}

.second_footer_text {
    padding-top: 10px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 26px;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    font-style: italic;
    font-family: 'MontserratSemiBoldItalic', sans-serif;
    width: 185px;
    text-align: center;
}

.video-container video {
    position: fixed;
    top: 5px;
    left: 5px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    z-index: 1000000;
}

@media only screen and (max-width: 768px) {
    .header {
        margin-top: 20px !important;
        overflow: hidden;
    }

    .video-container video {
        position: fixed;
        top: calc(100vw - 100px);
        left: calc((100% - 100px) / 2);
        width: 100px;
        height: 100px;
        border-radius: 50px;
        z-index: 1000000;
    }

    .main-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .first_footer_image {
        position: relative;
        width: 100%;
        max-width: 768px;
    }

    .footer_images {
        display: block;
        background-color: #40397c;
    }

    .footer-black-block {
        padding-top: 250px;
    }

    .footer-links-rectangle {
        width: 100%;
    }

    .category-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .category-ages {
        margin-top: 15px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 1000px) {
    .second_footer_image {
        display: none;
    }
}

.navbar-toggler {
    display: none;
}

.category-ages {
    margin-left: 25px;
    margin-right: 25px;
    appearance: none;
    background-image: url("/empation/img/theme/angle-down.svg");
    background-repeat: no-repeat;
    background-position: right 15px top 45%;
    background-size: 0.65rem auto;
}

.backdrop {
    z-index: -1;
}

#load_more_book {
    border-radius: 20px;
}

.btn:hover {
    background-color: #ffffff !important;
    color: #f52e59 !important;
    transition: 0.5s;
}

.log-in-area:hover {
    background-color: #ffffff !important;
    color: #f52e59 !important;
    transition: 0.5s;
}

#audio_panel {
    max-width: 1600px;
}

#soundVolumeButtn {
    margin-top: 17px;
    background-color: #ffffff;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    background-image: url("/empation/img/icons/common/volume-low.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

#soudBlock {
    position: sticky;
    overflow: visible;
}

#volume-slider {
    position: absolute;
    left: -38px;
    top: 135px;
    transform: rotate(90deg);
}

.mute {
    transition: 0.5s;
    position: fixed;
    z-index: 9999999999;
    top: 20px;
    left: 125px;
    border: none;
    background-color: #ffffff;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    background-image: url("/empation/img/icons/common/microphone.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}


.mute-video {
    transition: 0.8s;
    z-index: 9999999999;
    position: fixed;
    top: 80px;
    left: 115px;
    border: none;
    background-color: #ffffff;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    background-image: url("/empation/img/icons/common/video.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.end-call {
    transition: 1s;
    position: fixed;
    top: 115px;
    left: 62px;
    z-index: 999999999;
    border: none;
    background-color: #df3434;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    background-image: url("/empation/img/icons/common/phone.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.container_start_call{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #0000007a;
}
.my-loader {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f52e59;
    position: relative;
    display: block;
  }
  .my-loader:before,
  .my-loader:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    background: #fff;
    transform: rotate(0deg) translate(30px);
    animation: rotate 1s ease infinite;
  }
  .my-loader:after {
    animation-delay: 0.5s
  }
  @keyframes rotate {
    100% {transform: rotate(360deg) translate(30px)
  }
  }
