/* menu */
nav {
    height: 80px;
}

#menuToggle {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 2em;
    left: 1.5em;
    z-index: 1;
    user-select: none;
}

#menuToggle input {
    display: flex;
    width: 2em;
    height: 5em;
    margin-left: 0em;
    margin-top: -1em;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    position: fixed;
}

#menuToggle span {
    display: flex;
    width: 1.5em;
    height: 0.2em;
    margin-bottom: 0.3em;
    position: relative;
    background: #323A3F;
    border-radius: 5px;
    z-index: 1;
    transform-origin: 0.48em 0;
    transition: transform 0.5s,
    background 0.5s,
    opacity 0.55s ease;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0 100%;
}

#menuToggle input:checked + span {
    transform: rotate(45deg) translate(-0.3em, -.5em);
    background: #ffffff;
}

#menuToggle input:checked + span {
    position: fixed;
    transform: rotate(45deg) translate(-.4em, -.1em);
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(-.3em, .1em);
    background: #ffffff;
    position: fixed;
}

#menu {
    font-size: 1rem;
    position: fixed;
    width: 10em;
    height: 100em;
    top:0;
    bottom:0;
    left:0;
    right:0;
    box-shadow: 0 0 2em #b1b1b1;
    margin: 0  10em 10em -1em;
    padding: 0.5em;
    padding-top: 4em;
    background-color: #323A3F;
    overflow-y: auto;
}

#menu {
    transform: translate(-125%, 0);
    transition: transform 0.5s;
}

#menu input:checked {
    transition: transform 2s;
}

#menu li {
    padding-bottom: 0.9em;
    padding-left: 1em;
}

#list {
    padding: 0.5em 1em 2em;
}

#menuToggle input:checked ~ ul {
    transform: none;
}

#menu a:link {
    color: #ffffff;
    text-decoration: none;
}

#menu a:visited  {
    color: #ffffff;
    text-decoration: none;
}

#menu a.active::after, #menu a:active::after, #menu a:hover::after {
    content:' ';
    display:block;
    border: 1.5px solid #F08118;
    background: #F08118;
    width: 2em;
    margin-top: .25em;
    z-index: 3;
    position: absolute;
}

/* end menu */

/* side bar*/
#side-bar {
    background: #f8f8f8;
    padding: 1em;
    text-align: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: row;
    font-size: .5rem;
    width: 100vw;
}

#side-bar h1 {
    font-size: .8rem;
}

#side-bar .grid {
    margin-top: 2em;
}

#sponsors img {
    width: 3em;
    margin-bottom: 1em;
    transition: .5s linear;
    margin-right: 1em;
    margin-left: 1em;
}

#sponsors img:hover, #icon {
    transform: scale(1.1);
}

#sponsors {
    flex-direction: row;
    margin-top: 2em;
    margin-left: 2em;
    border-left: .25em black solid ;
}

/*end side bar*/

@media only screen and (min-width: 1200px) {
    /*menu*/
    #menuToogle input {
        display: none;
        transform: none;
    }

    #menuToggle input ~ span {
        display: none;
    }

    #menuToggle {
        display: flex;
    }

    #menu {
        box-shadow: none;
        transform: none;
        padding: .5em;
        font-size: 1.5rem;
        width: 10em;
    }

    /* side bar*/
    #side-bar {
        height: 100%;
        position: absolute;
        right: 0;
        flex-direction: column;
        font-size: 1rem;
        width: auto;
        justify-content: flex-start;
        align-items: center;
    }
    #side-bar h1 {
        font-size: 1.5rem;
    }

    #sponsors {
        flex-direction: column;
        border: none;
        margin: auto;
    }

}