*,
*::before,
*::after {
  box-sizing: border-box;
}

.navbar > * {
  min-width: 0;
}

.header {
  font-family: 'NunitoSans', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;           /* высота меню */
  background: rgba(0, 0, 0, 0.425);
  z-index: 1000;
  overflow: hidden;
  /* border: solid 2px yellow; */
}

.content {
  padding-top: 85px;      /* ТА ЖЕ высота */
}

.navbar {
  display: flex;
  height: 100%;
  width: 100%;
  /* max-width: 100%; */
  justify-content: space-between;
  align-items: center;
  vertical-align: middle;
  padding-inline: 20px;
  margin: 0;
  /* border: solid 2px yellow; */
}

.losgeht {
  background-color: transparent;
  border: 2px solid #d6be72;
  color: #d6be72;
  border-radius: 10px;
  padding: 15px 30px;
  font-family: 'NunitoSans', sans-serif;
  /* font-size: 18px; */
  cursor: pointer;
  line-height: 1;
  /* border: solid 2px yellow; */
}

.losgeht:hover {
  background: #d6be72;
  color: black;
    box-shadow:
    0 0 20px rgba(244, 223, 155, 0.7),
    0 0 40px rgba(244, 223, 155, 0.4);
  /* transform: translateY(-2px); */
  transition: background-color 0.3s, color 0.3s;
}

.logo {
  font-family: 'NunitoSans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #d6be72;
  text-decoration: none;
  line-height: 1;
  /* border: solid 2px yellow; */
}

.sublogo {
  font-size: 12px;
  color: #d6be72;
  text-decoration: none;
  letter-spacing: 0.95em;
  line-height: 1;
  /* border: solid 2px yellow; */
}

.drop {
  display: flex;
  height: 100%;
  justify-content: space-between;
  margin-right: 20px;
  position: relative;
  align-content: center;
  vertical-align: middle;
  /* border: solid 2px yellow; */
}

/* .logo-place { */
  /* margin-left: 20px; */
  /* margin-right: 20px; */
  /* border: solid 2px yellow; */
/* } */

.menu-item {
  width: auto;
  justify-items: center;
  display: flex;
  gap: 25px;
  /* border: solid 2px yellow; */
}

.menu-item a {
  /* font-size: 18px; */
  text-decoration: none;
  color: #d6be72;
  display: flex;
  text-align: center;
}

.menu-item a:hover {
  text-decoration: underline;
}

.burger {
  display: none;
}

.globus {
  display: none;
  align-content: center;
  justify-content: center;

}

.left-nav {
  width: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  /* border: solid 2px yellow; */
}

.right-nav {
  width: auto;
  min-width: 0;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
  align-content: center;
  gap: 40px;
  /* border: solid 2px yellow; */
}

/* .nav-cta {
  border: solid 2px yellow;
} */

.lang-switch {
  display: flex;
  font-size: 14px;
  min-width: 0;
  flex-wrap: wrap;
  text-align: center;
  gap: 8px;
  align-content: center;
  justify-content: center;
  /* margin: 20px 0; */
  /* padding-inline: 20px; */
  /* border: solid 2px yellow; */
}

.lang-item {
  align-content: center;
  justify-content: center;
}

.lang-switch button {
  padding: 6px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: #d6be72;
  border-radius: 12px;
  font-family: 'NunitoSans', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  opacity: 0.7;
}

.lang-switch button.active {
  opacity: 1;
  background: #d6be72;
  color: black;
  font-weight: 600;
}

.lang-switch button.active:hover {
  opacity: 1;
    box-shadow:
    0 0 20px rgba(244, 223, 155, 0.7),
    0 0 40px rgba(244, 223, 155, 0.4);
  transform: translateY(-2px);
}

.lang-switch button:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.lang-switch2 {
  display: none;
  /* border: solid 2px yellow; */
  align-items: center;
  justify-content: center;
  padding-right: 20px;
}

.lang-btn {
  padding: 6px 14px;
  border: 2px solid #d6be72;
  background: #d6be72;
  color: black;
  border-radius: 12px;
  font-family: 'NunitoSans', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
}

.lang-btn button:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.globus-lang {
  display: flex;
  min-width: 0;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  color: #d6be72;
}

@media (max-width: 1500px) {
  .header {
    overflow: visible;
  }

  .globus {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    width: auto;
    height: auto;
    background: none;
    cursor: pointer;
    z-index: 10;
    position: relative;
  }

  .globus-lang {
    flex-shrink: 1;     /* позволяет сжиматься */
    white-space: nowrap;
    overflow: hidden;   /* прячем лишнее */
    text-overflow: ellipsis;  /* если нужно, показывать троеточие */
  }

  .lang-item {
    display: none;
  }

  .menu-item {
    gap: 30px;
}

  .lang-switch {
    position: relative;
  }

  .lang-switch.open .lang-item {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 60px;
    background-color: #154655d7;
    border-radius: 10px;
    top: 100%;
    right: 0;
    z-index: 2500;
    padding: 5px;
  }
}

.contact-link {
  display: none;
}


@media (max-width: 1300px) {  
  .nav-cta {
    display: none;
  }

  .contact-link {
    display: block;
  }
}


@media (max-width: 1150px) {
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 32px;
    background: none;
    cursor: pointer;
    z-index: 10;
    position: relative;
  }

  .left-nav {
    justify-content: space-between;
    width: 100%;
    padding-right: 20px;
  }

  .right-nav {
    width: fit-content;
  }

  .burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #d6be72;
    border-radius: 2px;
  }

  .menu-item {
    display: none;
  }

  .cheeseburger.open .menu-item {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 200px;
    text-align: left;
    background-color: #154655d7;
    border-radius: 10px;
    top: 100%;
    right: 0;
    z-index: 2000;
    padding: 20px;
  }

  .menu-item a {
    margin-top: 20px;
  }
}

@media (max-width: 500px) {
  .header {
    height: 75px;  
  }

  main {
    padding-top: 75px;
  }

  section {
    scroll-margin-top: 75px;
  }

  .content {
    padding-top: 75px;
  }


  .burger {
    width: 35px;
    height: 28px;
  }

  .logo {
    font-size: 25px;
  }

  .sublogo {
    font-size: 10px;
  }

  .left-nav {
    gap: 20px;
  }
}

@media (max-width: 350px) {
  .header {
    height: 70px;  
  }

  main {
    padding-top: 70px;
  }
  
  section {
    scroll-margin-top: 70px;
  }

  .content {
    padding-top: 70px;
  }
}