a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}

nav {
  position: fixed;
  top: 0;
  width: 80%;
  max-width: 100%;
  color: #fff;
  z-index: 999;
  /* Auto Layout */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.7rem 10%;
  transition: transform 0.3s, background-color 0.3s;
}

.is-hide {
  transform: translateY(-100%);
}

.is-blur {
  /* Background-Blur */
  background: rgba(45, 50, 55, 0.4);
  backdrop-filter: blur(4px);
}

nav #nav-left {
  width: 104px;
  height: 65px;
  flex-shrink: 0;
  cursor: pointer;
}

nav #nav-right {
  /* Auto Layout */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
}

nav .language {
  font-size: 20px;
  margin-left: 20px;
  cursor: pointer;
  /* hide button */
  /* visibility: hidden; */
}

nav .nav-link {
  /* Inside Auto Layout */
  /* flex: none;
  order: 0;
  flex-grow: 0;
  padding: 0px 1.5rem; */
  height: 50%;
  margin: 0 1.2rem;
  padding: 0 1px;
  position: relative;
  display: flex;
  align-items: center;
}

nav .nav-link::after {
  content: " ";
  width: 0;
  height: 1px;
  display: block;
  position: absolute;
  right: 0;
  transition: 0.3s;
  background-color: #fff;
  bottom: -2px;
}

nav .nav-link:hover::after {
  width: 100%;
}

nav #nav-right-mobile {
  display: none;
}

#icon-menu {
  width: 2rem;
}

@media screen and (max-width: 900px) {
  nav #nav-left {
    width: 88px;
    height: 55px;
  }

  nav #nav-right {
    display: none;
  }

  nav #nav-right-mobile {
    display: inline;
  }
}

/* Mobile Menu */
.nav__menu {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 998;
  background: #101114;
  /* flex */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav__item {
  list-style: none;
  text-align: center;
  font-size: 2.5rem;
  line-height: 7rem;
  font-weight: 200;
  color: #fff;
}

.nav__menu .language {
  font-size: 24px;
}

.menuicon {
  display: block;
  cursor: pointer;
  color: white;
  transform: rotate(0deg);
  transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menuicon__bar,
.menuicon__circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}

/* Icon Animation */
.menuicon.toggle-on {
  transform: rotate(180deg);
  transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menuicon__bar:nth-child(1).toggle-on,
.menuicon__bar:nth-child(4).toggle-on {
  opacity: 0;
}

.menuicon__bar:nth-child(2).toggle-on {
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-in-out;
}

.menuicon__bar:nth-child(3).toggle-on {
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-in-out;
}

.menuicon__bar {
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-in-out;
}
/* Preserve the supplied Sirius Matic lockup proportions. */
nav #nav-left img { display: block; width: 100%; height: 100%; object-fit: contain; }
