body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #a8e6cf, #dcedc1);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Banner */
.banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .banner img {
        width: 100%;
        height: 100%;
        position: absolute;
        animation: rotateBanner 10s infinite;
        object-fit: cover;
    }

@keyframes rotateBanner {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Main container */
.container {
    max-width: 500px;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    text-align: center;
    animation: fadeIn 1.5s ease;
}

    .container h1 {
        font-size: 2.5rem;
        color: #007bff;
        margin-bottom: 10px;
        text-shadow: 1px 1px #dcedc1;
    }

    .container p {
        font-size: 1.2rem;
        color: #555555;
        margin-bottom: 20px;
    }

/* Gallery grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    justify-content: center;
}

    .gallery img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .gallery img:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

/* Login button */
.login-button {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: #d3d3d3;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

    .login-button:hover {
        background-color: #8DB600;
        transform: scale(1.1);
    }

/* Mobile adjustments */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
}

/* 📱 Mobile image resizing (your new rules) */
@media (max-width: 576px) {
    .gallery img {
        max-width: 150px;
    }

    .dog p {
        font-size: 14px;
    }

    .dog {
        text-align: center;
    }
}
