body {
    margin: 0;
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #1d2b64, #f8cdda);
    color: white;
}


.dark {
    background: #121212;
    color: #eee;
}


header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin: 0;
    font-family: 'Bangers', cursive;
    font-size: 28px;
}

.container {
    text-align: center;
    padding: 20px;
    padding-bottom: 100px;
}

select,
input,
button {
    padding: 10px;
    margin: 8px;
    border-radius: 8px;
    border: none;
}

button {
    background: #ff4e50;
    color: white;
    cursor: pointer;
}

button:hover {
    transform: scale(1.05);
}

.results {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.card {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 10px;
}

.card img {
    width: 100%;
    border-radius: 8px;
}

.loader {
    margin: 20px auto;
    border: 5px solid #ccc;
    border-top: 5px solid red;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
}

.socials a {
    margin: 10px;
    font-size: 20px;
    color: white;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: white;
    color: black;
    padding: 20px;
    margin: 100px auto;
    width: 300px;
    border-radius: 10px;
}

@media (max-width: 768px) {

    h1 {
        font-size: 22px;
    }

    select,
    input,
    button {
        width: 90%;
    }

    .results {
        grid-template-columns: 1fr;
    }
}