/* Reset Styles */
* {
    /* margin: 0;
    padding: 0; */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Body */
body {
    /* background-color: #d3f1d7; */
    background-image: url(img/aol-bg.png);
    background-size: cover;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#error-message {
    color: red;
    margin-top: 15px;
    font-size: 14px;
    display: none;
}

/* Container */
.container {
    display: flex;
    width: 67%;
    max-width: 1200px;
    background-color: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 213px;
}

/* Left Section */
.left-section {
    flex: 1;
    position: relative;
}

.image-overlay {
    width: 100%;
    /* height: 100%; */
    /* background: rgba(0, 0, 0, 0.3); */
}

.student-image {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

/* Right Section */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    padding: 40px;
}

.form-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo img {
    width: 100px;
    margin-bottom: 20px;
    margin: 0 43%;
}

h2 {
    /* color: #333; */
    font-size: 24px;
    /* margin-bottom: 20px; */
    text-align: justify;
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    /* color: #666; */
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Button */
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #198754;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #23963b;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .container {
        width: 80%;
        margin: 0 auto;
        /* Center horizontally */
    }

}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        /* Stack left and right sections vertically */
        width: 90%;
        margin: 0 auto;
    }

    .left-section img {
        /* display: none;  */
        height: 280px;
    }

    .right-section {
        padding: 20px;
    }

    .form-container {
        width: 100%;
    }

    h2 {
        font-size: 20px;
    }

    .input-group input {
        font-size: 13px;
    }

    .login-button {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        margin: 0 auto;
    }

    h2 {
        font-size: 18px;
    }

    .input-group input {
        font-size: 12px;
    }

    .login-button {
        font-size: 12px;
    }
}