body {
    margin: 0;
    overflow: hidden;
    background-color: #f0f8ff;
    width: 100%;
    height: 100%;
}
* {
    box-sizing: border-box;
}

.tulip {
    position: absolute;
    width: 200px;
    height: 300px;
    background-image: url('img/tulip.png');
    background-size: cover;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}


.image-container > img:nth-child(13),
.image-container > img:nth-child(7),
.image-container > img:nth-child(6){
    object-position: top;
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    height: 100vh;
    padding: 5px;
    box-sizing: border-box;
}

.image-container img {
    flex: 1 1 auto;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}
.image-container img:hover{
    opacity: 0.6;
}

#loading-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: #333;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup p {
    color: white;
    font-size: 1.5em;
    text-align: center;
    max-width: 80%;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-popup:hover {
    color: #ccc;
}