/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    /* Add background color for fallback */
    overflow-y: auto;
}    


.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensure the video is behind other elements */
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-container {
    background: rgba(7, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    color: white;
    max-width: 400px;
    width: 150%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center; /* Center align text */
}

h1 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left; /* Align text to the left within form groups */
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 50%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
}


button {
    width: 50%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(145deg, #1f3b73, #2a4b8d);
    color: green;
    font-size: 26px;
    cursor: pointer;
    transition: background 0.6s, transform 0.6s;
}

button:hover {
    background: linear-gradient(145deg, #2a4b8d, #1f3b73);
    transform: scale(1.2);
}

.register-link {
    margin-top: 10px;
}

.register-link a {
    color: #391549;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .login-container {
        padding: 25px;
    }

    h1 {
        font-size: 16px;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 12px;
    }

    button {
        font-size: 12px;
    }
}
