/* styles.css */
#header {
    line-height: 9.6em;
    background-color: #002366;
    padding-left: 0px;
}

#header h1 {
    color: #000000;
}

#topbackground img {
    width: 100%;
}

.loginbox {
    max-width: 480px;
    width: 90%;
    background: rgba(200, 202, 255, 0.5); /* More transparent, appears lighter */

    color: #616161;
    border-radius: 10px;
    padding: 20px 15px;
    min-height: 300px;
    max-height: 500px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    position: relative;
    margin-top: 100px;
    z-index: 10;
}

.user {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: calc(-80px / 2);
    left: calc(50% - 40px);
}

h2 {
    margin: 0;
    padding-left: 0 0 20px;
    color: #515151;
    text-align: center;
}

.loginbox p {
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #FF2c2c;
}

.loginbox input {
    width: 100%;
    margin-bottom: 20px;
}

.loginbox input[type="text"],
.loginbox input[type="password"] {
    border: none;
    border: 0.25px solid #FF2c2c;
    background-color: #f2f2f2; /* Soft ash */
    outline: none;
    height: 30px;
    color: #333333;
    font-size: 16px;
    padding: 8px 10px;
    border-radius: 5px;
    box-sizing: border-box;
}

input::placeholder {
    color: rgba(71, 99, 255, 0.5);
}

.loginbox input[type="submit"] {
    border: none;
    outline: none;
    height: 40px;
    color: #fff;
    font-size: 16px;
    background: #FF2c2c;
    cursor: pointer;
    border-radius: 20px;
}

.loginbox input[type="submit"]:hover {
    background: #fff;
    color: #262626;
}

.loginbox a {
    color: #515151;
    font-size: 1.0em;
    font-weight: normal;
    text-decoration: none;
    padding-bottom: 24px;
}

@media screen and (max-width: 768px) {
    .loginbox {
        width: 90%;
        padding: 40px 15px;
        margin-top: 50px;
    }

    .user {
        width: 60px;
        height: 60px;
        top: calc(-60px / 2);
        left: calc(50% - 30px);
    }

    h2 {
        font-size: 1.5em;
    }

    .loginbox input[type="submit"] {
        font-size: 14px;
    }
}
