/* body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
    padding: 20px;
} */

h1 {
    margin-bottom: 20px;
}

input {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.thumbnail {
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.label {
    margin-top: 5px;
    font-size: 14px;
}

a.download-link {
    display: block;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

a.download-link:hover {
    text-decoration: underline;
}

.error {
    color: red;
    margin-top: 10px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav_bar {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav_bar li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav_bar li a:hover {
    color: #ff0000;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

h1 {
    color: #ff0000;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.description {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

input[type="text"] {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transition: border 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #ff0000;
}

button {
    padding: 0.8rem 2rem;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;
}

button:hover {
    background-color: #cc0000;
}

.error {
    color: #ff0000;
    margin: 1rem 0;
    font-weight: 500;
}

/* Thumbnails Section */
/* .thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.thumbnail-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-info {
    padding: 1rem;
    text-align: center;
}

.thumbnail-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
} */

.download-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #cc0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav_bar {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .thumbnails {
        grid-template-columns: 1fr;
    }
}


