
body {
    background-color: #f3f3f3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.login-container {
    width: 400px;
    perspective: 1000px;
}

.login-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    position: relative;
}

.login-box:hover {
    transform: rotateY(20deg) translateZ(10px);
}

.login-box h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #FF0000;
    font-weight: bold;
}

.input-container {
    position: relative;
    margin-bottom: 20px;
}

.input-container i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
}

.input-container input {
    padding-left: 40px;
    border: none;
    background-color: #f1f1f1;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-box input[type="submit"] {
    background-color: #FF0000;
    color: white;
    padding: 15px;
    border: none;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.login-box input[type="submit"]:hover {
    background-color: #cc0000;
}

.forgot-password {
    text-align: right;
    margin-top: -15px;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #FF0000;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.social-login {
    text-align: center;
    margin-top: 20px;
}

.social-login a {
    margin: 0 10px;
    color: #333;
    font-size: 20px;
}

/* Background slider */
.background-slider {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    overflow: hidden;
    perspective: 1500px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideAnimation 15s infinite ease-in-out;
    opacity: 0;
    transform: rotateY(0deg);
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideAnimation {
    0%, 100% {
        opacity: 0;
        transform: rotateY(-20deg) translateZ(-300px);
    }
    25%, 75% {
        opacity: 1;
        transform: rotateY(0deg) translateZ(0);
    }
}

