* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Alexandria", sans-serif;
}

body {
  min-height: 100vh;
}

.header {
  position: relative;
  height: 96px;
  left: 0px;
  top: 0px;
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 4px 20px rgba(125, 75, 196, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
  height: 100%;
}

.logo {
  width: 157.56px;
  height: 48px;
}

.header__nav {
  display: flex;
  gap: 48px;
}

.nav__link {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #3c245e;
  transition: all .3s ease;
}

.nav__link:hover {
  color: #56436f;
}

.header__right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.lang-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style-type: none;
  text-decoration: none;
  width: 48px;
  height: 31px;
  border: 1px solid #3C245E;
}

.lang-item-ru {
  border-radius: 30px 0 0 30px;
}

.lang-item-en {
  border-radius: 0 30px 30px 0;
}

.lang-item a {
  font-size: 12px;
  font-weight: 400;
  color: #1E1E1E;
  text-decoration: none;
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
}

.current-lang {
  background-color: #3C245E;
}

.current-lang a {
  color: #FFFF;
}

.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email,
.phone {
  color: #3c245e;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s ease;
}

.email:hover, .phone:hover {
  color: #56436f;
}

@media screen and (max-width: 980px) {
  .header {
    height: auto;
    min-height: 96px;
  }

  .header-content {
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 12px;
  }

  .logo {
    order: 1;
  }

  .header__nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 32px;
    padding: 8px 0;
  }
}

@media (max-width: 490px) {
	.header__right {
		width: 100%;
	}
	
	.contacts {
		margin-left: 0;
	}
}

@media (max-width: 400px) {
    .header-content {
        padding: 16px 12px;
    }

    .header__nav {
        justify-content: space-between;
    }
}