*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{
    background:#f4f7fb;
    color:#222;
}

.header{
    background:#4f46e5;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#fff;
    text-decoration:none;
    font-size:28px;
    font-weight:bold;
}

nav a{
    color:#fff;
    text-decoration:none;
    margin-left:20px;
}

.container{
    width:90%;
    max-width:900px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    text-align:center;
}

h1{
    margin-bottom:10px;
}

p{
    color:#666;
    margin-bottom:20px;
}

#imageInput{
    margin:20px 0;
}

#preview{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:15px;
    margin:30px 0;
}

#preview img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:10px;
    border:2px solid #ddd;
}

button,
#downloadBtn{
    background:#4f46e5;
    color:#fff;
    border:none;
    padding:14px 28px;
    border-radius:8px;
    cursor:pointer;
    text-decoration:none;
    display:inline-block;
    margin:10px;
    transition:.3s;
}

button:hover,
#downloadBtn:hover{
    background:#3730a3;
}

@media(max-width:768px){

.header{
    flex-direction:column;
    gap:15px;
}

.container{
    padding:20px;
}

}
