* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px;
    background-color: rgba(92, 91, 135, 1);
}

h1 {
    color: rgba(238, 126, 140, 255);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-image {
    width: 30px; /* Set image width */
    height: 30px; /* Set image height */
    margin-right: 10px; /* Space between the image and text */
    border-radius: 50%; /* Round the corners of the image */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    animation: slideUp 1s ease-out forwards;
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px); /* Start 20px below the final position */
        opacity: 0; /* Start fully transparent */
    }
    to {
        transform: translateY(0); /* Move to final position */
        opacity: 1; /* Fully opaque */
    }
}

footer, footer a, footer p {
    border: none; /* Removes any borders */
    text-decoration: none; /* Removes any underline from links */
    color: inherit; /* Ensures text color is inherited, not specifically styled by links */
}

footer p {
    color: rgba(238, 126, 140, 255); /* Sets the color to match the header */
    font-family: Arial, sans-serif; /* Ensures font consistency with the body */
    text-align: center; /* Centers the footer text */
    font-weight: bold; /* Make the text bold */
    display: flex; /* Aligns items in a row */
    align-items: center; /* Vertically centers items */
    justify-content: center; /* Horizontally centers content */
}

footer p img {
    height: 1em; /* Sets the image height to match the line height of the text */
    width: auto; /* Maintains the aspect ratio of the image */
    margin-left: 5px; /* Adds a small space between the text and the image */
}
