/* Reset CSS */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:#f4f6f8;
    margin-top: 5px;
    margin-left: 15px;
    margin-bottom: 0px;
}

/* Video Background */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index:-1;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* Overlay for Dim Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust for darkness */
    z-index: -1;
}

.loginLink, .loginLink a{
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
}

/* Content Box */
.content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:#f4f6f8;
    margin-top: 120px;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:#f4f6f8;
}
.content .form-group label{
    font-size: 1.0rem;
}
.content p, {
    font-size: 1.0rem;
    margin-bottom: 30px;
}

.content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.content input, .content button {
    padding: 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
}

.content input {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.content button {
    background-color: #ff6600;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.content button:hover {
    background-color: #ff3300;
}

.login-container{
    color:#fff;
}

/* Compact form styling */
.compact-form, .login-container {
    width: 400px; /* Restrict form width for compact look */
    margin: 0px auto; /* Center the form */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 13px; /* Decrease font size */
    line-height: 1.4; /* Reduce line spacing */
    z-index:2;
}

/* Label and input styling */
.compact-form label {
    display: block;
    margin-bottom: 2px; /* Reduce space between label and input */
    font-weight: bold; /* Make label more legible despite small size */
}

.compact-form input {
    width: 100%; /* Make input fields take full width */
    padding: 4px; /* Reduce padding to make inputs more compact */
    margin-bottom: 8px; /* Reduce space between input fields */
    font-size: 13px; /* Reduce font size */
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styling */
.compact-form button {
    width: 100%; /* Full-width button for simplicity */
    padding: 6px; /* Reduced padding for compact look */
    font-size: 13px; /* Smaller font size */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.compact-form button:hover {
    background-color: #0056b3; /* Darken button on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem;
    }

    .content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .content input, .content button {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .content input, .content button {
        padding: 10px;
        font-size: 0.8rem;
    }

    .content form {
        gap: 10px;
    }
}

.footer {
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    position: sticky;
    bottom: 0;
    z-index: 2;
}
