* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  padding: 0 20px 0 20px;
  background-image: url(/equalizer-landing-page//assets/bg-main-desktop.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: IBM Plex Sans, Arial, sans-serif;
}

header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  .shapes {
    width: 19.5rem;
    margin-top: -2.5rem;
  }
}

.text {
  padding: 0 5.1875rem 2rem 10.375rem;
  width: 78%;

  nav {
    img {
      width: 9.125rem;
      padding-top: 3.85rem;
    }
  }

  h1 {
    padding: 6.963rem 0 1rem 0;
    font-size: 5.5rem;
    line-height: 1.1;
  }

  p {
    padding-top: 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
  }
}

/* Main */
main {
  margin-top: 19rem;
}

.black-box {
  width: 69.25rem;
  height: 37.5rem;
  position: relative;
  border-radius: 1.5rem;
  margin: 0 auto;
  background-color: #191826;
  overflow: hidden;
  z-index: 0;

  .pattern {
    margin-top: -2.5rem;
    margin-left: 30%;
  }
}

.mobile-app {
  width: 20rem;
  margin-left: 4.563rem;
  top: 39.5rem;
  left: 12rem;
  position: absolute;
  z-index: 1;
}

.premium-card {
  background-color: #FA7453;
  color: #fff;
  width: 27.875rem;
  height: 38rem;
  border-radius: 0.7rem;
  position: absolute;
  z-index: 1;
  right: 17rem;
  top: 60rem;
  padding: 3.5rem;

  h3 {
    font-size: 2.5rem;
    padding-bottom: 1.5rem;
    font-weight: 500;
  }

  p {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 200;
  }

  .full-price {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 200;
  }

  .price {
    font-size: 4.063rem;
    font-weight: 500;
    margin-right: 0.9rem;
  }

  .buttons {
    display: flex;
    flex-direction: column;

    span {
      font-size: 1.125rem;
      margin-left: 0.3rem;
    }

    .ios {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.7rem;
      border-radius: 0.5rem;
      border: 0;
      background-color: #191826;
      color: #FCFAF9;
      margin-bottom: 1rem;
    }

    .ios:hover {
      background-color: #66E2DC;
      cursor: pointer;
    }

    .android {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.7rem;
      border-radius: 0.5rem;
      border: 0;
      background-color: #FCFAF9;
      color: #191826;
    }

    .android:hover {
      background-color: #FFB964;
      cursor: pointer;
    }
  }
}


/* Footer */
footer {
  padding: 12.5rem 10.375rem 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .footer-content {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: flex-start;

    img {
      width: 9.125rem;
    }
  }

  .contact {
    width: 80%;

    a {
      text-decoration: none;
      color: #191826;
      font-weight: 700;
    }
  }
}

/* Tablet Responsiveness */
@media (min-width: 768px) and (max-width: 1439px) {
  body {
    background-image: url(/equalizer-landing-page//assets/bg-main-tablet.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  header {
    display: flex;
    justify-content: space-between;

    .shapes {
      width: 16.667rem;
      margin-right: -1.5rem;
    }

    .text {
      padding: 0 2.438rem;

      h1 {
        font-size: 4rem;
        line-height: 1.1;
      }

      p {
        padding-top: 1rem;
        font-size: 0.99rem;
        line-height: 1.5;
      }
    }
  }

  main {
    margin-top: 15rem;
  }

  .black-box {
    width: 43.5rem;
    overflow: hidden;
    z-index: 0;
  }

  .mobile-app {
    width: 16.888rem;
    top: 42rem;
    left: 2rem;
    position: absolute;
    z-index: 1;
  }

  .premium-card {
    width: 24.938rem;
    height: 34.125rem;
    padding: 2.5rem;
    position: absolute;
    z-index: 1;
    right: 6rem;
    top: 60rem;

    .full-price {
      padding: 0.8rem 0;
    }

    .price {
      font-size: 4.063rem;
    }
  }

  footer {
    padding: 12rem 2.438rem 5rem 2.438rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    .footer-content {
      display: flex;
      flex-direction: column;

      .contact {
        margin-top: 2rem;
        width: 65%;
      }
    }
  }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  body {
    background-image: url(/equalizer-landing-page//assets/bg-main-mobile.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  header {
    .shapes {
      display: none;
    }

    .text {
      padding: 0 1.45rem;
      width: 100%;

      h1 {
        padding: 5rem 0 1rem 0;
        font-size: 2.5rem;
        line-height: 1.1;
      }

      p {
        padding-top: 1rem;
        font-size: 1rem;
        line-height: 1.5;
      }
    }
  }

  .black-box {
    width: 43.5rem;
  }

  main {
    margin: 12rem 0 25rem 0;
  }

  .black-box {
    width: 23.438rem;
    height: 37.5rem;
    position: relative;
    z-index: 0;

    .pattern {
      width: 17.5rem;
      margin-top: 0.125rem;
      margin-left: 12%;
    }
  }

  .mobile-app {
    width: 13rem;
    height: 26.875rem;
    top: 36rem;
    left: 1rem;
    position: absolute;
    z-index: 1;
  }

  .premium-card {
    width: 23.438rem;
    height: 34.125rem;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 66.5rem;
    padding: 2.7rem;

    .full-price {
      padding: 0.7rem;
    }

    p {
      font-size: 1rem;
      line-height: 1.7;
    }
  }

  footer {
    display: flex;
    padding: 0 1.4rem 2rem 1.4rem;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 3rem;
    font-size: 0.8rem;

    .footer-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;

      .contact {
        margin-top: 1.5rem;
      }
    }
  }
}