p {
    color: white;
}

#logo {
    width: 100%;
    height: 150px;
    background-image: url("/app/src/graphics/Mathub Logo.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#container {
    margin: auto;
    max-width: 100%;
    width: fit-content;
    display: grid;
    grid-template-columns: auto;
    height: max-content;
    margin-top: 5vh;
    animation: fadeIn 1s linear;
    margin-bottom: 50px;
}

body {
    margin: 0;
    height: 90vh;
}

html{
    margin: 0;
    height: 100vh;
}

body {
    background-image: linear-gradient(to bottom right, #284284, #6fc1e5);
}

* {
    margin: auto;
    font-size: 30px;
    font-family: sans-serif;
}

form {
    display: grid;
    margin: auto;
    grid-template-columns: auto;
    width: 100%;
}

footer{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #333333;
    min-height: 65px;
    width: 100%;
}

#f_links{
    display: flex;
    flex-wrap: wrap;
}

#passwordReset{
    color: white;
}

footer *{

    font-size: 11pt;
}

#pow{
    padding: 10px;
}

#pow>p {
    color: grey;
    display: block;
    text-align: center;
}

#pow a {
    color: lightgray;
    text-decoration: none;
}

#pow a:hover{
    color: white;
}

#f_links>a {
    color: white;
    text-decoration: none; 
    height: 100%;
    line-height: 65px;
    padding: 0px 20px;
}

#f_links>a:hover{
    background-color: #222222;
}


form>* {
    margin: 20px;
}

.input_field {
    border: none;
    border-radius: 15px;
    padding: 10px;
    background-color: #b8b8b8;
    /*max-width: 80%;*/
}

#submit {
    border: none;
    border-radius: 15px;
    background-color: #284284;
    color: white;
    padding: 10px;
    cursor: pointer;
}

#wrong{
    position: absolute;
    right: 20px;
    bottom: 170px;
    background-color: #ff2222;
    color: white;
    padding: 20px;
    border-radius: 15px;
    animation: fadeIn 1s linear;
    opacity: 1;
    animation-play-state: paused;
}

#mfa{
    display: none;
}

@media screen and (min-width: 600px) {
    * {
        font-size: 30px;
    }

    #logo{
        background-image: url("/app/src/graphics/Mathub Logo_long.svg");
}
}

@media screen and (max-width: 600px) {
    input {
        font-size: 18px;
    }

    #logo{
        background-image: url("/app/src/graphics/Mathub Logo_long.svg");
}
}

@media screen and (max-height: 655px) {
    footer{
        position: static;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
