main h2 {
    text-align: center;
    color: rgb(123, 123, 243); /*#7b7bf3  */
}

main h3 {
    color: rgb(123, 123, 243);
}

video {
    width:300px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

hr {
	color: lightgrey;
	height: 3px;
}

#trailer {
    text-align: center;
}

#book-list {
    max-width: 600px;
    margin: auto auto;
    display: inline-block;
}

.book-container {
    display: grid;
    grid-template-areas: 'cover title' 'cover description' 'cover more' 'cover getit';
    grid-template-rows: 2rem 4.7rem 1rem 1rem;
    grid-gap: 1rem;
    margin: 1.5rem 0;
}

.cover {
    grid-area: cover;
}

.book-title {
    grid-area: title;
    font-family: "Playfair Display", serif;
    color:rgb(162, 162, 247);
}

.book-description {
    grid-area: description;
    overflow-y: hidden;
}

.book-more {
    grid-area: more;
    font-size: 70%;
}

.book-getit {
    grid-area: getit;
    font-size:90%;
}


.book-container img {
    max-width: 100px;
    max-height: 160px;
}

.book-container a {
    color:aqua;
}

.book-getit a {
    margin: 0 0.5rem;
    color: aqua;
}

.popover {
    z-index: 101;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 550px;
    height: 300px;
    background-color: #4a007d;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px solid #ccc;
    display: none;
}

.popover-description {
    overflow-y: auto;
    height: 225px;
    padding: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}
  
.popover-content {
    position: relative;
    color: white;
    height: 100px;
}
  
.popover-content {
position: relative;
color: white;
}
  
  .close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: black;
    color: rgb(107, 185, 245);
    border: none;
    cursor: pointer;
    border-radius: 5px;;
  }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Black background with opacity */
    z-index: 100; /* Ensures it's below the popover but above other content */
    display: none; /* Hidden by default */
}