body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-image: url('https://javfc2.xyz/uploads/landing_page/bg.jpg');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 100vh; 
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: -1; 
}

header, main {
    position: relative; 
    z-index: 1;
}

.info-text {
    margin-top: 10px;
    font-size: 14px;
    color: #bbb; 
    text-align: center;
}

header {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-input {
    padding: 10px;
    width: 300px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

#search-button {
    padding: 10px 20px;
    border: none;
    background-color: #555;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

#search-button:hover {
    background-color: #666;
}

main {
    padding: 20px;
}

#results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    #results {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    #search-input {
        width: 200px;
    }
}