html {
  max-width: 1440px;
  display: block;
  margin: 0 auto;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Red Hat Display', sans-serif;
}

header {
  width: 100%;
  height: 108px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.main-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 0;
  width: 100%;
}

.center {
  text-align: center;
  margin: 32px;
  padding: 25px 25px 0;
}

h1 {
  font-size: 64px;
  font-weight: bolder;
  line-height: 110%;
  margin: 0;
  color: rgba(40, 40, 61);
}

.h2-banner {
  margin: 32px 0;
  color: rgba(135, 135, 157, 1);
  font-size: 18px;
}

.cta-banner-1, .cta-banner-2 {
  border-radius: 50px;
  padding: 0 40px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.ctas {
  display: flex;
  gap: 17px;
  justify-content: center;
}

.cta-banner-1 {
  background-color: rgba(77, 150, 169, 1);
  color: white;
  transition: background-color 0.3s;
}

.cta-banner-1:hover {
  background-color: rgba(113, 192, 212, 1)
}

.cta-banner-2 {
  background-color: rgba(133, 95, 177, 1);
  color: white;
  transition: background-color 0.3s;
}

.cta-banner-2:hover {
  background-color: rgba(177, 139, 221, 1);
}

.left-profile, .right-profile {
  height: fit-content;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.number1, .number2 {
  border: solid 3px rgba(209, 209, 223, 1);
  color: rgba(135, 135, 157, 1);
  border-radius: 99px;
  width: 56px;
  height: 56px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.number2 {
  position: relative;
  z-index: 2;
  top: 28px;
  background-color: white;
}

.vertical-line {
  border: solid 1px rgba(209, 209, 223, 1);
  background-color: rgba(209, 209, 223, 1);
  height: 80px;
  width: 1px;
}

.number {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collage {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 64px 0;
  flex-wrap: wrap;
}

.collage img {
  border-radius: 8px;
  width: 256px;
  height: 256px;
}

.text-content {
  width: 544px;
  margin: 0 auto;
}

.title {
  text-transform: uppercase;
  font-size: 16px;
  color: rgba(77, 150, 169, 1);
  letter-spacing: 4px;
  font-weight: bold;
  margin: 0;
}

h2 {
  font-size: 40px;
  color: rgba(40, 40, 61, 1);
  font-weight: bold;
  padding: 16px 50px 0;
  margin: 0;
}

.description-content {
  color: rgba(135, 135, 157, 1);
  font-size: 18px;
  font-weight: 500;
  margin-top: 32px;
}

.main-content {
  padding-bottom: 72px;
}

footer {
  font-family: 'Red Hat Display', sans-serif;
}

.footer {
  background: linear-gradient(rgba(92, 158, 175, 0.8)), url('assets/desktop/image-footer.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 312px;
  color: white;
  padding: 0 80px;
}

.footer-left {
  font-size: 40px;
  font-weight: bold;
  text-align: left;
  width: 400px;
}

.footer-center {
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  width: 400px;
  padding-left: 50px;
}

.footer-right {
  text-align: right;
  width: 400px;
}

.footer button {
  background-color: rgba(133, 95, 177, 1);
  transition: background-color 0.3s;
}

.footer button:hover {
  background-color: rgba(177, 139, 221, 1);
}

/* Tablet */
@media (max-width: 768px) {
  .main-banner {
    display: inline;
  }

  .left-profile, .right-profile {
    width: 50%;
    height: auto;
  }

  .center {
    width: 100%;
    height: auto;
  }
}

/* Mobile */
@media (max-width: 400px) {
    html {
        max-width: 100%;
    }
    body {
        max-width: 100%;
    }

    .left-profile, .right-profile {
        display: flex;
    }

    .main-banner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 32px 16px;
        gap: 24px;
    }

    .center {
        width: 90%;
        padding: 0 16px;
        margin: 0;
        align-self: flex-end;
    }

    h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .h2-banner {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
        padding: 0;
    }

    .description-content {
        font-size: 16px;
    }

    .ctas {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .cta-banner-1, .cta-banner-2 {
        width: 100%;
        max-width: 300px;
        padding: 12px;
    }

    .collage {
        gap: 16px;
        justify-content: center;
    }

    .collage img {
        width: 45%;
        height: auto;
    }

    .text-content {
        width: 100%;
        padding: 0 16px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        padding: 32px 16px;
        gap: 24px;
        height: auto;
        text-align: center;
        background: linear-gradient(rgba(92, 158, 175, 0.8)), url('assets/mobile/image-footer.jpg');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .footer-left, .footer-center, .footer-right {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .footer button {
        width: 100%;
        max-width: 300px;
        padding: 12px;
    }
}
