body {
  background-color: #e8e9ed;
}

header {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/photos/bg1.jpg) center / cover no-repeat;
  height: 6.7rem;
}

.about-section {
  padding: 6.5rem 0 5rem 0;
  background: linear-gradient(to top left, #4f5f86, #29375b, #141e38);
  color: white;
}

.about-section-heading {
  margin: 5rem 0;
  text-align: center;
  font-size: 5rem;
}

.about-section-container {
  display: flex;
  justify-content: space-between;
}

.about-section-content {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-basis: 60%;
}

.content--heading {
  font-size: 3rem;
}

.content--description {
  font-size: 1.7rem;
  line-height: 1.5;
}

.content--description p:not(p:nth-of-type(3)) {
  margin-bottom: 3rem;
}

.about-worktogether-button {
  margin: 4rem 0;
}

.about-worktogether-btn {
  font-size: 1.5rem;
  background-color: #8c93a3;
}

.techs-section {
  margin-bottom: 10rem;
}

.techs-section-heading {
  text-align: center;
  font-size: 5rem;
  margin-bottom: 10rem;
}

.techs-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, auto));
  row-gap: 5rem;
}

.techs-item {
  width: 12rem;
  justify-self: center;
  align-self: center;
  transition: .2s;
}

.techs-item:hover {
  transform: scale(1.1);
}

.techs-item:nth-of-type(2) {
  width: 9rem;
}

.techs-item:nth-of-type(5) {
  grid-row: 2;
  grid-column: 1 / 2;
}

.techs-item:nth-of-type(6) {
  grid-row: 2;
  grid-column: 2 / 3;
  width: 15rem;
}

.techs-item:nth-of-type(7) {
  width: 20rem;
}

@media screen and (max-width: 1040px) {

  .about-section-container {
    gap: 3rem;
    padding: 4rem;
  }

  .content--heading {
    font-size: 2.5rem;
  }

  .content--description {
    font-size: 1.5rem;
  }

  .techs-item {
    width: 10rem;
  }

  .techs-item:nth-of-type(2) {
    width: 7.5rem;
  }
}

@media screen and (max-width: 820px) {
  .about-section-container {
    flex-direction: column;
  }

  .about-section-heading {
    margin-bottom: 1rem;
  }

  .about-section-content {
    order: 2;
  }

  .about-section-image {
    text-align: center;
  }

  .about-section-image img {
    width: 20rem;
  }

  @media screen and (max-width: 540px) {
    .about-section-content {
      text-align: center;
    }

    .techs-items {
      grid-template-columns: 1fr 1fr;
    }

    .techs-item:nth-of-type(3) {
      grid-row: 2;
      grid-column: 2 / 3;
    }

    .techs-item:nth-of-type(6) {
      grid-row: 3;
      grid-column: 2 / 3;
    }
  }
}