body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo img {
    width: 100px;
    height: auto;
    cursor: pointer;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 15rem 5rem 5rem;
    flex-grow: 1;
    flex-wrap: wrap;
}

.item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 50px 50px;
    transition: box-shadow 0.3s ease;
}

.item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.item img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    cursor: pointer;
}

.item p {
    margin: 0;
}

.item a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .logo {
        top: 25px;
    }

    .gallery {
        justify-content: space-around;
        gap: 20px;
        margin: 8rem 2rem 2rem;
    }

    .item {
        max-width: 85%;
        width: 120px;
        height: 120px;
        padding: 25px;
        border-radius: 15px;
    }

    .item img {
        width: 80px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        top: 25px;
    }

    .gallery {
        margin: 8rem 1rem 1rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
        padding: 0 5px;
    }

    .item {
        width: 90px;
        height: 90px;
        padding: 10px;
        border-radius: 12px;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
    }

    .item img {
        width: 50px;
        margin-bottom: 8px;
    }
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #f0f0f0;
}

footer .footer-logo img {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #333;
    text-decoration: none;
}

.copy {
    color: #333;
    font-size: small;
    margin-top: 15px;
}