/* General styling */
body {
    background-color: rgb(0, 0, 0);
    color: white;
    font-family: 'Cera ProModern', Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center;
    min-height: 100vh; /* Allow content to stretch to full viewport height */
}

/* Logo Container */
#logo-container2 img {
    width: 15%; /* Adjust as needed, or use a fixed max-width */
    max-width: fit-content; /* Prevent overflow */
    height: auto; /* Maintain aspect ratio */
    cursor: pointer;
}

#logo-container2 {
    position: absolute;
    top: -102px; /* Fine-tune for positioning */
    left: -35px;
    z-index: 500;
}

/* Login Container */
#login-container {
    background-color: black;
    border: 2px solid white;
    width: 40%;
    margin-top: 5%; /* Add a small top margin */
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

/* Title and Subtitle */
.login-title {
    font-size: 32px;
    font-weight: bold;
    color: red;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

/* Form Styling */
.login-form-container {
    text-align: left;
}

#login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

input {
    width: 96%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: black;
    color: white;
}

input::placeholder {
    color: #aaa;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 12px;
    background-color: red;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #ff4c4c;
}

/* Forgot Password and Create Account Links */
.login-options {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.forgot-password,
.create-account {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.forgot-password:hover,
.create-account:hover {
    text-decoration: underline;
}

@media (min-width: 1280px) and (max-width: 1365.98px) {

    #logo-container2 {

        position: relative;
        top: 0;
        left: 0;
        margin-right: -45rem;
        margin-top: -6rem;
        margin-bottom: -12rem;

    }

}

@media (min-width: 1366px) and (max-width: 1439.98px) {

    #logo-container2 {

        position: relative;
        top: 0;
        left: 0;
        margin-right: -45rem;
        margin-top: -6rem;
        margin-bottom: -12rem;

    }

}


/*--------------------------------------------------------------------------------------MOBILE V5-------------------------------------------------------------------------------------- */

/* Tiny phones (old SE/5) */
@media (max-width: 320px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}
}

/* Android common 360dp family (e.g., 360×800, 360×780) */
@media (min-width: 360px) and (max-width: 374.98px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}
}
/* iPhone 6/7/8/SE2 fam (375×667) + iPhone X/11 Pro (375×812) */
@media (min-width: 375px) and (max-width: 389.98px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}
}

/* iPhone 12/13/14/15 (390×844) */
@media (min-width: 390px) and (max-width: 392.98px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}

}
/* iPhone 14/15 Pro (393×852) + many tall Androids (412×915 fits next band) */
@media (min-width: 393px) and (max-width: 413.98px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}

}
/* iPhone XR/11 (414×896) + many Android 414dp devices */
@media (min-width: 414px) and (max-width: 427.98px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}

}
/* iPhone 12/13/14/15 Pro Max & Plus (428×926) */
@media (min-width: 428px) and (max-width: 479.98px) {

    #logo-container2 {

            position: relative;
                top: 0;
    left: 0;
    margin-right: -106rem;
        margin-top: -6rem;
    margin-bottom: 7rem;

    }

    body {

        overflow-y: scroll;
        overflow-x: hidden;

    }

    #login-container {

            width: 75%;
            margin-top: -14rem;
}





}