/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

header {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.logo {
    max-width: 150px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.book-container, .iframe-container {
    width: 100%; /* Ensure it takes the full width of the screen */
    max-width: 100%; /* Ensure it takes the full width of the screen */
}

iframe {
    width: 100%;
    height: 80vh; /* Set iframe height */
    border: none; /* Remove iframe border */
}

/* Responsive Design */
@media (max-width: 600px) {
    .book-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }

    iframe {
        height: 60vh; /* Adjust iframe height for small screens */
    }
}

.book-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
}

.book {
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
}

.book img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.book:hover {
    transform: translateY(-10px) rotate(3deg);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

footer {
    color: #333;
    text-align: center;
    padding: 10px;
    background-color: transparent; /* Ensure no background color */
    margin-top: auto; /* Pushes footer to the bottom */
    width: 100%;
}
