@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lora:wght@400;700&display=swap');

body {
    font-family: 'Merriweather', serif;
    background: linear-gradient(to right, #ff66b2, #ffcc00, #66cc66, #3399ff, #9966cc);
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    font-family: 'Lora', serif;
    padding: 20px;
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}

.thumbnails img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    border: 5px solid transparent;
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.thumbnails img:hover {
    transform: rotate(5deg) scale(1.1);
    border-color: #ff66b2;
}

.hover-popup {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Merriweather', serif;
    font-size: 14px;
    transform: translate(-50%, -100%);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
