.header {
  padding-left: 5%;
  width: 90%;
}

.header-bg {
  padding-left: 15px;
  padding-right: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
}

.header__main {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  border-top: 1px solid #ccc;
}

.header__main img {
  padding-right: 2.5%;
  width: 300px;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 24px;
  margin-left: auto;
}

.header__nav > * {
  height: 40px;
  box-sizing: border-box;
}

.header__nav img {
  width: auto;
  object-fit: contain;
}

.header__nav a,
.header__nav button {
  display: flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
}

.header__burger,
.header__mobile {
  display: none;
}

@media (max-width: 1200px) {
  .header {
    position: relative;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;

    margin-left: auto;
    width: 44px;
    height: 44px;

    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
  }

  .header__mobile {
    display: none;
    position: absolute;

    top: 100%;
    right: 0;

    flex-direction: column;
    align-items: stretch;
    border-radius: 15px;

    gap: 12px;
    padding: 20px;

    min-width: 220px;

    background: gray;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    z-index: 10;
  }

  .header__mobile.open {
    display: flex;
  }

  .header__mobile > * {
    min-height: 40px;
    box-sizing: border-box;
  }
}

.header__info {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.header__info-title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
}

.header__info-subtitle {
  font-size: 12px;
  line-height: 1.2;
  color: #777;
}

.hover-underline {
  position: relative;
  text-decoration: none;
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: currentColor;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.hover-underline:hover::after {
  transform: translateX(-50%) scaleX(1);
  height: 3px;
}

.hover-highlight {
  color: #bbbbbb;
  transition: color 0.25s ease;
}

.hover-highlight:hover {
  color: gold;
}

/* Text */
a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 25px;
  color: #f1f5f9;
  text-decoration: none;
}

span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #f1f5f9;
}

.address {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #f1f5f9;
  font-size:20px;
  font-weight:400;
  margin: 3px 0px 0px 13px;
  width: 580px;
  text-align: left;
}

.phone {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #f1f5f9;
  font-size:20px;
  font-weight:400;
  text-align: right;
  padding-right: 5px;
  width: 500px;
}

@media (max-width: 480px) {
  .phone {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 400;
    text-align: right;
    padding-right: 5px;
    width: 500px;
  }

  .address {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #f1f5f9;
    font-size:15px;
    font-weight:400;
    margin: 3px 0px 0px 13px;
    width: 580px;
    text-align: left;
  }
}

.nav__items {
  display: grid;
  grid-template-columns: repeat(3, 5%);
  gap: 200px;
  width: 600px;
}

.nav__item {
  height: 40px;
  width: 160px;
  text-align: center;
}

.nav__item img {
  width: 250px;
  height: auto;
  object-fit: cover;
}

.element {
  display: flex;
  align-items: center;
  gap: 5px;
}

.element img {
  filter: invert(30%);
  width: 40px;
  height: auto;
}

.index-routes img {
  width: 45px;
  height: auto;
}

@media (min-width: 901px) {
  .element img {
    filter: invert(30%);
    width: 80px;
    height: auto;
  }

  .index-routes img {
    width: 90px;
    height: auto;
  }
}