main{
    min-height: 65vh;
}

.main-content{
    display: grid;
    justify-content: center;
    justify-items: center;
}

h2{
    font-size: 22px;
    margin-top: 15px;
    color: #9D2235;
}

#login-title {
    display: grid;
    justify-content: center;
    margin-top: 10px;
    text-align: center;
}

#login p {
    display: grid;
    justify-items: left;
    width: 221px;
}

#login label {
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 12pt;
}

#login input {
    width: 221px;
    height: 30px;
    border: 1px solid;
    padding-left: 8px;
}

form {
    margin-bottom: 15px;
    display: grid;
    justify-items: center;
    grid-row-gap: 15px;
    padding-top: 25px;
}

.forgot {
    color: #9D2235;
    font-size: 15px;
}

#login li {
    padding-left: 25px;
    padding-right: 25px;
    margin-top: -25px;
    list-style-type: none;
}

form {
    margin-bottom: 15px;
}

#login {
    border-radius: 10px;
    background-color: #DAD9D9;
    width: 280px;
    height: auto;
    color: black;
    text-align: center;
    padding-bottom: 25px;
    margin-top: 30px;
}

.main-content {
    margin-left: 0;
    margin-right: 0;
}

label {
    color: black;
    font-size: 1.1em;
}

#loginButton {
    background: #9D2235;
    color: white;
    width: 105px;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #9D2235;
    margin-top: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    outline: none;
}

/* reverse on hover */
#loginButton:hover {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
}

/* Login Error Fix */

form ul {
    font-size: 10pt;
}

.public-motd {
    justify-content: center;
    margin: 0;
    width: auto !important;
}

.public-motd-grid {
    margin-bottom: 20px;
    display: grid;
    grid-row-gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
}

.errorlist {
    font-size: 14px;
    padding-top: 15px;
}

#loginButton:focus {
    background: none;
    border: 2px solid #9D2235;
    color: #9D2235;
    outline: none;
}

.forgot:focus {
    background: none;
    border: 2px solid black;
    color: #9D2235;
    outline: none;
}

.forgot:focus:not(:focus-visible){
    border: none;
}

#loginButton:focus:not(:focus-visible){
    background: #9D2235;
    color: white;
}

/* ---- Media Queries Start ---- */

/* Mobile Medium */

@media screen and (min-width: 375px) {
    #login {
        width: 320px;
    }

}

/* End of Mobile Medium */

/* Tablet */

@media screen and (min-width: 768px) {
    main {
        min-height: 90vh;
    }
}

/* End of Tablet */

/* Laptop */

@media screen and (min-width: 1024px) {
    #login {
        width: 400px;
        /*height: 405px;*/
    }

    #login-title {
        margin-top: 20px;
    }

    #login p {
        width: 258px;
    }

    #login input {
        width: 258px;
    }

    form {
        grid-row-gap: 20px;
    }
}

/* End of Laptop */

/* ---- Media Queries End ---- */