@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Quicksand:wght@300..700&display=swap");

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}



/* Content */

.content {
  padding-left: 120px;
  color: #c7c7c7c9;
  user-select: none;
}

.content h1 {
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.5rem, 4vw, 6rem);
  font-weight: 700;
  background: #f98632;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 36px;
  padding-left: 10px;
      position: relative;
    left: 90px;
}

.content p {
  font-size: clamp(0.9rem, 4vw, 2.2rem);
  line-height: 1.6;
  padding-right:0 ;
      left: 160px;
    position: relative;
        color: #000085;
        font-weight: 700;
}

.btn {
  background-color: #f76591;
  background-image: linear-gradient(-180deg, #ffc16f, #f76591);
  font-size: clamp(0.8rem, 8vw, 0.9rem);
  font-weight: 600;
  color: #fff;
  width: max-content;
  outline: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  margin-top: 26px;
  text-align: center;
  transform: scale(1);
  transition: all 0.2s ease-in;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
      left: 158px;
    position: relative;
}

.btn:hover {
  box-shadow: 0 4px 10px rgba(247, 101, 145, 0.5);
  transform: scale(0.98);
}

/* Stacked Cards */

.stack {
  width: 100%;
  position: absolute;
  bottom: 400px;
   right: 0px;
}

.card {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 250px;
  height: 500px;
  border-radius: 2rem;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25),
    0 15px 20px 0 rgba(0, 0, 0, 0.125);
  transition: transform 0.6s;
  user-select: none;
}

.card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  pointer-events: none;
}

.card:nth-last-child(n + 5) {
  --x: calc(-20% + 90px);
  transform: translate(var(--x), -10%) scale(0.85);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.01);
}

.card:nth-last-child(4) {
  --x: calc(-30% + 60px);
  transform: translate(var(--x), -50%) scale(0.9);
}

.card:nth-last-child(3) {
  --x: calc(-40% + 30px);
  transform: translate(var(--x), -50%) scale(0.95);
}

.card:nth-last-child(2) {
  --x: calc(-50%);
  transform: translate(var(--x), -50%) scale(1);
}

.card:nth-last-child(1) {
  --x: calc(-60% - 30px);
  transform: translate(var(--x), -50%) scale(1.05);
}

.card:nth-last-child(1) img {
  box-shadow: 0 1px 5px 5px rgba(255, 193, 111, 0.5);
}

.swap {
  animation: swap 1.3s ease-out forwards;
}

@keyframes swap {
  30% {
    transform: translate(calc(var(--x) - 200px), -50%) scale(0.85) rotate(-5deg)
      rotateY(65deg);
  }
  100% {
    transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
    z-index: -1;
  }
}

/* Media queries for keyframes */

@media (max-width: 1200px) {
  @keyframes swap {
    30% {
      transform: translate(calc(var(--x) - 200px), -50%) scale(0.85)
        rotate(-5deg) rotateY(65deg);
    }

    100% {
      transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
      z-index: -1;
    }
  }
}

@media (max-width: 1050px) {
  @keyframes swap {
    30% {
      transform: translate(calc(var(--x) - 150px), -50%) scale(0.85)
        rotate(-5deg) rotateY(65deg);
    }

    100% {
      transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
      z-index: -1;
    }
  }
}

/* Media queries for other classes */

@media (max-width: 1200px) {
  .content {
    padding-left: 80px;
  }

  .content p {
    padding-right: 40px;
  }

  .card {
    width: 250px;
    height: 380px;
  }
}

@media (max-width: 1050px) {
  .content {
    padding-left: 60px;
  }

  .content p {
    line-height: 1.5;
  }

  .card {
    width: 220px;
    height: 350px;
  }
}

@media (max-width: 990px) {
  .content p {
    padding-right: 0;
  }

  .card {
    width: 200px;
    height: 300px;
  }
}

@media (max-width: 950px) {
  main {
    grid-template-columns: 1fr;
    grid-template-rows: 4fr 3fr;
    grid-template-areas:
      "stacked"
      "content";
  }

  .content {
    grid-area: content;
    text-align: center;
    padding: 0 90px;
  }

  .btn {
    margin-bottom: 30px;
  }

  .stack {
    grid-area: stacked;
  }
}

@media (max-width: 650px) {
  main {
    grid-template-rows: 1fr 1fr;
  }

  .content {
    padding: 0 50px;
  }

  .content h1 {
    padding-left: 0;
  }

  .btn {
    padding: 8px 16px;
  }

  .card {
    width: 180px;
    height: 260px;
  }
}


@media (max-width: 1200px) {
.content p {
    font-size: clamp(0.9rem, 3vw, 2.2rem);
    line-height: 1.6;
    padding-right: 0;
    left: 0px;
    position: relative;
    color: #000085;
    font-weight: 700;
}

.p10 {

left: 0px;

}

.content h1 {
    font-family: "Dancing Script", cursive;
    font-size: clamp(0.5rem, 5vw, 5rem);
    font-weight: 700;
    background: #f98632;
    /* background-clip: text; */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 7px;
    padding-left: 10px;
    position: relative;
    left: -103px;
}

.align-items-center {

  width: 142%;
  padding-top: 0px;

}

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    min-height: 87vh;
    position: absolute;


}

.card {
    width: 150px;
    height: 300px;
  }





.curved-bg-div {
    background: url(../img/asdf.png) no-repeat;
    background-position: 0px -140px;
    background-size: cover;
    width: 100%;
    height: 300px;
    position: relative;
    display: none;
}


   .fh5co-slider-outer {
    width: 100%;
    height: 500px;
    position: relative;
    bottom: 210px;
}
    

.stack {
    position: relative;
    left: 0px;
    bottom: 0px;
}
    .bbbox {
    z-index: 99;
    width: 100%;
    position: relative;
    top: 241px;
    right: 169px;
}

  
}

@media (max-width: 730px) {
.content p {
    font-size: clamp(0.9rem, 3vw, 2.2rem);
    line-height: 1.6;
    padding-right: 0;
    left: 0px;
    position: relative;
    color: #000085;
    font-weight: 700;
}

.p10 {

left: 0px;

}

.content h1 {
    font-family: "Dancing Script", cursive;
    font-size: clamp(0.5rem, 5vw, 5rem);
    font-weight: 700;
    background: #f98632;
    /* background-clip: text; */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 7px;
    padding-left: 10px;
    position: relative;
    left: -103px;
}

.align-items-center {

  width: 142%;
  padding-top: 0px;

}

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    min-height: 87vh;
    position: absolute;


}

.card {
    width: 150px;
    height: 300px;
  }





.curved-bg-div {
    background: url(../img/asdf.png) no-repeat;
    background-position: 0px -140px;
    background-size: cover;
    width: 100%;
    height: 300px;
    position: relative;
    display: none;
}


   .fh5co-slider-outer {
    width: 100%;
    height: 500px;
    position: relative;
    bottom: 210px;
}
    

.stack {
    position: absolute;
        left: 0px;
        bottom: 0px;
}
    .bbbox {
    z-index: 99;
    width: 100%;
    position: relative;
    top: 241px;
    right: 169px;
}

  
}



@media (max-width: 600px) {

  

  @keyframes swap {
  30% {
    transform: translate(calc(var(--x) - 100px), -50%) scale(0.85) rotate(-0deg)
      rotateY(65deg);
  }
  100% {
    transform: translate(calc(var(--x) - -400px), -50%) scale(0.8);
    z-index: -1;
  }
}

      .fh5co-features-grid-columns .col-sm-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin: 0px;
        text-align: center;
    }

  .fh5co-features-outer .col-sm-6 img {
    height: 156px;
}

      main {
    
        min-height: 78vh;


      }

  .fh5co-features-grid-columns {
    
        position: relative;
  }

  .btn {
        left: 0px;
    }

  .p10 {
        font-size: 14px;
    }

    .content p {
        font-size: 16px;
    }
      .stack {
        position: absolute;
        left: -3%;
        top: 7%;
        
    }

    .content h1 {
  
        width: 136%;
        font-family: "Dancing Script", cursive;
        font-size: clamp(0.5rem, 4vw, 5rem);
        font-weight: 700;
        background: #f98632;
        /* background-clip: text; */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.1;
        margin-bottom: 7px;
        padding-left: 77px;
        position: relative;
        left: -103px;
    }


        .content {
        position: relative;
        top: 50px;
        grid-area: content;
        text-align: center;
        padding: 0px;
    }

      .card {
        width: 150px;
        height: 300px;
        border-radius: 1rem;
    }






  }


