/* Normalize */
*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
:root {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  position: relative;
  font-family: "Poppins", system-ui, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  min-height: 100%;
}
body {
  width: 100%;
  min-height: 100vh;
  font-size: 100%;
  line-height: 1.5;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
input,
textarea,
button {
  font-size: inherit;
  font-family: inherit;
}
::-webkit-scrollbar {
  display: none;
}

/* Text */
h1 {
  color: rgba(10, 10, 10, 0.87);
  text-align: center;
  text-shadow: 0px 8px 24px rgba(73, 122, 131, 0.20);
  font-size: 2.9rem;
  font-style: normal;
  font-weight: 700;
  line-height: 88%;
  margin: 1rem 0;
}

p {
  color: hsl(220, 25%, 30%);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.2px;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

a:hover,
a:active {
  cursor: pointer;
  color: hsl(220, 30%, 10%);
}

/* Images */
img { 
  border-style: none; 
  max-width: 100%;
}

/* Hero */
.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
}

.hero {
  width: 100%;
  max-width: 100%;
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3rem;
  background: radial-gradient(
    50% 100% at 50% 85%,
    hsl(300, 90%, 92%) 20%, 
    hsl(50, 100%, 90%) 45%, 
    hsl(115, 80%, 93%) 65%, 
    hsl(190, 90%, 97%) 100%
  );
  max-height: 53rem;
  overflow-y: scroll;
}

.logo {
  margin: 0;
  height: 26px;
}

.hero p {
  max-width: 28rem;
  padding: 0 1rem;
  text-align: center;
}

.heading {
  width: 100%;
  max-width: 100%;
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}

/* cta - button */
.cta {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.cta p {
  font-size: .95rem;
  font-weight: 600;
  margin: .5rem;
}

.cta a {
  display: flex;
  padding: .7rem 1.3rem;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  border-radius: 4rem;
  background: linear-gradient(
    185deg, 
    hsl(135, 90%, 55%) 5%, 
    hsl(140, 100%, 40%) 100%);
  box-shadow: 
    0px 8px 24px 0px hsla(137, 100%, 50%, 0.2), 
    0px 2px 8px 0px rgba(22, 59, 22, 0.1);
  color: white;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  z-index: 20;
  position:relative;
}

.cta a:before {
  position: absolute;
  content: "";
  top: -2rem;
  right: -2rem;
  left: -2rem;
  bottom: -2rem;
  z-index: 50;
  /* border: solid 1px blue; */
}

.cta a:hover {
  cursor: pointer;
  background: linear-gradient(
    185deg, 
    hsl(135, 100%, 60%) 1%, 
    hsl(140, 100%, 40%) 100%);
  box-shadow: 0px 0px 32px 0px hsla(145, 100%, 57%, 0.7) ;
  transition: box-shadow 0.2s ease-in-out;
}

/* Phone */

.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem 0;
  max-height: 26rem;
}

.phone img {
  width: 23rem;
  max-width: 85%;
  z-index: 3;
  filter: drop-shadow(0px 40px 75px 0px #a80697);  
}

/* Chat */

.chat {
  width: 100%;
  max-width: 26rem;
  padding: 1.5rem;
  border-radius: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -24rem;
  gap: 1rem;
}

.bubble {
  list-style: none;
  display: block;
  max-width: 75%;
  padding: 1.2rem;

  border-radius: 1.5rem 1.5rem 1.5rem 0;
  box-shadow: 0px 10px 28px 0px rgba(67, 89, 255, 0.15);
  background-color: white;
  color: #0b85ef;
  font-weight: 500;
  font-size: 1rem;
  line-height: 120%;
  opacity: 1;

  margin: 0;
  margin-right: auto;
  transform: rotate(-2deg);
  transition: opacity 0.3s ease-out;
  user-select: none;
}

.bubble.reply {
  color: white;
  background: radial-gradient(200% 100% at 50% 100%, #62AFF2 0%, #5266fc 100%);
  border-radius: 1.5rem 1.5rem 0 1.5rem;
  margin-right: 0;
  margin-left: auto;
  transform: rotate(2deg);
}

.bubble.hide { 
  opacity: 0;
}

/* Gifts Image */
.bubble img {
  border-radius: .5rem;
}

/* Final CTA */
.bubble.end {
  width: 100%;
  background: none;
  box-shadow: none;
  margin: 1rem 0 10rem;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.bubble.end img {
  max-width: 6rem;
}

.bubble.end p {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}


/* Balloons */
.balloons {
  position: fixed;
  width: 100%;
  height: 100vh;
  user-select: none;
}

.balloons img {
  position: absolute;
  bottom: -200px;
  max-width: 100px;
}

/* b-purple */
.balloons img:nth-of-type(1) {
  left: 10%;
  bottom: -300px;
  animation: move-1 21s linear infinite;
}
/* o-yellow */
.balloons img:nth-of-type(2) {
  left: 65%;
  bottom: -100px;
  animation: move-1 19s linear infinite;
}
/* b-green */
.balloons img:nth-of-type(3) {
  left: 85%;
  bottom: -600px;
  animation: move-1 22s linear infinite;
}

@keyframes move-1 {
  0% { transform: translate(0, 10vh); }
  100% { transform: translate(0, -220vh); }
}

/* o-orange */
.balloons img:nth-of-type(4) {
  left: 20%;
  bottom: -300px;
  animation: move-2 25s linear infinite;
}
/* b-blue */
.balloons img:nth-of-type(5) {
  left: 10%;
  bottom: -900px;
  animation: move-2 28s linear infinite;
}
/* b-pink */
.balloons img:nth-of-type(6) {
  left: 80%;
  bottom: -800px;
  animation: move-2 35s linear infinite;
}

@keyframes move-2 {
  0% { transform: translate(0, 110vh); }
  100% { transform: translate(0, -260vh); }
}

/* Footer */
footer {
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 3rem;
  padding: 0 1.5rem;
}
footer p,
footer a {
  font-size: .8rem;
  text-decoration: none;
  color: hsl(182, 20%, 65%);
}


/* Privacy policy */

.privacy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3rem;
  background: radial-gradient(
    50% 100% at 50% 100%,
    hsl(300, 90%, 97%) 20%, 
    hsl(50, 100%, 96%) 40%, 
    hsl(115, 80%, 97%) 60%, 
    hsl(190, 90%, 98%) 100%
  );
  margin-top: .5rem;
  height: 100vh;
  overflow-y: scroll;
  padding: .5rem 1rem 2rem;
}

.privacy img {
  margin-bottom: 2rem;
}

.privacy ul {
  padding-left: 3rem;
}

.privacy p {
  margin: 1rem 0;
  max-width: 40rem;
}

.privacy h2,
.privacy h3,
.privacy h4 {
  margin-top: 1rem;
}

/* Desktop */
@media only screen and (min-width: 768px) { 
  h1 { font-size: 4.2rem; }
  .content { 
    padding: 1.5rem 1.5rem 0 1.5rem;
    max-height: 100vh;
  }
  .hero { max-height: calc(100vh - 4rem); }
  .phone { max-height: 22rem; }
  .chat { margin-top: -19rem; }
  .balloons img { max-width: 200px; }
  .bubble.end { margin-bottom: 6vh; }
}
