/* HEADER */

.header-content {
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: #004aad;
  color: white;
  padding: 10px 20px 0px 20px;
  grid-column: span 3;
  grid-row: 1 / 2;
  align-items: center;
}

.logo h1 {
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
}

a {
  color: white;
  text-decoration: none;
  transition: 0.2s ease-in;
}

a:hover {
  color: #ffde59;
}

.contacts {
  display: flex;
  gap: 2.3em;
  align-items: center;
}

.telNumAndEmail,
.social {
  display: flex;
  align-items: center;
  gap: 0.8em;
  /* margin: 0 20px; */
}

.social img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  background-color: white;
  border-radius: 6px;
  transition: 0.2s ease-in;
}

.social img:hover {
  background-color: #ffde59;
}

/* HEADER NAVIGATION */

.navigation {
  background-color: #004aad;
  color: white;
  text-align: center;
  box-shadow: 0px 5px 5px rgba(128, 128, 128, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 10px 0;
  grid-column: span 3;
  grid-row: 2 / 3;
}

.navigation div {
  margin: 0 20px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.2s ease-in;
}

.burger-icon .icon {
  display: none;
}

@media only screen and (max-width: 953px) {
  body {
    display: flex;
    flex-direction: column;
  }

  .header {
    flex-direction: row;
    padding-bottom: 0.5em;
    grid-column: span 3;
    /* position: fixed; */
    z-index: 1000;
  }

  .contacts {
    display: none;
  }

  .contacts .social {
    flex-direction: row;
    justify-content: center;
  }

  .navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    gap: 1em;
    transform: translateY(-200%);
    transition: transform 0.3s ease-in-out;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
  }

  .navigation.show {
    transform: translateY(30%);
  }

  .navigation div:first-child {
    margin-top: 0.5em;
  }

  .navigation .break {display: none;}

  .burger-icon a.icon {
    float: right;
    display: block;
    z-index: 1000;
  }

  /* RESPONSIVE NAV */
  .navigation.responsive {
    display: block;
  }
}
