*{
    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:white;
    text-decoration:none;
    font-size:28px;
    font-weight:bold;

}


nav a{

    color:white;
    text-decoration:none;
    margin-left:20px;

}



.container{

    max-width:700px;
    margin:50px auto;
    background:white;
    padding:40px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);

}



h1{

    margin-bottom:15px;

}


p{

    color:#666;
    margin-bottom:25px;

}



input[type="file"]{

    width:100%;
    padding:14px;
    border:2px dashed #4f46e5;
    border-radius:10px;
    margin-bottom:25px;
    cursor:pointer;

}



.controls{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:25px;

}



label{

    font-weight:bold;
    display:block;

}



input[type="color"]{

    width:70px;
    height:45px;
    border:none;
    cursor:pointer;

}



.preview{

    margin:20px 0;
    display:flex;
    justify-content:center;

}



canvas{

    max-width:100%;
    border:1px solid #ddd;
    border-radius:10px;

}



button{

    background:#4f46e5;
    color:white;
    border:none;
    padding:14px 30px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    margin:10px;

}



button:hover{

    background:#3730a3;

}



@media(max-width:768px){

.header{

    flex-direction:column;
    gap:15px;

}


.container{

    margin:20px;
    padding:25px;

}


}