@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 13px;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    background-color: rgb(240, 241, 245);
    background-image: url("/images/Infinity_CycleT6.png");
    background-size: 50%; /* Adjust the size of the background image */
    background-repeat: no-repeat;
    background-position: center; /* Center the background image */
}

::after, ::before {
    box-sizing: border-box;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.container {
    height: auto; /* Allow height to adjust based on content */
    width: 100%; /* Full width of the viewport */
    max-width: 1200px; /* Set a maximum width larger screens */
    margin: 0 auto; /* Center the container */
    margin-top: 90px;
    padding-right: 15px;
    padding-left: 15px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

a {
    text-shadow: none;
}

.book-title{
    margin-bottom: auto;
    text-align: center;
    border-style: solid;
}

.book-title h1 {
    font-family: "Oswald", "Roboto", sans-serif; 
    font-size: 2.5em; /* Responsive font size */
    font-weight: 800;
    margin-bottom: 5px;
    color: #060475;
}

.book-title h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size:  1.2em;
    font-weight: 800;
    font-style: italic;
    color:#0c08e2;
}

.description {
    margin-bottom: 5px;
}

.description h2{
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    color: #0b08a8;
}

.description p {
    font-family: poppins, sans-serif;
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1em;
    font-weight: 600;
    text-align: justify;
    color: #000;
}

.carousel-container {
    position: relative;
    align-items: center; /* Center items horizontally */
    width: 100%; /* Full width of the container */
    margin-top: 20px; /* Space above the carousel */
    padding: 25px; /* Padding around the carousel */
    border-style: solid;
    border-color: #ccc; /* Light gray border */
    border-width: 1px; /* Set border width */
}

/* .carousel-inner {
} */

.carousel-item {
    box-sizing: border-box; /* Ensure padding and border are included in width */
    display: block;
    padding: 10px;
}

.carousel-container .carousel-control-prev,
.carousel-container .carousel-control-next {
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.carousel-container .carousel-control-prev {
  left: 0; 
}

.carousel-container .carousel-control-next {
  right: 0;
}

.carousel-container .carousel-control-prev:hover,
.carousel-container .carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.arrow {
  font-size: 24px;
  cursor: pointer;
}


/* Carousel indicators dots*/
/* Style slick dots */
.slick-dots {
  text-align: center;           /* Center the dots horizontally */
  bottom: -20px;                /* Adjust vertical position if needed */
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex !important;     /* Force horizontal layout */
  justify-content: center;     /* Center the items */
  gap: 8px;                    /* Space between dots */;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* Remove the default slick pseudo-dot and add your own */
.slick-dots li button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.slick-dots li.slick-active button {
  background-color: #f6610a;    /* Active dot color */
}

.card {
    height: 100%;
    background-color: #081523;   
    color: #d6e0f9; 
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.card:hover {
    cursor: pointer; /* Change cursor to pointer on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    background-color: #34495e; /* Lighter background on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.card-content {
    flex-grow: 1; /* Allow the content to grow and fill the available space */
}

.cover-art {
    height: auto;
    max-width: 100px;
    display: block;
    margin-bottom: 1px;
    padding: 5px;
    border-radius: 4px;
    float: left;
}

.fiction-description h3{
    font-size: 1.3em;
    margin-bottom: 5px;
    color: #f6610a; 
}

.fiction-description {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 200px;
    line-height: 1.4;
    padding: 1em;
}

.syopsis {
    font-size: 0.9em;
    font-family: poppins, sans-serif;
    line-height: 1.4;
    color: #d6e0f9; 
    margin-bottom: 10px;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

.book-button {
    padding: 1px;   
}

.btn {
    width: 100%; 
    display: inline-block;
    padding: 4px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease; 
    box-sizing: border-box; 
}

.btn-primary {
    background-color: #525e64;
    color: #fff; 
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em; 
}

footer {
    display: flex;
    padding: 20px;
    font-family: 'Black Ops One';
    font-size: 1.4em;
    color: #000;
    justify-content: center;
    bottom: 0.4rem;
}


/**** media ****/
@media (max-width: 992px) {
  .carousel-container .carousel-control-prev {
    left: 0px;
  }

  .carousel-container .carousel-control-next {
    right: 00px;
  }
}

@media (max-width: 768px) {
  .carousel-container .carousel-control-prev {
    left: 0px;
  }

  .carousel-container .carousel-control-next {
    right: 0px;
  }
}

@media (max-width: 480px) {
  .carousel-container .carousel-control-prev {
    left: 0px;
  }

  .carousel-container .carousel-control-next {
    right: 0px;
  }
}
