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

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Lato", system-ui, sans-serif;
}

p,
h1 {
  margin: 0;
}

.utip-page {
  display: flex;
  flex-direction: column;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  position: fixed;
  overflow: hidden;
}

.utip-page--light {
  color: #2d2d2d;
  background-color: white;
}

/*
 ! need to check if we want a darkmode or not
*/
.utip-page--dark {
  color: white;
}

.utip-page__header {
  display: flex;
  padding: 35px;

  position: relative;
  min-height: 15%;
}

.utip-page__header-logo {
  height: 45px;

  object-fit: contain;
  object-position: center;
}

.utip-page__header-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-weight: bold;
  font-size: 22px;

  position: absolute;

  width: 120px;
  height: fit-content;
  scale: 0;

  transition: scale 350ms ease-in-out;
}

.utip-page__main {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  min-height: 70%;
  width: 80%;
  margin: auto;
}

.utip-page__first-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.utip-page__main-title {
  display: inline-flex;
  flex-direction: column;

  margin-bottom: 25%;

  text-align: left;
  z-index: 1;

  text-transform: capitalize;
  font-size: 48px;
  letter-spacing: 5px;
}

.utip-page__main-title-span {
  z-index: 1;

  line-height: 1lh;
  font-size: 64px;
  font-weight: normal;
}

.utip-page__main-title-span:last-child {
  margin-top: 20px;
  font-size: 105px;

  letter-spacing: 10px;
  font-weight: bolder;
}

.utip-page__main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 69;

  background-image: linear-gradient(90deg, #e72547, #f1933d);
  padding-inline: 25px;
  padding-block: 20px 25px;

  text-transform: uppercase;

  width: 240px;

  font-size: 24px;
  font-weight: bold;

  border-radius: 20px;

  position: relative;

  box-shadow: 0px -7px 7px 0px #fe6a4d inset, 0px -9px 7px 0px #bd4a35 inset,
    0px 21px 43px 0px #2f120d40;

  transition: translate 250ms ease-in-out, box-shadow 250ms ease-in-out;
  transform-origin: bottom;
  cursor: pointer;
  text-decoration: none;
}
.utip-page__main-button:active {
  /*
  Need to add this here or it will disappear
  */
  background-image: linear-gradient(90deg, #e72547, #f1933d);

  translate: 0% 7.5%;

  box-shadow: 0px -1px 6px 0px #bd4a35 inset, 0px -1px 6px 0px #ff6b4d inset,
    0px 0px 0px 0px #2f120d40;
}

.utip-page__main-paragraph {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;

  font-size: 22px;
  font-weight: bolder;

  transition: opacity 500ms ease-in-out, scale 500ms ease-in-out;
  margin-left: 25px;
}

.utip-page__main-paragraph:first-of-type {
  text-transform: lowercase;
}

.utip-page__second-section-utip-uncove-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  min-width: 180px;
  transition: translate 1s ease-in-out;
}

.utip-page__second-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;

  min-width: 40%;

  font-size: 22px;
}

.utip-page__second-section-uncove {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  overflow: hidden;

  position: relative;
  min-height: 70px;
  min-width: 260px;
  scale: 1;

  transition: scale 500ms ease-in-out, translate 1s ease-in-out,
    opacity 500ms ease-in-out;
}

/*
 * Fixes an issue with the specificity
*/
@layer uncove-section {
  .utip-page__second-section-uncove {
    translate: 10% 0%;
  }
}

.utip-page--translate-top {
  translate: 10% -250% !important;
}

.utip-page__second-section-uncove.utip-page--translate-immediate {
  transition: scale 500ms ease-in-out, translate 0s ease-in-out,
    opacity 500ms ease-in-out;
}

.utip-page__second-section-uncove > img.utip-page--translate-immediate {
  transition: scale 500ms ease-in-out, translate 0s ease-in-out;
}

.utip-page__second-section-uncove > img {
  z-index: 3;

  background: white;

  transition: scale 500ms ease-in-out, translate 1s ease-in-out;

  overflow: hidden;
  position: absolute;
  translate: -50% 0%;
}

.utip-page__second-section-uncove > p {
  /* opacity: 0; */

  transition: opacity 1s ease-in-out;
}

.utip-page__second-section-uncove-paragraph {
  font-size: 40px;

  font-weight: bold;
}

.utip-page__second-section-utip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  min-height: 85px;
  transition: translate 1s ease-in-out, scale 500ms ease-in-out,
    opacity 500ms ease-in-out;
}

.utip-page__second-section-utip.utip-page--no-opacity-transition {
  transition: translate 500ms ease-in-out, scale 500ms ease-in-out,
    opacity 0s ease-in-out !important;
}

.utip-page__second-section-utip.utip-page--u-translated {
  transform-origin: 65% center;
}

.utip-page__second-section-utip-u {
  z-index: 420;

  background-color: white;

  object-fit: contain;
  height: 85px;

  transition: translate 1s ease-in-out, scale 500ms ease-in-out;
}

.utip-page__second-section-utip-text {
  width: 100px;
  height: 45px;

  transition: opacity 1s ease-in-out;
}

.utip-page__footer {
  min-height: 15%;
  position: relative;
}

.utip-page__footer-bg {
  position: absolute;
  width: 100%;

  bottom: 0;
}

@media screen and (max-width: 1280px) {
  .utip-page__footer-bg {
    width: auto;
  }
}

@media screen and (max-width: 992px) {
  .utip-page__header {
    justify-content: center;
    align-items: center;

    min-height: 15%;
  }

  .utip-page__header-logo-container {
    width: 100px;
  }

  .utip-page__first-section {
    justify-content: space-evenly;
  }

  .utip-page__second-section {
    display: none;
  }

  .utip-page__main {
    width: 100%;
    justify-content: center;
    margin: 0;
    margin-top: 50px;

    min-height: 60%;
  }

  .utip-page__main-title {
    margin-bottom: 10%;
  }
  .utip-page__main-title-span {
    font-size: clamp(32px, 10vw, 64px);
    letter-spacing: 2px;

    line-height: normal;
  }

  .utip-page__main-title-span:last-child {
    font-size: clamp(64px, 15vw, 105px);
    letter-spacing: 3px;

    line-height: normal;
    margin-top: 0px;
  }

  .utip-page__main-paragraph-span {
    font-size: clamp(16px, 5vw, 22px);
  }

  .utip-page__main-button {
    font-size: clamp(18px, 5vw, 24px);

    width: 100%;

    padding-block: 15px 20px;
  }
  .utip-page__footer {
    order: 2;
    min-height: 20%;
  }

  .utip-page__footer-bg {
    bottom: -1px;
  }

  .utip-page__icon {
    scale: 65% !important;
  }

  .utip-page__icon--heart {
    top: 0% !important;
    left: 55% !important;
  }

  .utip-page__icon--bell {
    bottom: 40px !important;
    left: 6% !important;
  }

  .utip-page__icon--thumbs-up {
    bottom: 60px !important;
    left: 75% !important;
  }
}

@media screen and (max-width: 480px) {
  .utip-page__header {
    order: 1;
  }
  .utip-page {
    height: 100dvh;
  }

  .utip--scale-up {
    scale: 75% !important;
  }

  .utip-page__icon--big {
    height: 300px !important;
  }
}

/*
 * Animation classes
 ? For the last animation (before looping), apply this style → translate: 0.75px 233%;
*/

.utip-page--uncove-container-original-translate {
  translate: 10% 0% !important;
}

.utip-page--visible {
  opacity: 1 !important;
}

.utip-page--transparent {
  opacity: 0 !important;
}

.utip-page--scale-up {
  scale: 1 !important;
}

.utip-page--scale-down {
  scale: 0 !important;
}

.utip-page--delayed {
  transition-delay: 350ms;
}

.utip-page--translate-u {
  translate: 150% 0%;
}

.utip-page--translate-hundred {
  translate: -300% 0% !important;
}

.utip-page--translate-zero {
  translate: 0% 0% !important;
}

/* 
* Styles for the icons
*/

.utip-page__icon {
  position: absolute;

  aspect-ratio: 1/1;

  z-index: 1;
}

.utip-page__icon--small {
  height: 125px;
}

.utip-page__icon--medium {
  height: 290px;
}

.utip-page__icon--big {
  height: 450px;
}

.utip-page__icon--chat {
  left: -150px;
  top: 20px;
}

.utip-page__icon--video-camera {
  scale: 105% 100%;

  top: -60px;
  left: 15%;
}

.utip-page__icon--wallet {
  top: -50px;
  right: 10%;
}

.utip-page__icon--heart {
  top: 20%;
  left: 45%;

  translate: -50%;
}

.utip-page__icon--bell {
  bottom: 60px;
  left: 8%;
}

.utip-page__icon--thumbs-up {
  bottom: 30px;
  left: 55%;
}
