* {
  box-sizing: border-box;
}

/********** Fonts **********/

* {
  font-family: "Plus Jakarta Sans", sans-serif;
}

h1 {
  font-size: clamp(40px, 5vw, 56px);
  color: #13183f;
  font-weight: 700;
  margin-bottom: 24px;
}

h2 {
  color: #13183f;
}

p {
  color: #83869a;
  line-height: 150%;
  font-size: 18px;
}

.tile-get-started {
  color: #f74780;
  text-decoration: none;
  font-weight: 600;
}

/********** Hero Section (Mobile First) **********/

body {
  background-color: whitesmoke;
  margin: 0;
  overflow-x: hidden;
}

.root-container {
  width: 95%;
  max-width: 1120px;
  margin: 16px auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}

.header-img {
  width: 80px;
  margin-top: 8px;
}

.header-img img {
  width: 100%;
}

.get-started-dark {
  margin: 0;
  text-decoration: none;
  background-color: #13183f;
  color: white;
  padding: 12px 28px;
  border-radius: 24px;
}

.get-started-dark:hover {
  background-color: #666ca3;
}

.hero {
  position: relative;
}

.hero-text {
  margin-bottom: 48px;
}

.get-started-pink {
  margin: 0;
  text-decoration: none;
  background: linear-gradient(to top, #f02aa6, #ff6f48);
  color: white;
  padding: 12px 28px;
  border-radius: 24px;
}

.get-started-pink:hover {
  background: #ffa7c3;
}

.hero-img-container {
  background-image: url(assets/image-hero-mobile.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 80px auto;
  height: 300px;
  width: 100%;
  transform: scale(1.3);
}

/********** Bottom (Tiles) **********/
.gradient {
  background: linear-gradient(to top, #f02aa6, #ff6f48);
  margin-bottom: 16px;
}

.white {
  color: white;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px;
}

.tile {
  flex-basis: 328px;
  /* border: 2px solid yellowgreen; */
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background-color: white;
}

.tile-img {
  width: 56px;
  height: 56px;
  position: absolute;
  top: -28px;
}

.tile:not(:nth-of-type(1)) h2 {
  margin-top: 40px;
}

.tile-get-started:hover {
  color: #ffa7c3;
}

/********** Footer **********/

footer {
  background-color: #13183f;
  display: block;
  padding: 24px 16px;
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  width: 75%;
}
.footer-img {
  width: 80px;
  margin-top: 8px;
}

.footer-img img {
  width: 100%;
}

.get-started-gradient {
  color: white;
  text-decoration: none;
  background: linear-gradient(to bottom, #4851ff, #f02aa6);
  padding: 12px 28px;
  border-radius: 24px;
}

.get-started-gradient:hover {
  background: #ffa7c3;
}

/********** Media Queries **********/

@media (min-width: 760px) {
  .hero {
    max-width: clamp(328px, 50vw, 544px);
  }

  .hero-img-container {
    background-image: url(assets/image-hero-tablet.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    transform: scale(2);
    position: absolute;
    top: -140px;
    left: 60vw;
    z-index: -1;
  }
  .flex-container {
    margin-top: 200px;
  }

  .get-started-dark {
    margin-right: 13vw;
  }

  footer {
    background-color: #13183f;
    display: block;
    padding: 24px 16px;
    margin-top: 64px;
    display: flex;
    justify-content: center;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    width: 75%;
  }

  .footer-img {
    margin-top: 8px;
  }
}

@media (min-width: 1100px) {
  .white {
    font-size: 30px;
  }

  .get-started-dark {
    margin-right: 7vw;
  }

  .hero {
    position: static;
  }

  .hero-img-container {
    background-image: url(assets/image-hero-desktop.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    transform: scale(0.75);
    position: absolute;
    top: -290px;
    left: 33vw;
    z-index: -1;
  }
  .tile {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .tile h2 {
    margin-bottom: 0;
  }

  footer {
    background-color: #13183f;
    display: block;
    padding: 24px 16px;
    margin-top: 64px;
    display: flex;
    justify-content: center;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    width: 75%;
  }

  .footer-img {
    margin-top: 8px;
  }
}
