:root {
  --jazzberryJam: #bd0f5b;
  --honeyFlower: #4087c9;
  --blueViolet: #23386f;
  --black: #000;
  --white: #fff;
}
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
}
figure,
img,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
p {
  color: var(--white);
}
h1 {
  font-size: 2.4rem;
  color: var(--white);
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}
h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--white);
}
h3{
  font-size: 1.6rem;
  padding-bottom: 2rem;
  padding-right: 4rem;
  padding-top: 0;
}
img {
  max-width: 100%;
  display: block;
}
.wrapper {
  max-width: 100%;
  padding-left: 4rem;
  padding-right: 4rem;
}
/* Main */
figure {
  background: url("images/meeting-594091_1920.jpg") no-repeat;
  height: 100vh;
  width: 100%;
}
.logo {
  max-width: 120px;
  padding: 2rem 4rem;
}
main {
  position: relative;
  width: 100%;
  display: flex;
}
.main-info {
  position: absolute;
  left: 0;
  bottom: 15vh;
  background-color: var(--jazzberryJam);
  padding: 3rem 4rem;
}
.main-info-heading {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.arrows {
  margin-right: 3rem;
}
.main-info-text {
  padding-left: 6.8rem;
  border-top: 1px solid var(--white);
}
.main-info-text p {
  padding-top: 2rem;
}
/* About */
.about {
  width: 100%;
  position: relative;
}
span {
  position: absolute;
  top: 5%;
  left: 10rem;
  color: #eee;
  font-size: 200px;
  font-weight: 900;
  display: block;
  z-index: -1;
}
.about-items {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-info {
  flex-basis: 45%;
}
.about-info-heading {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 65vh;
  padding-left: 4rem;
}
.about-image {
  flex-basis: 55%;
  background: url("images/office-1209640_1920.jpg") no-repeat center center;
  border-radius: 5px 0 0 5px;
  width: 100%;
  height: 80vh;
  margin-top: 9vh;
  margin-bottom: 9vh;
  background-size: cover;
}
.about h1 {
  color: var(--black);
  padding-bottom: 3rem;
  font-size: 2.4rem;
}
.about-info img {
  padding-bottom: 5.6rem;
}
.about-info-text {
  padding-left: 6.8rem;
  padding-right: 3rem;
  height: 45vh;
  background-color: var(--blueViolet);
}
.about-info-text p {
  padding-left: 4rem;
  padding-right: 2rem;
  padding-top: 3rem;
}
.about-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35vh;
  background-color: var(--blueViolet);
  z-index: -1;
}
/* About2 */
.about2{
  height: 100%;
  padding-bottom: 5rem;
}
.about-bg2 {
  background-color: var(--honeyFlower);
}
.about-info-text2 {
  background-color: var(--honeyFlower);
  padding-bottom: 5rem;
  height: 400px;
}
.about-info2 img {
  padding-bottom: 4.8rem;
}
.about-image2 {
  background: url("images/meeting-5395615_1920.jpg") no-repeat 12% center;
  border-radius: 5px 0 0 5px;
  display: block;
  background-size: cover;
}
/* Work */
.work {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("images/welder-673559_1920.jpg") no-repeat 12% center;
}
.work h1{
  margin-top: 10px;;
}
.work-items {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 0;
  background-color: var(--jazzberryJam);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.work-heading {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-basis: 40%;
}
.work-professions {
  flex-basis: 60%;
  padding: 4rem;
}
.work p {
  font-size: 15px;
  margin-bottom: 6px;
}
/* Contact */
.contact {
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
}
.contact-bg {
  background: url("images/team-4503157_1920.jpg") no-repeat 70% center;
  width: 100%;
  height: 100vh;
  flex-basis: 45%;
}
.contact-info {
  flex-basis: 55%;
  background-color: var(--blueViolet);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-heading {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 10rem;
  margin-left: 8.5rem;
}
.contact-items {
  display: flex;
  justify-content: center;
  padding-left: 6rem;
  padding-right: 6rem;
}
.contact-item {
  flex-basis: 30%;
  text-align: center;
  padding: 0 2rem;
}
.contact p {
  font-size: 18px;
  margin-bottom: 6px;
}
.contact-logo {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  display: block;
}

/* Media Queries */
@media screen and (max-width: 1420px) {
  /* Work */
  .work-professions {
    padding: 4rem 0;
  }
}
@media screen and (max-width: 1260px) {
  body {
    font-size: 20px;
  }
  span {
    left: 70%;
  }
  /* About */
  .about-items {
    flex-direction: column;
    height: 100vh;
    width: 100%;
  }
  .about-info,
  .about-image {
    flex-basis: 100%;
    height: 50vh;
  }
  .about-image2{
    margin-top: 10rem;
  }
  .about-info-heading {
    height: 40vh;
  }
  /* Work */
  .work-items {
    flex-wrap: wrap;
    justify-content: center;
  }
  .work-professions {
    padding: 4rem 2rem;
    width: 33%;
  }
  .work-heading {
    padding-top: 4rem;
    flex-basis: 100%;
  }
  /* Contact */
  .contact {
    flex-direction: column;
  }
  .contact-heading {
    margin-bottom: 4rem;
  }
  .contact-logo {
    display: none;
  }
  .contact p {
    font-size: 16px;
  }
}
@media screen and (max-width: 1025px) {
  body {
    font-size: 16px;
  }
  span {
    left: 60%;
  }
  h1 {
    font-size: 1.8rem;
  }
  main {
    flex-direction: column;
    align-items: center;
  }
  .main-info {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem 3rem;
    max-width: 90%;
  }
  .arrows {
    max-width: 30px;
  }
  .main-info-text {
    padding-left: 0;
  }
  /* About */
  .about-info-text p {
    padding-left: 2rem;
  }
  .about-info img {
    padding-bottom: 5.8rem;
  }
  .about-info2 img {
    padding-bottom: 8.3rem;
  }
  @media screen and (max-width: 768px) {
    .about-image {
      height: 20vh;
    }
    body{
      font-size: 15px;
    }
    h1, h3 {
      font-size: 1.4rem;
      text-align: center;
    }
    h3{
      padding-right: 1rem;
      padding-left: 1rem;
      padding-top: 2rem;
    }
    h2{
      font-size: 1.3rem;
    }
    span{
      display: none;
    }
    /* About */
    .about h1 {
      padding: 0;
    }
    .about-info-text {
      padding-left: 0;
      padding-right: 0;
      display: flex;
      justify-content: center;
    }
    .about-info-text p {
      text-align: center;
      padding-left: 2rem;
      padding-right: 2rem;
      line-height: 1.4rem;
    }
    .about-info-heading {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 20vh;
      padding-left: 0;
    }
    .arrows{
      display: none;
    }
    /* Work */
    .work{
      padding-top: 10rem;
      padding-bottom: 10rem;
    }
    .work-professions {
      padding: 0 2rem;
     flex-basis: 100%;
     text-align: center;
    }
    .work-items{
      padding-bottom: 4rem;
    }
    .work-heading {
      padding-bottom: 4rem;
    }
    /* Contact */
    .contact-items {
      flex-direction: column;
    }
    .contact-info {
     padding-top: 4rem;
     padding-bottom: 4rem;
    }
    .contact-item {
      padding-bottom: 5rem;
    }
    .contact-items{
      padding-left: 2rem;
      padding-right: 2rem;
    }
    .contact-heading {
     justify-content: center;
     margin-left: 0;
    }
  }
}
