
#top-nav {
  position: fixed;
/*background: linear-gradient(0deg, rgba(234,242,245,0.4881302862942052) 0%, rgba(115,212,227,1) 100%);*/
background: rgba(234,242,245,0.35);
-webkit-backdrop-filter: blur( 5px );
backdrop-filter:blur(5px);

box-shadow: 0 3px 20px rgba(black, 0.2);
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 30px 5px 30px;
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

}


#main-menu {
position: relative;
/*top: 21%;
left: 30%;*/
display: flex;
width: 90%;


}

#main-menu .current-menu-item > a{
  color: #fff;
  background-color: #328de0;
}


#main-menu ul {
/*  display: block;
  text-align: center;*/
  display: flex;
            justify-content: center;
            margin: 0;
            padding: 0;
}

#main-menu ul li {
  display: inline-block;
  position: relative;

  list-style: none;
  text-align: center;
  margin: 15px 0;
  opacity: 1;
padding: 10px;
  font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 1.32rem;
}

#main-menu ul li a {
display: inline-block;
  position: relative;
  color: #0b3b7f;
  text-decoration: none;
background-color: #fff;
  border-radius: 20px;

  font-weight: 600;
  padding: 5px 5px;
text-align: center;

    letter-spacing: 5px;
}

#main-menu ul li a:hover {
  color: #fff;
background-color: #328de0;
}


#menu-foot li {
  display: block;
  clear: both;
}

.opener {
            left: 80%;
            position: absolute;
            top: 0px;
            width: 1rem;
            height: 2rem;
            cursor: pointer;
            z-index: 10;
            display: flex;
            justify-content: center;
            align-items: center;
        }


        .opener svg {
            width: 0.5rem;
            height: auto;
        }

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

    #main-menu {

      left: 28%;
      width: 95%;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1600px) {


  #main-menu {
display: flex;
float: left;
    left: 23%;
    width: 95%;
  }
}
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
#main-menu {
left: 0;

width: 100%;


}
}


        @media only screen and (max-width: 1024px) {
            #top-nav {
              /* display: flex;
                justify-content: space-between;*/
                display: block;
                  text-align: center;
                  padding: 30px 30px 25px 30px;
            }

                #hamburger {
                height: 2rem;
                width: 2rem;
                padding: 0.5rem;
                background: #0b3b7f;
                border-radius: 50%;
                display: flex;
                flex-flow: column;
                justify-content: space-between;
                margin: 0;
                cursor: pointer;
                position: fixed;
                right: 5%;
            }

            #hamburger span {
                position: relative;
                display: block;
                height: 2px;
                background: #fff;
                opacity: 1;
                border-radius: 3px;
                -webkit-transition: .3s ease-in-out;
                -moz-transition: .3s ease-in-out;
                -o-transition: .3s ease-in-out;
                transition: .3s ease-in-out;
            }

            #hamburger span:nth-child(1) {
                top: 0;
            }

            #hamburger span:nth-child(3) {
                bottom: 0;
            }

            #hamburger.open span:nth-child(1) {
                top: 50%;
                margin-top: -1px;
                -webkit-transform: rotate(135deg);
                -moz-transform: rotate(135deg);
                -o-transform: rotate(135deg);
                transform: rotate(135deg);
            }

            #hamburger.open span:nth-child(3) {
                bottom: 50%;
                margin-bottom: -1px;
                -webkit-transform: rotate(-135deg);
                -moz-transform: rotate(-135deg);
                -o-transform: rotate(-135deg);
                transform: rotate(-135deg);
            }

            #hamburger.open span:nth-child(2) {
                opacity: 0;
            }

            #main-menu ul {
                overflow: hidden;
                display: block;
                margin-top: 18%;
margin-left: 60%;
                margin-right: -70%;
                /*margin-right: -15%;*/
                text-align: center;
                -webkit-transition: all .8s ease-in-out;
                -moz-transition: all .8s ease-in-out;
                -o-transition: all .8s ease-in-out;
                transition: all .8s ease-in-out;
            }

            #main-menu ul.open
           {

                opacity: 1;
                max-height: 1000px;
            }

            #main-menu ul {
                max-height: 0;
                opacity: 0;
            }

            #main-menu ul li {
                text-align: center;
                display: block;
            }

            #main-menu ul li:last-of-type a {
                border: none;
            }

            #main-menu ul li a {
                padding: 0;
                margin: 0;
                display: block;

            }


            .opener {
                left: 0px;
                position: absolute;
                top: 0px;
                width: 2rem;
                height: 2rem;
                cursor: pointer;
                z-index: 200;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .opener svg {
                width: 50%;
                height: auto;
                -webkit-transition: 0.3s ease-in-out;
                -moz-transition: 0.3s ease-in-out;
                -o-transition: 0.3s ease-in-out;
                transition: 0.3s ease-in-out;
            }

            .open.opener svg {
                -webkit-transform: rotate(180deg);
                -moz-transform: rotate(180deg);
                -o-transform: rotate(180deg);
                transform: rotate(180deg);
            }
        }

@media only screen and (max-width: 390px) {
  #main-menu ul {
    width: 100%;
margin-left: 10%;

      /*margin-right: -15%;*/

  }
}
