body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#f5f7fb;
}

.container{
    width:90%;
    max-width:1200px;
    margin:30px auto;
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}

#galleryForm{
    display:flex;
    flex-direction:column;
    gap:15px;
}

#galleryForm input,
#galleryForm button{
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:16px;
}

#galleryForm button{
    background:#0d6efd;
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:bold;
}

#galleryForm button:hover{
    background:#0b5ed7;
}

#galleryContainer{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.gallery-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    text-align:center;
}

.gallery-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.gallery-card h3{
    margin:15px 10px;
    font-size:18px;
}

.gallery-card button{
    margin:15px;
    padding:10px 18px;
    border:none;
    border-radius:8px;
    background:#dc3545;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
}

.gallery-card button:hover{
    background:#bb2d3b;
}

.footer{
    margin-top:40px;
}