﻿/* Full-screen background image */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    filter: blur(5px); /* Adjust the blur effect */
    opacity: 0.9; /* Adjust the transparency */
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 85vh; /* Set the height of the slideshow container to fill the viewport */
    overflow: hidden;
}

    .slideshow-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        transition: opacity 1s ease-in-out;
    }

.fade-in-out {
    animation: fade 5s infinite;
}

/* Login form container */
.login-form-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .login-form-container form {
        width: 90%; /* Adjust the width of the form */
        max-width: 500px; /* Add a max-width to prevent it from becoming too wide on larger screens */
    }


@media (max-width: 767px) {
    /* Adjust styles for smaller screens */
    .login-container {
        flex-direction: column;
    }

    .slideshow-container {
        display: block;
    }

    .login-form-container form {
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 768px) {
    /* Adjust styles for larger screens */
    .login-form-container form {
        width: 500px; /* Adjust the width of the form for larger screens */
    }
}

@keyframes fade {
    0%, 100% {
        opacity: 0.4;
    }

    25%, 75% {
        opacity: 1;
    }
}
