header {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 60px;
    font-size: 18px;
    z-index: 100;
    background-color: #39495C;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,.3);
}

.logo {
    height: 100%;
    width: 220px;
    background: url("../resources/logo.png") no-repeat center center;
    background-size: 200px;
}

@media screen and (max-width: 565px) {
    .logo {
        display: none;
    }
    #logout {
        font-size: 0.95em;
    }
}

.menu {
    flex-grow: 2;
    display: flex;
    height: 100%;
}

.menu a, #logout {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.menu a {
    flex-grow: 1;
    height: 100%;
    padding: 0px 5px;
    color: #EDF0F1;
}
.menu a:hover {
    background-color: #10151A;
    animation-name: backgroundColorFade;
    animation-duration: 1s;
}

#logout {
    flex-grow: .2;
    height: 100%;
    padding: 0px 5px;
    color: #EDF0F1;
    background-color: #2F3E4E;
}
#logout:hover {
    color: #5296D5;
    animation-name: colorFade;
    animation-duration: .5s;
}

.active {
    background-color: #447EB4;
}
.active:hover {
    background-color: #447EB4 !important;
    animation-duration: 0s !important;
}

@keyframes backgroundColorFade {
    from {background-color: #39495C;}
    
    to {background-color: #10151A;}
    
}
@keyframes colorFade {
    from {color: #EDF0F1;}
    
    to {color: #5296D5;}
    
}
