/***
HEADER
***/
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  background-color: rgba(255,255,255,0);
  transition: background-color 0.35s ease;
  isolation: isolate;
  overflow-x: hidden;
}

header.is-scrolled,
header.mobile-menu-open,
body.is-blog-page header,
body.is-pricing-page header {
  background-color: var(--color-surface-dark);
}

header .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 80px;
}

.header-extra-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
  z-index: 2;
}

header h1 {
  margin: 0 auto;
  font-family: "Manrope", "Helvetica", "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 40px;
  font-weight: 500;
  color: #f4f4f4;
  text-transform: lowercase;
  opacity: 0.8;
  transition: color 0.15s ease;
}

header .logo-container a:hover h1 {
  color: var(--color-surface-light);
}

.hamb-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  overflow: hidden;
}

.hamb-menu span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
}

.hamb-menu span:nth-child(2) {
  margin: 3px 0;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

header nav ul li {
  list-style: none;
  margin: 0 30px 0 0;
}

header nav ul li:last-child {
  margin-right: 0;
}

header nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Helvetica", "Open Sans", sans-serif;
  font-size: 12px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #f3f4f4;
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

header nav ul li a:hover {
  color: var(--color-surface-light);
}

header nav ul li a.menu-whatsapp {
  color: #1fb556;
  font-weight: 500;
}

header nav ul li a#menu-lang {
  width: 28px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.4px;
  border: 1px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

header nav ul li a#menu-lang:hover {
  background-color: #fff;
  color: var(--color-brand-blue);
}


@media (max-width: 980px) {
  header {
    width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
  }

  header .row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  header.mobile-menu-open .row {
    height: 100dvh;
  }

  .header-extra-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 80px;
    padding: 20px 0;
  }

  header .logo-container {
    min-width: 0;
    max-width: calc(100% - 48px);
  }

  header h1 {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  header nav {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
  }

  header nav ul {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-content: flex-end;
    box-sizing: border-box;
    overflow: hidden;
  }

  header nav ul li {
    margin: 0;
    text-align: right;
  }

  header nav ul li a {
    font-size: 24px;
    line-height: 64px;
    text-align: right;
    overflow-wrap: anywhere;
  }

  header nav ul li a#menu-lang {
    width: 40px;
    height: 40px;
    line-height: 38px;
    font-size: 12px;
    margin-top: 40px;
    margin-left: auto;
    text-align: center;
  }

  .hamb-menu {
    display: flex;
  }

  .hamb-menu span {
    background-color: #f4f4f4;
  }
}
