body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Centers the gallery vertically */
    margin: 0;
    background-color: transparent; /* Optional: set a background color */
    margin-top: 0;
}

.container {
    width: 500px;
    height: 700px;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: gallery 20s linear infinite;
    cursor: pointer;
    margin-top: 0px;
    
}

.container span {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(calc(var(--i) * 60deg)); /* Adjust based on number of images */
}

img {
    height: 500px;
    width: 700px;
    object-fit: cover; /* Ensures images fit nicely */
}

@keyframes gallery {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.container:hover {
    transform: scale(1.05); /* Slightly scales up the container on hover */
}
#loginbox {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the content horizontally */
    justify-content: center; /* Centers the content vertically */
    text-align: center; /* Ensures text is centered */
    margin: auto; /* Centers the box itself */
    margin-top: 0;
    width: 200px; /* Set a width for the login box */
    padding: 20px; /* Adds some padding */
    background-color: white; /* Optional: background color */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: shadow effect */
}

#loginbox img {
    margin-bottom: 20px; /* Adds space below the logo */
    width: 100%; /* Makes the logo responsive */
    max-width: 150px; /* Limits the maximum width */
}
