/*
*******************************************
HEADER
*******************************************
*/

header {
  height: 190px;
  background: #666547;
  position: relative;
}

header .inner {
  position: relative;
  width: 1000px;
  height: 165px;
  margin: 0 auto;
}

header .inner .social ul {
  position: absolute;
  top: 37px;
  right: 0;
  z-index: 10;
}

header .inner .social ul li {
  list-style: none;
  display: inline-block;
  margin-right: 3px;
}

header .inner .social ul li a:hover {
  -webkit-filter: brightness(90%);
  filter: brightness(90%);
}

header .search {
  color: white;
  position: absolute;
  top: 110px;
  right: 0px;
  cursor: pointer;
}

header .search i {
  font-size: 160%;
}

header .search:hover {
  /* color: $nav-hover; */
  -webkit-filter: brightness(80%);
  filter: brightness(80%);
}

header .logo {
  position: absolute;
  top: 31px;
  z-index: 11;
}

header .logo img {
  width: 92px;
}

header .header-text .main-text {
  position: absolute;
  top: 47px;
  left: 121px;
}

header .header-text .sub-text {
  position: absolute;
  top: 97px;
  left: 144px;
}

header.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  height: 35px;
}

header.scrolled .inner {
  height: 35px;
}

header.scrolled .social {
  display: none;
}

header.scrolled .header-text {
  display: none;
}

header.scrolled .logo {
  left: 5px;
  top: 1px;
  margin-left: 0;
}

header.scrolled .logo img {
  width: 33px;
}

header.scrolled nav {
  box-shadow: 0 2px 4px rgba(51, 51, 51, 0.3);
}

header.scrolled .search {
  top: 5px;
  z-index: 11;
}

header.scrolled .search i {
  font-size: 150%;
}

@media only screen and (max-width: 1000px) {
  header .inner .social ul {
    position: absolute;
    top: 10px;
    right: 200px;
    z-index: 10;
  }
  header .search {
    top: 105px;
    right: 200px;
  }
}

@media only screen and (max-width: 800px) {
  header {
    height: 100px;
    background: var(--nav-text);
    position: relative;
  }
  header .inner {
    position: relative;
    width: 100%;
    height: 165px;
    margin: 0 auto;
  }
  header .inner .social ul {
    position: absolute;
    top: 5px;
    right: 20vw;
    z-index: 10;
    display: none;
  }
  header .inner .social ul li {
    list-style: none;
    display: inline-block;
    margin-right: 3px;
  }
  header .inner .social ul li a:hover {
    -webkit-filter: brightness(90%);
    filter: brightness(90%);
  }
  header .inner .social ul img {
    width: 5vw;
  }
  header .search {
    color: white;
    position: absolute;
    top: 7px;
    right: 20px;
    cursor: pointer;
  }
  header .search i {
    font-size: 160%;
  }
  header .search:hover {
    /* color: $nav-hover; */
    -webkit-filter: brightness(80%);
    filter: brightness(80%);
  }
  header .logo {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 11;
  }
  header .logo img {
    width: 50px;
  }
  header .header-text .main-text {
    position: absolute;
    top: 47px;
    left: 121px;
    display: none;
  }
  header .header-text .sub-text {
    position: absolute;
    top: 97px;
    left: 144px;
    display: none;
  }
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    height: 40px;
  }
  header .inner {
    height: 40px;
  }
  header .header-text {
    display: none;
  }
  header .logo {
    left: 5px;
    top: 3px;
    margin-left: 0;
  }
  header .logo img {
    width: 33px;
  }
  header nav {
    box-shadow: 0 2px 4px rgba(51, 51, 51, 0.3);
  }
  header .search i {
    font-size: 150%;
  }
}
