body {
    font-family: Arial, sans-serif;
    background: url('/images/background.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.logo1 {
    border-radius: 6px;
    height: 75px;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
    border-radius: 17px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 608px;
    width: 550px;
    box-sizing: border-box;
}
.adminlogo{
    background: rgba(102, 111, 121, 0.8);
}
.indexlogo{
    background: rgba(21, 40, 60, 0.8);
}

.login-header { 
    text-align: center;
    margin-bottom: 20px;
    padding: 40px;
    border-radius: 17px 17px 0 0;
}

.login-header img {
    width: 100px;
}

.login-form {
    display: flex;
    flex-direction: column;
    margin: 50px;
}

.input-group {
    margin-bottom: 35px;
    position: relative;
}

input[type="text"]::placeholder {
    font-size: 15px; /* Adjust the size as needed */
}
input[type="password"]::placeholder {
    font-size: 15px; /* Adjust the size as needed */
}

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

#username, #password, #captcha {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.captcha-group {
    display: flex;
    align-items: center;
    margin: 16px 0;
}


.captcha-image {
    margin-right: 10px;
    border: 1px solid #ccc;
}

.refresh-captcha {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

.checkbox-group {
    display: flex;  
    align-items: center;
    margin-bottom: 8px;
}

.eem  {
    font-size: 15px;
    color: #9b9b9b;
}

.checkbox-group input {
    margin-right: 16px;
}

.login-button {
    background-color: #007bff;
    color: white;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    height: 45px;
    width: 100px;
    align-self: center;
}

.login-button:hover {
    background-color: #0056b3;
}
.admin a {
    display: flex;
    margin: -35px 0 0 218px;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    height: 45px;
    width: 122px;
}

.admin a:hover {
    color: red;
    text-decoration: underline;
}

.guest a {
    display: flex;
    margin: -25px 0 0 218px;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    height: 45px;
    width: 125px;
}

.guest a:hover {
    color: red;
    text-decoration: underline;
}
.face a {
    display: flex;
    margin: -25px 0 0 218px;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    height: 45px;
    width: 125px;
}

.face a:hover {
    color: red;
    text-decoration: underline;
}

.error-message {
    color: red;
    background-color: #f0cecc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -40px;
    margin-left: 50px;
    margin-right: 50px;
    padding: 10px;
    border-radius: 5px;
}
.close-button {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: red;
    background: none;
    border: none;
    padding: 0 5px;
}
.error{
    width: 220px;
}


.text-center{
    margin-left: 30px;
    font-family: sans-serif;
    font-size: 25px;
}
.change a{
    display: flex;
    margin: -25px 0 0 212px;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    height: 45px;
    width: 130px;
}



@media screen and (min-width: 800px) and (max-width: 1280px){
    body {
        font-family: Arial, sans-serif;
        background: url('/images/background.png') no-repeat center center fixed;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 87vh;
        margin-top: 40px;
    }
}



@media screen and (min-width: 768px) and (max-width: 1340px){
    body {
        font-family: Arial, sans-serif;
        background: url('/images/background.png') no-repeat center center fixed;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 87vh;
        margin: 0;
    }
    #username, #password, #captcha {
        width: 100%;
        padding: 4px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    }
    .removal{
        display: none;
    }
    #username.size::placeholder, #password.size::placeholder{
        font-size: 18px;
    }
    #username.size, #password.size{
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    }
    .boes{
        display: flex;
    }
    .rev a{
        background-color: rgba(21, 40, 60, 0.8);
        color: white;
        padding: 5px 10px 5px 10px;
        margin: -30px 0 0 108px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 15px;
        height: 18px;
        width: 130px;
        align-self: center;  
    }
    .rex a{
        background-color: rgba(21, 40, 60, 0.8);
        color: white;
        padding: 5px 10px 5px 10px;
        margin: -30px 0 0 28px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 15px;
        height: 18px;
        width: 130px;
        align-self: center;
    }
    input.size{
        font-size: 20px;
    }
    .resi a {
    background-color: rgba(21, 40, 60, 0.8);
    color: white;
    display: flex;
    margin: 18px 0 0 -236px;
    padding: 5px 10px 5px 10px;
    justify-content: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    height: 18px;
    width: 130px;
    align-self: center;
    }
    
    
}
@media screen and (max-width: 480px){
    .login-container {
        background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
        border-radius: 17px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        height: 590px;
        width: 430px;
        box-sizing: border-box;
        margin-top: -100px;
    }
    .logo1 {
        border-radius: 6px;
        height: 60px;
    }
    .admin a {
        display: flex;
        margin: -35px 0 0 154px;
        justify-content: center;
        text-decoration: none;
        text-align: center;
        height: 45px;
        width: 122px;
    }
    .guest a {
        display: flex;
        margin: -25px 0 0 154px;
        justify-content: center;
        text-decoration: none;
        text-align: center;
        height: 45px;
        width: 125px;
    }
}