* {
  box-sizing: border-box;
}



header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  height: auto;
    position:fixed;
    z-index:9999;
    width: 100%;
}
header h1 {
  margin-right: auto;
  padding: 0;
}
header h1 a {
  display: block;
  font-size: 20px;
  text-decoration: none;
}
header h1 a img {
  height: 50px;
  margin-top: 7px;
}

.custom-navbar {
  margin: 0;
  padding: 0;
    text-align: right;
}
.custom-navbar li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  vertical-align: middle;
}
.custom-navbar li a {
  display: block;
  font-size: 15px;
  color: #515151;
  text-align: center;
  text-decoration: none;
  padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
}
.custom-navbar li a:hover {
  background-color: #323e48;
  color: #ffffff;
}

.menu-icon {
  display: none;
  background-color: transparent;
  border: 1px solid transparent;
  text-align: center;
  width: 45px;
  height: 45px;
  cursor: pointer;  
    position:fixed;
    right:5%;
    top:7px
        
}
.menu-icon:hover {
  background-color: #ededed;
}
.menu-icon:focus {
  outline: none;
}
.menu-icon span {
  color: #323e48;
  font-size: 20px;
}

.ripple-wave {
  position: relative;
  transition: background-color 0.6s ease;
  overflow: hidden;
}

.ripple-wave1 {
  position: relative;
  transition: background-color 0.6s ease;
  overflow: hidden;
    background-color: #e30513;
    border-radius: 5px;
}

.ripple-wave2 {
  position: relative;
  transition: background-color 0.6s ease;
  overflow: hidden;
    background-color: #898a8d;
    border-radius: 5px;
}

.ripple-wave3 {
  position: relative;
  transition: background-color 0.6s ease;
  overflow: hidden;
    background-color: #e30513;
    border-radius: 5px;
}

.ripple-wave:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transform-style: flat;
  transform: translate3d(-50%, -50%, 0);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  transition: width 0.3s ease, height 0.3s ease;
}
.ripple-wave:focus, .ripple-wave:hover {
  background: #fb512e;
}
.ripple-wave:active:after {
  width: 200px;
  height: 200px;
}

@media (min-width: 481px) and (max-width: 761px) {
  header {
    position: relative;
  }
  header h1 {
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  header h1 {
    margin-right: auto;
  }
}
@media (max-width: 1024px) {
  header {
    position: fixed;
  }

  .custom-navbar {
    opacity: 0;
    position: fixed;
    z-index: 2;
    top: 8%;
    right: 0;
    width: 250px;
    height: 380px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 1s ease;
      border-radius: 0 0 0 20px;
  }
  .custom-navbar.open {
    opacity: 1;
    right: 0;
  }
  .custom-navbar li {
    display: block;
  }
  .custom-navbar li a {
    text-align: left;
      padding-left: 20px;
  }

  .menu-icon {
    display: block;
  }
    
}


@media(max-width:1366px) {
 .custom-navbar li a {font-size: 13px;}   
}
@media(max-width:1280px) {
 .custom-navbar li a {font-size: 12px;}  
}
@media(max-width:1024px) {
  .custom-navbar li a {padding-left:20px;font-size: 15px;} 
    .ripple-wave1 {margin-left:20px; margin-right:20px; font-size: 12px;margin-bottom: 10px;}
    .ripple-wave2 {margin-left:20px; width:55px; font-size: 12px; text-align: center;margin-bottom: 10px;}
    .ripple-wave3 {margin-left:20px; width:55px; font-size: 12px; text-align: center;margin-bottom: 10px;}
}
@media(max-width:991px) {
    .custom-navbar {top: 4%;}
}
@media(max-width:800px) {
    .custom-navbar {top: 5%;}
}

@media(max-width:768px) {
    .custom-navbar {top: 6%;}
}

@media(max-width:600px) {
    .custom-navbar {top: 4.5%;}
}

@media(max-width:480px) {
    .custom-navbar {top: 4.8%;}
    .menu-icon {right:5%; top:2px}
}
@media(max-width:414px) {
   .custom-navbar {top: 5.6%;}
    .menu-icon {right:5%; top:2px} 
}

@media(max-width:375px) {
    
}