@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700;900&display=swap');

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F8F7 49.91%, #FFF9F5 94.19%);
  color: #54575A;
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* ========== WRAPPER ========== */
.wrapper {
  position: relative;
  width: 1440px;
  height: 1379px;
  margin: 0 auto;
}

/* ========== BRANDING ========== */
.brand-img {
  position: absolute;
  width: 193px;
  height: 47.64px;
  top: 50.25px;
  left: 221px;
}

/* ========== TEXT AREA ========== */
.text-container {
  position: absolute;
  top: 236px;
  left: 221px;
  width: 458px;
  text-align: left;
}

.title {
  font-weight: 700;
  font-size: 64px;
  line-height: 67.5px;
  margin: 0 0 24px 0;
  color: #2D2D2D;
}

.text {
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #54575A;
  margin: 0 0 40px 0;
}

/* ========== STORE BUTTONS ========== */
.app-store-btn,
.google-play-btn {
  position: absolute;
  top: 531px;
  height: 46.28px;
}

.app-store-btn {
  left: 221px;
}

.google-play-btn {
  left: 381.81px;
}

.app-store-btn img {
  width: 138.44px;
  height: 46.28px;
}

.google-play-btn img {
  width: 156.19px;
  height: 46.28px;
}

/* ========== MAIN IMAGE (TILTED PHONE) ========== */
.main-image-container {
  position: absolute;
  width: 535.72px;
  height: 309.27px;
  top: 229.73px;
  left: 683.28px;
}

.main-image-container img {
  width: 100%;
  height: auto;
  transform: rotate(-12deg);
  object-fit: contain;
}

/* ========== PHONE MOCKUPS BELOW ========== */
.profile-img {
  position: absolute;
  width: 224px;
  height: 470px;
  top: 913px;
  left: 737px;
}

.orders-img {
  position: absolute;
  width: 224px;
  height: 470px;
  top: 913px;
  left: 479px;
}

.home-img {
  position: absolute;
  width: 224px;
  height: 470px;
  top: 908px;
  left: 995px;
}

.cart-img {
  position: absolute;
  width: 224px;
  height: 222px;
  top: 1157px;
  left: 221px;
}

.product-img {
  position: absolute;
  width: 224px;
  height: 222px;
  top: 1157px;
  left: 737px;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 1200px) {
  .wrapper {
    transform: scale(0.85);
    transform-origin: top center;
  }
}

@media (max-width: 900px) {
  .wrapper {
    transform: scale(0.7);
  }
}

@media (max-width: 600px) {
  .wrapper {
    transform: scale(0.55);
  }
}

/* Background Toggles */
.background-toggles {
  position: absolute;
  right: 150px;
  top: 70px;
  display: flex;
}

.background-toggles > div {
  height: 25px;
  width: 25px;
  border-radius: 5px;
  margin-right: 10px;
  box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;

}

/* Backgrounds */
.background-1 {
  background-color: #cdcdcd;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c6c6c6' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.background-2 {
  background: #ADA996;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #EAEAEA, #DBDBDB, #F2F2F2, #ADA996);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #EAEAEA, #DBDBDB, #F2F2F2, #ADA996); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.background-3 {
  background: #8e9eab;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #eef2f3, #8e9eab);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #eef2f3, #8e9eab); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}