/** Basics **/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: -1px;
}

/** Sections **/
body {
    background: #ffffff;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 41%, rgba(232, 232, 232, 1) 100%);
    
    height: 100vh;
    display: flex;
    flex-direction: column; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.container {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding: 20px;
}

.container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.books_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
  gap: 40px;
}

.book {
	width: 200px;
}

.book {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1; 
}

.book:hover {
  transform: scale(1.05); 
  z-index: 10; 
}

.book::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.book:hover::after {
  opacity: 1;
}

.free_ad {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in;
}

.book:hover .free_ad {
  opacity: 1;
  visibility: visible;
}

.book a {
  color: inherit; 
  text-decoration: none; 
}

footer {
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}