@font-face {
  font-family: "LovelyFont";
  src: url("path/to/lovelyfont.woff2") format("woff2"),
       url("path/to/lovelyfont.woff") format("woff");
  /* Add more font formats if necessary */
  /* Specify the correct path to your font files */
}

body,
html {
  margin: 0;
  padding: 0;
}
.heart {
  visibility: hidden;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation-name: draw;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

#heart1 {
  visibility: hidden;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation-name: draw-outer;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-duration: 6s;
}

#heart2 {
  animation-delay: 1s;
  animation-duration: 4.7s;
}

#heart3 {
  animation-delay: 2s;
  animation-duration: 3.4s;
}

.page-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #151515;
  margin: 0;
  padding: 0;
}

.container-svg {
  position: relative;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background-color: #151515;
}


@keyframes draw {
  0% {
    z-index: 10;
    visibility: visible;
    stroke-dashoffset: 1;
    fill: none;
  }
  99% {
    stroke-dashoffset: 0;
    fill: none;
  }
  100% {
    fill: rgba(255, 0, 0, 0.4);
    filter: drop-shadow(0.3rem 0.3rem 0.75rem #400);
    visibility: visible;
  }
}

@keyframes draw-outer {
  0% {
    z-index: 10;
    visibility: visible;
    stroke-dashoffset: 1;
    fill: none;
  }
  99% {
    stroke-dashoffset: 0;
    fill: none;
  }
  100% {
    fill: rgba(255, 0, 0, 0.4);
    filter: drop-shadow(0.3rem 0.3rem 0.75rem #f88);
    visibility: visible;
  }
}





  .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    font-weight: bold;
    color: #cba;
    text-align: center;
    width: 50%;
    height: 30%;
    font-family: "LovelyFont", cursive;
    text-shadow: 5px 5px 10px #400;
  }

  .text-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 5% 0;
    opacity: 0;
    animation-name: text;
    animation-duration: 3s;
    animation-fill-mode: forwards;
  }

  .text1 {
    animation-delay: 5.4s;
  }

  .text2 {
    animation-delay: 5.7s;
  }

  .text3 {
    animation-delay: 6s;
  }

  @keyframes text {
    0% {
      transform: scale(0.5);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  .name-container {
    position: absolute;
    bottom: 25%;
    left: 63%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #fa9;
    font-family: "LovelyFont", cursive;
    text-shadow: 5px 5px 15px #733;

    font-size: 5em;

    visibility: hidden;
    animation-name: name;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 7s;
  }

  @keyframes name {
    0% {
      visibility: visible;
      transform: scale(0.5) translate(-1500%, -1500%);
    }
    30% {
      transform: scale(1) translate(-1000%, -1000%) rotate(0deg);
    }
    60% {
      transform: scale(1) translate(0%, 0%) rotate(15deg);
    }
    73% {
      transform: scale(1) translate(-75%, -75%) rotate(-5deg);
    }
    86% {
      transform: scale(1) translate(-35%, -35%) rotate(10deg);
    }
    100% {
      opacity: 1;
      transform: scale(1) translate(-50%, -50%) rotate(5deg);
      visibility: visible;
    }
  }




@media (min-width: 768px) {
  .text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5em;
    font-weight: bold;
    color: #cba;
    text-align: center;
    width: 40%;
    height: 30%;
    font-family: "LovelyFont", cursive;
    text-shadow: 5px 5px 10px #400;
  }

  .text-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 5% 0;
    opacity: 0;
    animation-name: text;
    animation-duration: 3s;
    animation-fill-mode: forwards;
  }

  .name-container {
    position: absolute;
    bottom: 17%;
    left: 63%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #fa9;
    font-family: "LovelyFont", cursive;
    text-shadow: 5px 5px 15px #733;

    font-size: 10em;

    visibility: hidden;
    animation-name: name;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 7s;
  }
}

@media (min-width: 1024px) {
  .text {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    font-weight: bold;
    color: #cba;
    text-align: center;
    width: 25%;
    height: 30%;
    font-family: "LovelyFont", cursive;
    text-shadow: 5px 5px 10px #400;
  }


.filter-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
}

.filter-layer2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(0.01em);
}

  .text-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 5% 0;
    opacity: 0;
    animation-name: text;
    animation-duration: 3s;
    animation-fill-mode: forwards;
  }

  .name-container {
    position: absolute;
    bottom: 17%;
    left: 63%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #fa9;
    font-family: "LovelyFont", cursive;
    text-shadow: 5px 5px 15px #733;

    font-size: 10em;

    visibility: hidden;
    animation-name: name;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 7s;
  }
}


