body {
  background-color: white;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  font-size: 25px;
}

h1 {
  font-size: 45px;
  font-weight: bold;
}

h2 {
  font-size: 35px;
  font-weight: bold;
}

h3 {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.subtext {
  font-size: 20px;
}

.highlight {
  color: #00cc08;
}

.wide-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.narrow-wrapper {
  width: max(1170, 100%);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;
}

.global-wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.header {
  width: 100%;
  height: 400px;
  margin-top: -60px;
  margin-bottom: 60px;
  text-align: center;
  color: white;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: url("./assets/header-bg.png") center/cover no-repeat;
  clip-path: ellipse(70% 100% at 50% 0);

  * {
    line-height: 1.2em;
  }
}

.phone-image-row {
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 30%;
  }
  img:nth-child(2) {
    width: 40%;
  }
}

.text-to-image-block {
  width: 100%;
  display: flex;
  flex-direction: row;

  gap: 15px;

  .image {
    flex: 1 1 260px;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      object-fit: cover;
      width: 260px;
      aspect-ratio: 1/1;
      border-radius: 130px;
      box-shadow: -15px 15px 20px rgba(102, 255, 108, 0.6);
    }
  }

  .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 661px;
  }
}

.text-to-image-block.right {
  justify-content: flex-end;
  .image {
    img {
      box-shadow: 15px 15px 20px rgba(102, 255, 108, 0.6);
    }
  }
  .text {
    text-align: right;
    align-items: flex-end;
  }
}

.numbered-grid-wrapper {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 60px;

  background-image: linear-gradient(rgba(0, 0, 0, 0.8)),
    url("./assets/numbered-grid-bg.jpeg");

  /* parallax */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;

  .numbered-grid {
    width: min(1170px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    padding-top: 100px;
    padding-bottom: 40px;

    .numbered-section {
      position: relative;
      color: white;
      margin-top: 100px;
      margin-left: 100px;

      .number {
        position: absolute;
        font-weight: 600;
        color: rgba(102, 255, 108, 0.5);
        left: -50px;
        top: -94px;
        font-size: 100px;
        z-index: 0;
      }

      .subtext {
        position: relative;
        z-index: 1;
      }
    }
  }
}

.fasie-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: 1170px;
  gap: 0;

  .text {
    text-align: left;
    font-weight: 600;
    max-width: 616px;
    font-size: 30px
  }
  margin-bottom: 60px;
  a > img {
    min-width: 200px;
  }
}


@media (max-width: 720px) {
  body {
    font-size: 12px;
  }
  h1 {
    font-size: 15px;
  }
  h2 {
    font-size: 15px;
  }
  h3 {
    font-size: 15px;
  }
  .subtext {
    font-size: 10px;
  }
  .header {
    margin: 0;
    height: 165px;
  }

  .narrow-wrapper {
    width: 100%;
    gap: 16px;
    padding: 16px;
  }

  .text-to-image-block {
    gap: 15px;

    .image {
      flex: 0 0 auto;
      max-width: 120px;
      display: flex;
      justify-content: flex-end;
      align-items: center;

      img {
        width: 100%;
        box-shadow: -8px 8px 10px rgba(102, 255, 108, 0.6);
      }
    }

    .text {
      flex: 1 1 auto;
    }
  }

  .text-to-image-block.right .image {
    justify-content: flex-start;
    img {
      box-shadow: 8px 8px 10px rgba(102, 255, 108, 0.6);
    }
  }

  .numbered-grid-wrapper {
    background-attachment: scroll;
    margin: 0;

    .numbered-grid {
      width: 100%;
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;

      .numbered-section {
        margin-top: 30px;
        margin-left: 30px;
        .number {
          font-size: 50px;
          left: -25px;
          top: -47px;
        }
      }
    }
  }

  .fasie-wrapper {
    .text {
      font-size: 10px;
    }

    a > img {
      min-width: 148px;
    }
  }
}

@media (min-width: 768px) {
  .narrow-wrapper {
    gap: 40px;
    padding: 0 12px 0 12px;
  }

  .text-to-image-block {
    .image {
      width: 260px;
      height: 260px;

      img {
        object-fit: cover;
        width: 260px;
      }
    }
  }

  .numbered-grid-wrapper {
    .numbered-grid {
      width: 1170px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;

      padding-top: 100px;
      padding-bottom: 40px;

      .numbered-section {
        position: relative;
        color: white;
        margin-top: 30px;
        margin-left: 30px;
        .number {
          left: -0.3em;
        }
      }
    }
  }
}
