/* Sketch Gallery Stylesheet */

body {
    background: #f9f9f9;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

h1, h2, h3 {
    color: #4DE6AF;
    text-align: center;
}

nav {
    background: #C8FFD4;
    padding: 10px;
    display: flex;
    justify-content: space-around;
}

nav a {
    color: #508c68;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s ease-in;
}

nav a:hover {
    color: #4DE6AF;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    background-color: #FFFFFF;
    border: 2px solid #4DE6AF;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 15px;
    background: #C8FFD4;
    color: #508c68;
    border-top: 2px solid #4DE6AF;
}

button.lock {
    background-color: #4DE6AF;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease-in;
}

button.lock:hover {
    background-color: #3bc493;
}