body
{
    flex-wrap: wrap;
    background-color: #837d68;
    color: #ccc;
    font-family: "Montserrat", sans-serif;
    margin: 0px;
    text-decoration: none;
    display: flex;
}

nav 
{
    height: 30%;
    width: 100%;
    background-color: #c00;
    display: flex;
}

div.nav
{
    display: flex;
    height: 76px;
    flex-grow: 5;
    text-align: center;
    vertical-align: middle;
    line-height: 76px;
    border: solid 1px;
    flex-basis: 200px;
}

div#login
{
    display: flex;
    height: 76px;
    flex-grow: 1;
    text-align: center;
    vertical-align: middle;
    line-height: 76px;
    border: solid 1px;
    min-width: 100px;
}

a
{
    text-decoration: none;
    color: white;
    width: 100%; height: 100%;
}


a.nav:hover
{
    transition-duration: 500ms;
    background-color: #a00;
}

#create-account-window
{
    display: flex;
    flex-direction: column;
    width: 40%;
    background-color: #8a9db1;
    color: white;
    margin: auto;
    margin-top: 5%;
    text-align: center;
    padding: 3%;
    padding-top: 2%;
    font-size: 40px;
    min-width: 200px;
    max-width: 300px;
    padding-bottom: 1%;
    height: 500px;
}


input
{
    width: 100%;
    height: 40px;
    font-size: 20px;
    background-color: #bac8b1;
    color: black;
    border: none;
}

.input-error
{
    width: 100%;
    height: 16px;
    font-size: 15px;
    color: #E62828;
    font-weight: bold;
    text-align: left;
}

#submit
{
    width: 60%;
}


#log-in
{
    line-height: 60px;
    vertical-align: center;
    margin-top: auto;
    bottom: 15px;
    font-size: 20px;
    height: 12%;
    color: black;
    transition: 0.5s ease-out;
}

#log-in a:hover
{
    color: lightgray;
    text-decoration: underline;
}


#messages
{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10%;
    left: 40%;
    right: 40%;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    animation: disappear 500ms 5s forwards;
}

#successful
{
    background-color: #06402B;
    color: #0f0;
    border-radius: 20px;
    text-align: center;
    padding: 10px;
}

#unsuccessful
{
    border-radius: 20px;
    text-align: center;
    padding: 10px;
    background-color: #8b0000;
    color: #f00;
}


@keyframes disappear
{
  from {opacity: 1;}
  to {opacity: 0; display: none;}
}