#header {
  position: relative;
  height: 100dvh;
  overflow: hidden;
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../assets/images/header.jpg');
  background-size: cover;
  background-position: center;
}

#header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.2);
}

#header .promo-logo {
  position: absolute;
  top: 2%;
  left: 5%;
  z-index: 5;
}

#header .brand-logo {
  position: absolute;
  top: 7%;
  right: 5%;
  z-index: 6;
}

#header .promo-desc {
  color: #fff;
  position: absolute;
  bottom: 5%;
  left: 5%;
  z-index: 5;
}

#header .promo-desc>h4 {
  color: inherit;
  font-size: 22px;
}

#header .promo-desc>h1 {
  font-family: 'Mulish', sans-serif;
  font-size: 73px;
  font-weight: 600;
}

#header .contact-icons {
  position: fixed;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  right: 1%;
  align-content: center;
  z-index: 5;
}

#header .contact-icons>div {
  padding: 10px;
  margin: 7px 0;
  border-radius: 50px;
  background-color: var(--primary-color);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: .4s;
}

#header .contact-icons>div:hover {
  filter: brightness(1.2);
}

#header .nav-bar {
  position: absolute;
  right: 0;
  left: 0;
  top: 7%;
  margin: 0 auto;
  z-index: 5;
}

#header .form-container {
  width: 400px;
  padding: 30px;
  position: fixed;
  right: 80px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: fit-content;
  background-color: var(--primary-color);
  border-radius: 10px;
  transform: translateX(1000px);
  transition: .7s ease-in-out;
  z-index: 100;
}
#header .form-container.display{
  transform: translateX(0);
}

@media(max-width: 1200px) {
  #header .nav-bar {
    left: unset;
    right: 5%;
  }
}

@media(max-width: 998px) {
  #header .promo-logo {
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
  }

  #header .brand-logo {
    position: absolute;
    left: 0;
    right: 0;
    top: unset;
    bottom: calc(5% + 160px);
    text-align: center;
    margin: 0 auto;
  }

  #header .brand-logo>img {
    height: 25px;
  }

  #header .promo-desc {
    padding: 0 15px;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
  }

  #header .promo-desc>h1 {
    font-size: 56px;
  }
}

@media(max-width: 480px) {
  #header .promo-desc>h1 {
    font-size: 48px;
  }

  #header .contact-icons>div>img {
    width: 30px;
  }
  .contact-icons__mail,
    #header .form-container {
      display: none;
    }
}