body {
    background-color: lightgrey;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    max-width: 1200px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 10px 10px 26px 5px rgba(0, 0, 0, 0.22);
}

.login-div, .logininfo-div {
    padding: 20px;
    margin: 0;
    width: 48%;
}

.login-div {
    background-color: #D8B6E4;
    border-radius: 16px 0px 0px 16px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logininfo-div {
    background-color: white;
    border-radius: 0px 16px 16px 0px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img {
    max-width: 80%;
    border-radius: 16px;
    animation: imageBounce 2s ease-in-out infinite;
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 25px;
    width: 80%;
}

.input-group {
    margin-bottom: 15px;
    width: 100%;
}

input {
    padding: 12px;
    margin: 10px 0;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

input[type="submit"] {
    background-color: #d2001d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    padding: 12px;
}

input[type="submit"]:hover {
    background-color: #e95550;
}

a {
    color: #d2001d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* Keyframes for image bounce animation */
@keyframes imageBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .login-div, .logininfo-div {
        width: 90%;
    }

    h2 {
        font-size: 1.0rem;
    }

    h4 {
        font-size: 0.5rem;
    }

    form {
        width: 75%;
        font-size: 11px;
    }

    input[type="submit"] {
        width: 100%;
        font-size: 0.7rem;
    }

    a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .login_container {
        padding: 10px;
    }

    .login-div, .logininfo-div {
        width: 100%;
    }

    h2 {
        font-size: 12px;
    }

    h4 {
        font-size: 10px;
    }

    form {
        width: 65%;
        font-size: 10px;
    }

    input[type="submit"] {
        width: 80%;
        font-size: 8px;
        padding: 4px;
    }

    input {
        padding: 0px;
    }
}
