.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(to left top, hsla(0, 0%, 0%, 0.6), hsla(56, 94%, 48%, 0.6)),
  url(/images/img.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: hsl(0, 0%, 100%);
}

.sub-header h1 {
  margin-top: 100px;
}

.contact {
  position: relative;
}

.contactUs {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.contactUs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: hsl(0, 0, 95%);
}

.containers {
  position: relative;
  min-width: 1100px;
  min-height: 550px;
  display: flex;
  z-index: 1000;
}

.containers .contactInfo {
  position: absolute;
  top: 40px;
  width: 350px;
  height: calc(100% - 80px);
  background: #032D3C;
  z-index: 1;
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 25px hsla(0, 0%, 0%, 0.15);
}

.containers .contactInfo h2 {
  color: hsl(0, 0%, 100%);
  font-size: 24px;
  font-weight: 500;
}

.containers .contactInfo ul.infos {
  position: relative;
  margin: 20px 0;
}

.containers .contactInfo ul.infos li {
  position: relative;
  list-style: none;
  display: flex;
  margin: 20px 0;
  cursor: pointer;
  align-items: flex-start;
}

.containers .contactInfo ul.infos li span:nth-child(1) {
  width: 30px;
  min-width: 30px;
}

.containers .contactInfo ul.infos li span:nth-child(1) img {
  max-width: 100%;
  filter: invert(1);
}

.containers .contactInfo ul.infos li span:nth-child(2) {
  color: hsl(0, 0%, 100%);
  margin-left: 10px;
  font-weight: 300;
}

.containers .contactInfo ul.infos li a {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
}

.containers .contactInfo ul.infos li a:hover {
  color: #F7FF56;
}

.containers .contactForm {
  position: absolute;
  padding: 70px 50px;
  padding-left: 250px;
  margin-left: 150px;
  width: calc(100% - 150px);
  height: 100%;
  background: hsl(0, 0%, 100%);
  box-shadow: 0 50px 50px hsla(0, 0%, 0%, 0.25);
}

.contactForm h2 {
  color: #F7FF56;
  font-size: 24px;
  font-weight: 500;
}

.contactForm .formBox {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
}

.contactForm .formBox .inputBox {
  position: relative;
  margin-bottom: 35px;
}

.contactForm .formBox .inputBox.w50 {
  width: 47%;
}

.contactForm .formBox .inputBox.w100 {
  width: 100%;
}

.contactForm .formBox .inputBox input, textarea {
  width: 100%;
  resize: none;
  padding: 5px 0;
  font-size: 18px;
  font-weight: 300;
  color: hsl(0, 0%, 20%);
  border: none;
  outline: none;
  border-bottom: 1px solid hsl(0, 0%, 47%);
}

.contactForm .formBox .inputBox textarea {
  height: 120px;
}

.contactForm .formBox .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  pointer-events: none;
  font-size: 18px;
  font-weight: 300;
  transition: 0.3s;
}

.contactForm .formBox .inputBox input:focus ~ span,
.contactForm .formBox .inputBox input:valid ~ span,
.contactForm .formBox .inputBox textarea:focus ~ span,
.contactForm .formBox .inputBox textarea:valid span{
  transform: translateY(-20px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #F7FF56;
}

.contactForm .formBox .inputBox input[type="submit"] {  
  position: relative;
  cursor: pointer;
  background: #F7FF56;
  color: hsl(0, 0%, 100%);
  border: none;
  max-width: 150px;
  padding: 12px;
}

.contactForm .formBox .inputBox input[type="submit"]:hover {
  background: hsl(63, 100%, 55%);
}

@media (max-width: 1200px) {
  .containers {
    width: 90%;
    min-width: auto;
    margin: 20px;
    box-shadow: 0 20px 50px hsla(0, 0%, 0%, 0.2);
  }

  .containers .contactInfo {
    top: 0;
    height: 550px;
    position: relative;
    box-shadow: none;
  }

  .containers .contactForm {
    position: relative;
    width: calc(100% - 350px);
    padding-left: 0;
    margin-left: 0;
    padding: 40px;
    height: 550px;
    box-shadow: none;
  }
}

@media (max-width: 991px) {
  .contactUs {
    background: linear-gradient(to bottom, hsl(0, 0, 95%), hsl(215, 100%, 95%));
  }

  .contactUs::before {
    display: none;
  }

  .containers {
    display: flex;
    flex-direction: column-reverse;
  }

  .containers .contactForm{
    width: 100%;
    height: auto;
  }

  .containers .contactInfo{
    width: 100%;
    height: auto;
    flex-direction: row;
  }

  .containers .contactInfo ul.sci {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .containers .contactForm {
    padding: 25px;
  }

  .containers .contactInfo {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .containers .contactInfo ul.sci {
    margin-top: 40px;
  }

  .containers .contactForm .formBox .inputBox.w50 {
    width: 100%;
  }
}

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.location iframe {
  width: 100%;
}


