nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2.5%;
  position: fixed;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;transition: all 0.5s ease;
  top:0;
}
nav.nav-top{background-color: transparent;}
nav.nav-scroll{background-color: #0c084c;border-radius:0px 0px 0px 25px;padding:5px 2%;}
/* Top nav middle */
.topnav a, .nav-clickeable {
    font-family: 'Titillium Web',sans-serif;
    font-weight: bold;
    font-size:14px;
    color:#fff;
    text-transform: uppercase;
    padding:5px 15px;
    margin:15px;
}
#nav-switch a:hover{transform:scale(1.02);transition: all 0.5s ease;}
/* Logo */
.logo-top{width:150px;transition: all 0.5s ease;}
.logo-scroll{width:80px;transition: all 0.5s ease;}
#myTopnav{display:block;}
#mytopnav-small{display:none;}
/* Overlay */
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(12, 8, 76, 1);
    overflow-x: hidden;
    transition: 0.5s;
  }
.overlay-content {
    position: relative;
    top: 15%;
    width: 100%;
    text-align: center;
    margin-top: 30px ;
    margin-left:20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
.overlay a {
    font-family: 'Titillium Web',sans-serif;
    font-weight: bold;
    padding: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #f1f1f1;
    display: block;
    transition: 0.3s;text-align: left;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  .underline{
    vertical-align: 			middle;
      -webkit-transform: 			perspective(1px) translateZ(0);
      transform:					perspective(1px) translateZ(0);
      box-shadow: 				0 0 1px transparent;
      position: 					relative;
      overflow: 					hidden;
  }
  .underline:before {
      content: 					"";
      position: 					absolute;
      z-index: 					-1;
      left: 						0;
      right: 						100%;
      bottom: 					0;
      background: 				#00b7a8;
      height: 					1.5px;
  -webkit-transition-property:	right;
      transition-property: 		right;
  -webkit-transition-duration:	0.3s;
      transition-duration: 		0.3s;
  -webkit-transition-timing-function:ease-out;
      transition-timing-function: ease-out;
  }
  .underline:hover:before, .underline:focus:before, .underline:active:before {
    right: 0;
  }
/** dropown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #0c084c;
  min-width: 150px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 100!important;
  border-radius: 15px;
}
.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
text-align: left!important;
}
.dropdown-content a:hover {background-color: #0c0761;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #0c084c;}
@media screen and (max-width: 1100px) {
    .topnav a, .nav-clickeable {font-size:12px;padding:5px;}
    .logo-top{width:120px;}
}
@media screen and (max-width: 850px) {
    #myTopnav{display:none;}
    #mytopnav-small{display: block;}
    .logo-top{width:100px;}
}
  @media screen and (max-height: 450px) {
    .overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
    .logo-top{width:80px;}
  }