<style>
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}
h1 {
    color: #333;
}
a {
    color: #FFFFFF;
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

li {
    margin: 0;
}

.gallery-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-link:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.gallery-link:active {
    transform: translateY(1px);
}



img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.gallery-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
    margin-bottom: 10px;
}
button {
    background-color: #5cb85c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #4cae4c;
}
.back-button {
    background-color: #FF6347;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 20px 0;
}

.gallery-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-link {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-link:hover {
    transform: translateY(-2px);
}

.gallery-link:active {
    transform: translateY(1px);
}

.copy-link {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #555;
    cursor: pointer;
}

.copy-link:hover {
    color: #333;
    text-decoration: underline;
}

.copy-message {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 2px 8px;
    margin-left: 8px;
    border-radius: 4px;
    font-size: 0.8em;
}


.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-item img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.image-actions {
    padding: 5px;
    text-align: center;
    background-color: #f9f9f9;
}

.copy-button {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
}

.copy-button:hover {
    background-color: #45a049;
}


</style>