body {
    background: #ebfcdb;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1 {
    text-align: center;
    margin-top: 30px;
    color: #444;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 50px auto;
    max-width: 1200px;
}

.image-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #CCFFCC;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: box-shadow 0.2s;
    width: 200px;
    border: 1px solid;

}

.image-grid a:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.image-grid img {
    max-width: 180px;
    max-height: 180px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.image-grid span {
    color: #444;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
}

.image-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
}

.image-detail img {
    max-width: 400px;
    max-height: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #0078d4;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.back-link:hover {
    background: #005fa3;
}

