body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #222;
}
header {
    background: #2d3e50;
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}
main {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem;
}
#search-bar {
    margin-bottom: 1.5rem;
    text-align: right;
}
#searchInput {
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 60%;
    font-size: 1rem;
}
#modelli {
        list-style: none;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
}

@media (min-width: 900px) {
    #modelli {
        grid-template-columns: 1fr 1fr;
    }
}
#modelli li {
    background: #f0f4f8;
    margin-bottom: 1rem;
    padding: 1.5rem 1rem;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    transition: box-shadow 0.2s;
    text-align: center;
}

#modelli .modello-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    max-width: 320px;
    align-items: center;
}

#modelli .modello-nome {
    font-weight: bold;
    font-size: 1.2rem;
}

#modelli .modello-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.3;
}
#modelli .anteprima-box {
    width: 420px;
    height: 420px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e6ed;
    border-radius: 6px;
    overflow: hidden;
}

#modelli .anteprima-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#modelli li:hover {
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
}
.download-link {
    background: #2d3e50;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
}
.download-link:hover {
    background: #1abc9c;
}
footer {
    text-align: center;
    color: #888;
    margin: 2rem 0 1rem 0;
}
