* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #4facfe, #00f2fe);
}

.container {
    width: 95%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    padding: 15px;
}

h1 {
    color: white;
    font-size: 28px;
}

.search-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

input {
    padding: 10px;
    width: 220px;
    max-width: 90%;
    border-radius: 6px;
    border: none;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: white;
    cursor: pointer;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

select {
    padding: 8px;
    border-radius: 6px;
}

#results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: left;
}

#loader {
    color: white;
    font-size: 18px;
    margin: 20px;
}

.hidden {
    display: none;
}






@media (max-width: 600px) {

    h1 {
        font-size: 22px;
    }

    input {
        width: 100%;
    }

    button {
        width: 100%;
    }

    .controls {
        flex-direction: column;
    }

    select {
        width: 100%;
    }

    .card {
        font-size: 14px;
    }
}