
.card-container {
    padding: 50px 0px;
    width: 80%;
    /* min-height: 100vh; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}
.card-container.center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.card-container .card {
    background-color: white;
    width: 350px;
    min-height: 404.5px;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
}
.card h1, .card h2, .card h3, .card h4, .card h5 {
    margin: 0px;
    padding: 0px 0px 15px 0px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 30px;
    color: #282828;
}
.card hr {
    display: block;
    border: none;
    height: 3px;
    background-color: salmon;
    margin: 0px;
}
.card p {
    margin: 15px 0px 0px 0px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 100;
    letter-spacing: -0.25px;
    line-height: 1.25;
    font-size: 16px;
    /* word-break: break-all; */
    word-wrap: pre-wrap;
    color: #282828;
    text-align: justify;
}
.card button {
    border: none;
    background-color: salmon;
    width: 60%;
    margin: 10px auto;
    padding: 10px 30px;
    color: white;
    font-family: 'Noto Sans KR', sans-serif;
    text-transform: uppercase;
}


/** call now button **/

.call_btn {
    display: none;
    height: 60px;
  }
  
  .call_btn a {
    display: block;
    position: fixed;
    text-decoration: none;
    font-size: 18px;
    font-family: "Poppins";
    z-index: 9999;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 60px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    overflow: hidden;
    background: #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 1px 0px rgb(0 0 0 / 18%);
  }
  
  .blink {
    margin-left: 10px;
    animation: blink 1s linear infinite;
  }
  @keyframes blink {
    0% {
      opacity: 0.1;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0.1;
    }
  }
  
  @media screen and (max-width: 1400px) {
    .call_btn {
      display: block;
    }
  }
  
  /** end call now button **/







  /*

Tutorial:
https://www.roboleary.net/animation/2022/10/31/how-to-make-a-slick-animation-schitts-creek-title-sequence.html

Part of Title Sequences collection:
https://codepen.io/collection/nNmwgP

Source code:
https://github.com/robole/title-sequences

*/

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600");

:root {
  --bar-scale-y: 0;
  --sparkle-color: rgb(253 244 215 / 40%);
}

@keyframes pop-word {
  to {
    transform: rotateX(0);
  }
}

@keyframes show {
  to {
    opacity: 1;
  }
}

@keyframes bar-scale {
  to {
    transform: scaleY(1);
  }
}

@keyframes sparkle {
  0% {
    transform: scale(0);
  }

  60% {
    transform: scale(1) translate(4px, 1px) rotate(8deg);
  }

  100% {
    transform: scale(0) translate(4px, 1px) rotate(8deg);
  }
}

@keyframes shimmer {
  to {
    text-shadow: 0 0 8px red;
  }
}

.heroText-Eff {
  display: grid;
}

.heroText-Eff h2 {
  color: white;
  font-size: 1.5rem;
  line-height: 0.85;
  perspective: 500px;
}

.heroText-Eff .word {
  display: block;

  animation: show 0.01s forwards, pop-word 2s forwards;
  animation-timing-function: cubic-bezier(0.14, 1.23, 0.33, 1.16);
  opacity: 0;

  transform: rotateX(120deg);
  transform-origin: 50% 100%;
  padding-bottom: 0.5rem;;
}
.heroText-Eff .word:nth-of-type(2) {
  animation-delay: 1s;
}
.heroText-Eff .word:nth-of-type(3) {
  animation-delay: 2s;
}

.heroText-Eff .superscript {
  position: relative;
  animation-delay: 3s;

  animation-duration: 0.25s;
  animation-name: shimmer;

  vertical-align: text-top;
}

/* bars */
.heroText-Eff .superscript::before {
  --bar-width: 25%;

  position: absolute;

  top: 37%;
  left: 47%;
  width: 14%;
  height: 48%;

  animation: bar-scale 0.25s linear 3s 1 forwards;

  background: linear-gradient(
    to right,
    white var(--bar-width),
    transparent var(--bar-width) calc(100% - var(--bar-width)),
    white calc(100% - var(--bar-width))
  );

  content: "";

  transform: scaleY(var(--bar-scale-y));
}

/* sparkle */
.heroText-Eff .superscript::after {
  --size: 10rem;

  position: absolute;

  top: -5%;
  left: -85%;

  width: var(--size);
  height: var(--size);

  animation: sparkle 0.4s linear 3.5s 1 forwards;

  background: radial-gradient(
      circle at center,
      rgb(252 249 241 / 94%) 0% 7%,
      transparent 7% 100%
    ),
    conic-gradient(
      transparent 0deg 18deg,
      var(--sparkle-color) 18deg,
      transparent 20deg 40deg,
      var(--sparkle-color) 40deg,
      transparent 43deg 87deg,
      var(--sparkle-color) 87deg,
      transparent 95deg 175deg,
      var(--sparkle-color) 175deg,
      transparent 178deg 220deg,
      var(--sparkle-color) 220deg,
      transparent 222deg 270deg,
      var(--sparkle-color) 270deg,
      transparent 275deg 300deg,
      var(--sparkle-color) 300deg,
      transparent 303deg 360deg
    );

  border-radius: 50%;
  clip-path: polygon(
    50% 0,
    59.13% 26.64%,
    85.13% -2.35%,
    100% 50%,
    50% 100%,
    0 50%,
    31.39% 34.86%
  );

  content: "";

  filter: blur(1px);

  transform: scale(0);
}

@media screen and (max-width: 600px) {

  /* sparkle */
  .heroText-Eff .superscript::after {
    --size: 2rem;
  }
}
