/* Set the background color of the entire page */
body {
    background-color: red;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Container styling */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background-color: white;
    border-radius: 8px;
}

/* Grid layout for thumbnails */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px;
    margin-top: 20px;
}

/* Individual thumbnail item */
.thumbnail-item {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Thumbnail image */
.thumbnail-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Error message styling */
.error-message {
    color: white;
    background-color: #b00020;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Button styling */
.extract-button {
    background-color: #d32f2f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.extract-button:hover {
    background-color: #b71c1c;
}