:root {
    --darkblue: #183753;
    --darkOrange: #c4663a;
    --grey: rgb(88, 88, 88);
    --white: rgb(255, 255, 2555);
    --skyblue: #c5e9f1;
    --lightGrey: rgb(221, 221, 221);
    --bgcolor: #436b75;
}

@font-face {
    font-family: "DM Serif Display"; /* Use correct font name */
    src: url("../webfonts/DMSerifDisplay-Regular.ttf") format("ttf");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Serif Display";
}
body {
    background-color: transparent;
    /* overflow: hidden; */
}

.container {
    max-width: 80%;
}
header {
    align-items: center;
    /* background-color: black; */
    color: white;
    position: fixed;
    left: 0;
    top: 20px;
    width: 100%;
    z-index: 999;
}
.logo h1 {
    font-size: 24px;
}
footer {
    align-items: center;
    /* background-color: black; */
    color: white;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 999;
}
footer h6 {
    text-align: center;
    height: 40px;
}
.main_menu {
    text-align: right;
    position: relative;
    /* border: solid 1px white; */
    transition: all 1s ease-in-out;
}
.menu_hover_properties {
    right: 0px !important;
    opacity: 1 !important;
}
.menu {
    border: solid 1px white;
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    width: 220px;
    right: -280px;
    opacity: 0;
    top: 40px;
    transition: all 0.4s ease-in-out;
    background: #151e25;
    font-size: 20px;
}
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu ul li {
    text-align: left;
    margin-left: 5px;
}
.menu ul li > a {
    text-decoration: none;
    color: white;
    display: block;
    margin: 18px 0px;
}
.menu ul li span {
    background-color: white;
    width: 20px;
    height: 20px;
    line-height: 14px;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
    margin-right: 4px;
}
.menu li:nth-child(4) {
    font-size: 26px;
}
li.runing_button {
    background-color: #1f2d38;
    padding: 2px 4px;
    border-radius: 10px;
    margin-top: 30px;
}
.runing_button marquee a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.menu ul li span a {
    color: #151e25;
    font-size: 12px;
}
header h1 {
    text-align: left;
}
header h1 a {
    color: white;
    text-decoration: none;
}
.main_menu img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.page_1_video_section {
    width: 100%;
    height: auto;
}
.page_1_video_section {
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
}

.page_1_video_section h2 {
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.indexPage_video_container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.video-container video,
.indexPage_video_container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container::after,
.indexPage_video_container::after {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
}
.video-container .content,
.indexPage_video_container .content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 20px;
    /* top: 50%; */
}

.video-container .content h1,
.indexPage_video_container .content h1 {
    margin-top: 70px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-size: 28px;
    word-spacing: 4px;
}

.buy_book_cover {
    width: 18vw;
    height: auto;
    text-align: center;
    float: right;
    margin-right: 30px;
}
.about_image {
    width: 25vw;
    height: auto;

    /* border: solid 1px white; */
}
.about_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about_para {
    text-align: left;
    font-size: 2vw;
}
.buy_book_cover img {
    width: 100%;
    height: 100%;
}

.display_books {
    margin-top: 80px;
    display: flex;
    /* border: solid 1px red; */
    justify-content: center;
}
.front_page_books {
    margin: 0px 40px;
    /* border: solid 1px red; */
    width: 18vw;
    height: 45vh;
}
.front_page_books img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* .book_cover {
  display: block;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  color: white;
} */

.book_title h2 {
    margin-top: 10px;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
}
.book_title h2 span {
    font-size: 24px;
}
footer hr {
    margin: 0;
    padding: 0;
}
footer h6 {
    padding-top: 10px;
    font-size: 13px;
}
.single_book_content {
    align-items: center;
}
.single_book_content p {
    font-size: 18px;
    /* padding: 40px; */
    text-align: left;
}
.single_book_cover {
    width: 16vw;
    height: auto;
    /* border: solid 1px red; */
    margin: 0 auto;
}
.single_book_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single_book_buttons .button {
    border: solid 1px white;
    width: 200px;
    height: 40px;
    margin: 0 auto;
    margin-bottom: 40px;
    border-radius: 6px;
    text-align: center;
}
.single_book_buttons .button a {
    color: white;
    text-decoration: none;
    line-height: 40px;
    display: block;
}
.buy_buttons button,
.buy_buttons a {
    text-decoration: none;
    color: white;
}
.buy_buttons button img {
    width: 50px;
    height: auto;
}

.buy_content h3 {
    margin-top: 50px;
    text-align: left;
    font-size: 2vw;
}
.buy_content h4 {
    /* margin-top: 50px; */
    text-align: left;
    font-size: 1.5vw;
}
.buy_content p {
    font-size: 1.1vw;
    letter-spacing: 1px;
    margin-top: 30px;
    text-align: left;
}
.buy_buttons {
    margin-top: 90px;
    text-align: left;
    display: flex;
}
.buy_buttons button,
.buy_buttons a {
    display: inline-block;
    border: solid 1px white;
    width: 200px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
    font-size: 17px;
    margin-right: 30px;
    background-color: transparent;
}

.buy_buttons button:hover {
    background-color: #183753;
}
.third_page_content_section {
    margin-top: 140px;
}

.about_page_content {
    margin-top: 20px;
    align-items: center;
}
.about_page_content img {
    width: 100%;
}
.about_page_content p {
    padding: 30px 0px;
    font-size: 1.3vw;
}
.blogs_container {
    display: flex;
    justify-content: space-between;
    /* border: solid 1px red; */
}
.blog_card {
    width: 22%;
    margin: 0 !important;
    padding: 0 !important;
}
.blog_image {
    /* border: solid 1px red; */
    width: 100%;
    height: 33vh;
}

.blog_image img {
    width: 100%;
    height: 100%;
    /* height: auto; */
    /* object-fit: contain; */
}
.blog_card_text_content {
    background-color: var(--darkblue);
    padding: 12px;
    text-align: left;
    color: white;
}
.blog_title {
    margin: 0 !important;
    padding: 0 !important;
}
.blog_title h1 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    font-size: 1vw !important;
}
.blog_desc {
    padding: 0 !important;
    margin: 20px 0px;
}
.blog_desc p {
    margin: 0 !important;
    padding: 0 !important;
}

.blog_read_more {
    margin: 0 !important;
    padding: 0 !important;
}
.blog_read_more a {
    color: var(--grey);
    text-decoration: none;
}

.menu_close_btn {
    position: absolute;
    top: 5px;
    right: 15px;
    cursor: pointer;
}

/* @media only screen and (min-width: 1400px) {
  .book_cover {
    width: 20vw;
    height: 54vh;
  }
  .single_book_cover {
    width: 20vw;
    height: 50vh;
  }
  .buy_book_cover {
    width: 18vw;
    height: 48vh;
  }
} */

.welcome_left_text {
    color: white;
    font-size: 80px;
    position: absolute;
    right: 10px;
    top: 30%;
    text-shadow: 0 20px 40px white;
}
.welcome_left_text span {
    font-size: 50px;
    position: absolute;
    top: 120px;
    right: 0px;
}
.welcome_right_text span {
    font-size: 50px;
    position: absolute;
    top: 130px;
    left: 0px;
}
.welcome_right_text {
    color: white;
    font-size: 80px;
    position: absolute;
    left: 20px;
    top: 30%;
    text-shadow: 0 0 40px white;
}
.welcome_right_text span {
    font-size: 50px;
    display: block;
    margin-top: -10px;
}
.hide_cover {
    display: none !important;
}
.book-container {
    position: relative;
    width: 100%;
    height: 100vh;
    perspective: 1200px;
    background-color: transparent;
}

.book-side {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url(../images/moon_land.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transform-style: preserve-3d;
    transition: transform 4s ease; /* ⏱ Slowed down */
    z-index: 2;
}

.left {
    left: 0;
    transform-origin: left;
    background-position: left center; /* Show left half of image */
}

.right {
    right: 0;
    transform-origin: right;
    background-position: right center; /* Show right half of image */
}

.open .left {
    transform: rotateY(-100deg);
}

.open .right {
    transform: rotateY(100deg);
}

.open-button {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* padding: 1rem 2rem; */
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    background-color: var(--skyblue);
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
    width: 220px;
    height: 55px;
    line-height: 55px;
    /* border: solid 1px red; */
    letter-spacing: 1px;
}

.book-container.open .open-button {
    opacity: 0;
    pointer-events: none;
}
.book-container h1 {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 999;
    font-size: 3.5vw;
    width: 100%;
    text-align: center;
}

.book-container h2 {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 999;
    font-size: 2.5vw;
    /* border: solid 1px red; */
    width: 50%;
    text-align: center;
    /* padding-right: 20px; */
}
.buy_content p {
    width: 80%;
}
/* // XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {
}

/* // Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .single_book_cover {
        width: 20vw;
    }

    .buy_book_cover {
        width: 25vw;
    }
    .buy_content h3 {
        font-size: 2.5vw;
    }

    .buy_content h4 {
        font-size: 2.1vw;
    }
    .buy_content p {
        font-size: 1.6vw;
        line-height: 20px;
        letter-spacing: 1px;
        text-align: justify;
    }
    .buy_buttons {
        margin-top: 40px;
    }
    .buy_content h3 {
        margin-top: 0px;
    }
    .blog_image {
        height: 140px !important;
    }
    .blog_title h1 {
        font-size: 2vw !important;
    }
    .blog_desc p {
        font-size: 1.5vw;
        letter-spacing: 1px;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .book-container h1 {
        font-size: 4vw;
    }
    .book-container h2 {
        font-size: 3.5vw;
        margin-top: 0px;
    }
    .open-button {
        width: 155px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }
    .display_books {
        margin-top: 0px;
    }

    .content h1 {
        font-size: 3vw !important;
        margin-bottom: 20px !important;
    }
    .single_book_content p {
        font-size: 2.2vw;
        text-align: center;
        line-height: 22px;
        margin-bottom: 50px;
    }
    .single_book_cover {
        width: 26vw;
    }
    .about_para {
        font-size: 2.2vw !important;
    }
    .about_image {
        width: 50%;
        margin: 0 auto;
    }
    .blogs_container {
        flex-wrap: wrap;
    }
    .menu_hover_properties {
        right: -30px !important;
    }

    .display_books {
        margin-top: 10px;
        display: flex;
        /* border: solid 1px red; */
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .front_page_books {
        margin: 0px 10px;
        /* border: solid 1px red; */
        width: 60vw;
        height: 60vh;
        margin-bottom: 30px;
    }
    .front_page_books img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .indexPage_video_container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    #footer_for_indexPage {
        align-items: center;
        background-color: var(--darkblue);
        color: white;
        position: static;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        z-index: 99999;
        display: none;
    }
}

/* // Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
    .book-container h1 {
        font-size: 5vw;
    }
    .book-container h2 {
        font-size: 4.5vw;
        /* margin-top: 30px; */
    }
    .open-button {
        width: 155px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }

    .single_book_content p {
        font-size: 3.2vw !important;
        text-align: center;
        line-height: 22px;
    }

    .single_book_buttons .button {
        width: 125px;
    }

    .single_book_cover {
        width: 35vw;
    }
    .content h1 {
        font-size: 3.5vw !important;
        /* color: red; */
    }
    .buy_book_cover {
        width: 36vw;
        margin-right: 0px;
    }

    .buy_content h3 {
        font-size: 3.5vw;
    }

    .buy_content h4 {
        font-size: 4vw;
    }
    .buy_content p {
        font-size: 2.5vw;
        line-height: 20px;
        letter-spacing: 1px;
        text-align: left;
    }
    .buy_buttons a {
        width: 115px !important;
        font-size: 14px;
        margin-right: 10px;
    }

    .about_para {
        font-size: 3vw !important;
        text-align: center;
    }
}

/* // Small devices (porttrair phones, 400px and down) */
@media (max-width: 400px) {
    .buy_buttons a {
        font-size: 2.6vw;
        margin-right: 9px;
    }
}

#buy_now_btn {
    background: transparent;
    border: none;
    border: solid 1px white;
    width: 150px;
    height: 40px;
    color: white;
}
.user_area {
    display: flex;
    list-style: none;
    justify-content: center;
}
.user_area li {
    margin-left: 22px;
}
.user_area li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    text-transform: uppercase;
}
.cart {
    position: relative;
}
.cart a {
    font-size: 17px !important;
}

.cart_counter {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgb(10, 10, 97);
    color: white;
    right: -17px;
    top: -6px;
    border-radius: 100%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    border: solid 1px rgb(160, 160, 160);
    /* font-weight: bold; */
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.user_register_page h1 {
    text-transform: capitalize !important;
}
.user_login_page h1 {
    text-transform: capitalize !important;
}

.user_login_page,
.user_register_page {
    margin-top: 120px;
}

.user_login_page form button,
.user_register_page form button {
    margin-bottom: 20px;
    border-radius: 0px;
    /* background-color: transparent; */
    color: white !important;
}
.user_login_page form input,
.user_register_page form input {
    margin-bottom: 20px;
    border-radius: 0px;
    background-color: transparent;
    color: white !important;
}
.user_login_page form input::placeholder,
.user_register_page form input::placeholder {
    color: white;
}

.user_login_page form input:focus,
.user_register_page form input:focus {
    background-color: transparent;
}
.checkoutpage .cart_table {
    font-size: 13px;
}
.checkoutpage .cart_table a {
    font-size: 16px;
}
.cart_table input {
    width: 40px;
    text-align: center;
}
.cart_table tr td,
.cart_table thead tr th {
    background-color: transparent !important;
    color: white;
}
.checkoutpage #billing_detail_form input,
.checkoutpage #billing_detail_form textarea {
    margin-bottom: 20px;
    background-color: transparent;
    border-radius: 0;
}
.checkoutpage #billing_detail_form input::placeholder,
.checkoutpage #billing_detail_form textarea::placeholder {
    color: white;
    font-size: 13px;
}
.checkoutpage #billing_detail_form button {
    border-radius: 0;
}
