header {
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 6;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: height 300ms;
}

header a {
    text-decoration: none;
    color: inherit;
}

#banner {
    height: 70px;
    padding: 7px;
    padding-bottom: 0;
    cursor: default;
    font-family: 'Kalam', cursive;
}

#banner div {
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
}

#banner * {
    float: left;
}

#banner span:nth-of-type(1) {}

#banner span:nth-of-type(2) {
    color: #FB4242
}

#banner span:nth-of-type(3) {
    color: #009999
}

#banner span:nth-of-type(4) {
    color: #308505
}

#banner span:nth-of-type(5) {
    color: #FFAA00
}

#banner span:nth-of-type(6) {
    color: #FF0000
}

#banner span:nth-of-type(7) {
    color: #005e5e
}

#banner h1 {
    margin: 18px 0 0 10px;
    color: grey;
    font-weight: 100;
    font-size: 1.5em;
    font-family: 'Roboto', sans-serif;
}

nav>ul {
    list-style-type: none;
    margin: 0px;

}

nav li {
    cursor: pointer;
    margin-top: 0 !important;
}

nav a {
    width: 100%;
    height: 100%;
}

footer {
    height: 50px;
    position: relative;
    bottom: 0px;
    width: 100%;
    margin-top: 50px;
    font-size: 0.8em;
    text-align: right;
    padding-top: 5px;
}

footer .autoMarger {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

footer a {
    text-decoration: none;
    color: inherit;
}

#onMenuFilter {
    display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.301);
    z-index: 2;
}

#menuBtn {
    display: none;
}

@media only screen and (min-width: 950px) {

    /*on scroll*/
    .headerOnScrollDesktop {
        transition: height 300ms 175ms;
        height: 80px;
    }

    header h1 {
        transition: opacity 300ms;
    }

    .h1OnScrollDesktop {
        opacity: 0;
    }

    .ulOnScrollDesktop {
        transition: left 250ms ease-in-out, top 200ms 200ms ease-in-out;
        top: -50px;
        left: 254px;
    }

    nav>ul {
        position: relative;
        transition: left 250ms 50ms ease-in-out, top 200ms ease-in-out;
        top: 0;
        left: 0;
    }

    /*on scroll*/
    header {
        height: 120px;
    }

    #banner {
        padding-left: 15px;
    }

    nav ul {
        padding-left: 15px;
        width: 100%;
    }

    nav li {
        float: left;
        margin-right: 10px;
        padding: 4px 12px 4px 12px;
        border-radius: 15px;
    }

    nav li:hover {
        box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    }
}

@media only screen and (max-width: 949px) {
    header {
        height: 105px;
        transition: height 400ms;
    }

    .headerOnScroll {
        height: 80px;
        transition: height 400ms;
    }

    #banner * {
        float: unset;
        text-align: center;
    }

    #banner div {
        line-height: 1.3;
    }

    #banner h1 {
        margin: 0;
        font-size: 1em;
        font-weight: bold;
        padding-bottom: 20px;
        transition: opacity 250ms;
    }

    .bannerH1OnScroll {
        opacity: 0;
        transition: opacity 250ms;
    }

    /*nav*/
    nav>ul {
        width: 100%;
        margin: 0;
        margin-top: 28px;
        padding-left: 0 !important;
        position: relative;
        left: 104%;
        background: white;
        list-style: none;
        transition: transform 550ms;
    }

    .showMenu {
        transform: translateX(-104%);
        transition: transform 550ms;
    }

    nav>ul {
        position: absolute;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
    }

    nav ul li {
        border-bottom: lightgrey 1px solid;
        font-size: 1em;
        text-align: center;
        padding: 20px 0px;
        box-shadow: none !important;
    }

    /*menu btn*/
    #menuBtn {
        display: block;
        position: absolute;
        top: 7px;
        right: 7px;
        width: 60px;
        height: 60px;
        padding: 0px;
        background: white;
        border: none;
        box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.3);
    }

    #menuBtn:focus {
        outline: none !important;
    }

    #translateXer {
        position: relative;
        width: 60px;
        height: 60px;
        transition: transform 300ms;
    }

    #menuBtn div div {
        width: 75%;
        height: 4px;
        position: absolute;
        left: 7px;
        border-radius: 3px;
        background-color: black;
        transition: transform 300ms, width 200ms, opacity 250ms, background-color 200ms;
        margin-top: 0px;
        transform-origin: left;
    }

    #menuBtn div div:nth-child(1) {
        top: 15px;
    }

    #menuBtn div div:nth-child(2) {
        top: 28px;
    }

    #menuBtn div div:nth-child(3) {
        bottom: 15px;
    }

    .xTranslate {
        transform: translateX(10px);
        transition: transform 300ms;
    }

    .shrinkAni {
        width: 0% !important;
        opacity: 0;
    }

    .aniFirst {
        transform: rotate(45deg);
        background-color: #FFAA00 !important;
        width: 62% !important;
    }

    .aniSecond {
        transform: rotate(-45deg);
        width: 62% !important;
    }
}

@media only screen and (max-width: 400px) {
    header {
        height: 90px;
    }

    .headerOnScroll {
        height: 70px;
    }

    #banner div {
        font-size: 2.5em;
    }

    #menuBtn {
        transform: scale(0.8);
        top: 0;
        right: 0;
    }

    nav>ul {
        margin-top: 13px;
    }
}

@media only screen and (max-width: 360px) {
    header {
        height: 85px;
    }

    .headerOnScroll {
        height: 60px;
    }

    #menuBtn {
        transform: scale(0.7);
        right: -1px;
    }

    #banner div {
        font-size: 2.25em;
    }

    nav>ul {
        margin-top: 8px;
    }
}