* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #101010;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {    
    width: 90vw;
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item {
    border-radius: 6px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.loader {
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    transform: translateX(-100%) rotate(-25deg);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 70%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%) rotate(-25deg);
    }
}

.item img {
    width: 100%;
    height: 100%;
    filter: blur(10px);
    opacity: 0;
    transform: scale(1.5);
    transition: filter 1s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.item img:hover {
    transform: scale(1.10) !important;
}

.generation-container {
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.api-key, .prompt {
    width: 90vw;
    height: 30px;
    text-align: center;
    background-color: #181a1b;
    border: 2px solid #373c3e;
    color: #ffffff;
    border-radius: 6px;
    margin-top: 15px;
    outline: none;
}

.generate-button {
    height: 30px;
    width: min(200px, 30vw);
    margin-top: 15px;
    border: 2px solid #42474A;
    color: #E8E6E3;
    background-color: #161819;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: #42474A 0px 6px;
}

.generate-button:hover {
    background-color: #262829;
}

.generate-button:active {
    background-color: #262829;
    box-shadow: 0 3px #42474A;
    transform: translateY(3px);
}

.column-count-container {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.generation-options-container {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.generation-options-container select {
    width: min(200px, 30vw);
    height: 30px;
    background-color: #181a1b;
    border: 2px solid #373c3e;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: #42474A 0px 6px;
}

.preview-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    display: none;
}

.preview-container img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: default;
}

@media screen and (max-width: 768px) {
    .generation-options-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .generate-button,
    .generation-options-container select {
        width: 60vw;
        max-width: 300px;
    }
}

.load-more-container {
    width: 90vw;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.load-more-button {
    width: min(200px, 30vw);
    height: 30px;
    background-color: #181a1b;
    border: 2px solid #373c3e;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: #42474A 0px 6px;
}
