:root {
  --body-bg: #dda15e;
  --nav: #606c38;
  --nav-hover: #283618;
  --color: #ccff33;
}

body
{
    background-color: var(--body-bg);
    color: var(--color);
    font-family: "Montserrat", sans-serif;
    margin: 0;
}


nav 
{
    width: 100%;
    background-color: var(--nav);
    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;
}

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

a
{
    width: 100%; height: 100%;
    text-decoration: none;
    color: var(--color);
}

a:hover
{
    transition-duration: 500ms;
    background-color: var(--nav-hover);
}		

#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;
}

#vertical
{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 76px;
    border: solid 1px;
}

#upper, #lower
{
    flex-grow: 1;
    height: 50%;
    border: solid 1px;
    text-align: center;
    vertical-align: middle;
    line-height: 37px;
    display: flex;
}

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