.header-wrapper {
  padding: 0;
  overflow: hidden;
  position: fixed;
  /* Set the navbar to fixed position */
  top: 0;
  /* Position the navbar at the top of the page */
  width: 100%;
  /* Full width */
  z-index: 2;
}

.header-wrapper.scrolled {
  background-color: #fff !important;
  transition: background-color 200ms linear;
}

.meniu {
  margin: 0 auto;
  position: relative;
  width: 100%;
  z-index: 20;
  /* background-color: rgba(255, 255, 255, 0.5); */
}

#logo {
  margin: 0 auto;
  height: 92px;
  overflow: hidden;
  text-align: center;
  position: relative;
  width: 160px;
  z-index: 20;
}

#logo img {
  height: 92px;
  width: auto;
  margin: 0 auto;
  display: block;
}

#logo h1 a {
  display: block;
}

#logo h1 a span {
  margin-left: -999999px;
}

#primary-menu {
  display: flex;
  top: 28px;
  left: 0;
  text-transform: uppercase;
  width: 100%;
  z-index: 10;
}

#primary-menu .split-menu {
  /* border: 1px dashed #ddd; */
  border-width: 1px 0;
  float: left;
  width: 35em;
  align-content: space-evenly;
}

#primary-menu .right-menu {
  float: right;
}

/* parent menu */
#primary-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 36px;
  text-align: center;
  /*     position: relative;
 */
}

#primary-menu ul li {
  /* border: 1px dashed #fff; */
  border-width: 1px;
  position: relative;
  display: inline-block;
  z-index: 40;
  /* display: inline;  */
  zoom: 1;
  list-style: none;
  padding: 0 6px;

}

#primary-menu ul li:hover {

  visibility: inherit;
}

#primary-menu a:hover {
  /* 	border: 1px dashed #ddd;
	border-width: 0 1px;
	visibility: inherit; */
  color: rgba(0, 0, 0, 0.1);
}

#primary-menu ul li a {

  /* line-height: 36px; */
  /* padding: 0 20px; */

  text-decoration: none;
  position: relative;
  font-size: 1.3em;
  display: block;
  font-weight: bold;

  color: rgba(0, 0, 0, 0.8);
}

#primary-menu ul a:hover {
  /*  color: #769c00; */
}


#primary-menu ul li a::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../img/wave.png);
  -webkit-background-clip: text;
  background-repeat: repeat-x;
  -webkit-animation: animation 2s linear infinite;
  animation: animation 2s linear infinite;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
}

#primary-menu ul li a:hover:before {
  width: 100%;
}

@-webkit-keyframes animation {
  0% {
    background-position: 0px;
  }

  100% {
    background-position: 200px;
  }
}

@keyframes animation {
  0% {
    background-position: 0px;
  }

  100% {
    background-position: 200px;
  }
}

/* sub menu */
#primary-menu ul ul {
  border: 1px dashed #ddd;
  border-width: 0 1px;
  position: absolute;
  left: -1px;
  display: none;
  text-align: left;
  white-space: nowrap;
}

#primary-menu ul ul li a {
  text-align: left;
}

#primary-menu ul ul li {
  display: block;
}

#primary-menu ul ul li,
#primary-menu ul ul li:hover {
  border: none;
  border-bottom: 1px dashed #ddd;
}

#primary-menu ul li:hover ul,
#primary-menu ul li.sfHover ul {
  display: block;
  top: 36px;
  z-index: 99;
}

#primary-menu ul ul ul {
  display: none !important;
}


.header {
  position: relative;
  text-align: justify;
  background: linear-gradient(60deg, rgba(84, 58, 183, 1) 0%, rgba(0, 172, 193, 1) 100%);
  color: white;
}

.logo {
  width: 50px;
  fill: white;
  padding-right: 15px;
  display: inline-block;
  vertical-align: middle;
}

.inner-header {
  height: auto;
  /* width: 80%; */
  margin: 0;
  padding: 0 10%;
}

.inner-header p {
  text-indent: 20px;
}

.inner-header h1 {
  padding-top: 30px;
}

.inner-header2,
.inner-header3 {
  height: auto;

  margin: 0;
  padding: 0 10%;
}

.inner-header2 p {
  text-indent: 20px;
}

.text-indent {
  text-indent: 25px;
}

.inner-header2 h1,
.inner-header3 h1 {
  padding-top: 30px;
}

/*=========================================*/
/* Media queries
/*=========================================*/

@media screen and (max-width: 1235px) {
  .meniu {
    width: auto;
    /* max-width: 720px; */
  }

  #primary-menu {
    display: flex;
    margin-top: 20px;
    position: static;
  }

  #primary-menu .split-menu {
    float: left;
    width: 50%;
  }

  #primary-menu .left-menu>ul {
    text-align: center;
  }

  #primary-menu .right-menu>ul {
    text-align: center;
  }

}