@font-face {
  font-family: "gaegu";
  src: url(./Gaegu-Regular.ttf);
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #f8e403;
  background-image: radial-gradient(#0000004c 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  background-repeat: repeat;
  font-family: "gaegu";
}
p {
  color: #000000;
  font-size: 2rem;
}
h1 {
  color: #000000;
  font-size: 4rem;
  margin: 0;
}
a {
  text-decoration: none;
}
.main {
  width: 40vw;
  min-width: 300px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-container p {
  width: 80%;
}
.hero-img {
  width: 30%;
  position: relative;
  display: inline-block;
}
.main-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 3px solid #474747;
}

.here {
  position: absolute;
  left: -17%;
  bottom: -11%;
  width: 21%;
  height: auto;
}

.hero-title {
  position: absolute;
  left: 17%;
  bottom: -25%;
  margin: 0;
  width: max-content !important;
}
.lines {
  position: absolute;
  left: 1%;
  bottom: 85%;
  width: 21%;
  height: auto;
}
.hrefs a {
  text-decoration: none;
}
.hrefs {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.hrefs a {
  border: 1px solid #474747;
  border-radius: 30px;
}
.hrefs a p {
  margin: 0 1rem;
}
.tok {
  margin-top: 5vh;
}
.links {
  width: 64%;
  text-align: left;
}
.links p {
  margin: 0;
}
.hihi {
  width: 50%;
  height: auto;
}
.banner {
  position: relative;
  display: inline-block;
}
.lines2 {
  position: absolute;
  left: 95%;
  bottom: 96%;
  width: 5%;
  height: auto;
  transform: scaleX(-1);
}
.banner-img {
  width: 95%;
  height: auto;
  border-radius: 10px;
}
.info {
  display: flex;
  flex-direction: row;
  gap: 10%;
  width: 100%;
  justify-content: center;
  margin-top: -3%;
  align-items: stretch;
}

.info1,
.info2 {
  background-color: #262626;
  border-radius: 10px;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: fit-content;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.info1 {
  transform: translateX(-37.5999px) translateY(-13.6px) rotate(3deg);
}
.info2 {
  transform: translateX(-37.5999px) translateY(-13.6px) rotate(-3deg);
}

.info1 p,
.info2 p {
  font-size: 1.5rem;
  margin: 0;
  color: white;
}
.mid-text {
  width: 50%;
}
.cards-cont {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.cards {
  position: relative;
  border-radius: 12px;
  padding: 24px;
}

.card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 5%;
}

.card__content img {
  width: 40%;
  height: auto;
  border-radius: 10px;
}

.card-text {
  width: 100%;
}

.card-text h1 {
  font-size: 2rem;
}

.card-text p {
  font-size: 1.5rem;
  margin: 0;
}

.card__scribble {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
}

.card__scribble .p {
  fill: none;
  stroke: #474747;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.card__scribble .p1 {
  opacity: 1;
}

.cards:hover .card__scribble .p1 {
  animation: show-p1 0.5s steps(1) infinite;
}

.cards:hover .card__scribble .p2 {
  animation: show-p2 0.5s steps(1) infinite;
}

.cards:hover .card__scribble .p3 {
  animation: show-p3 0.5s steps(1) infinite;
}

/* ---- KEYFRAMES ---- */

@keyframes show-p1 {
  0% {
    opacity: 1;
  }
  33.333% {
    opacity: 0;
  }
  66.666% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes show-p2 {
  0% {
    opacity: 0;
  }
  33.333% {
    opacity: 1;
  }
  66.666% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes show-p3 {
  0% {
    opacity: 0;
  }
  33.333% {
    opacity: 0;
  }
  66.666% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 1000px) {
  .hrefs {
    flex-direction: column;
    gap: 1rem;
  }
  .links {
    margin-right: auto;
  }
  .mid-text {
    width: 100%;
  }
  .hero-container p {
    width: 100%;
  }
  .hero-img {
    width: 50%;
  }
  .info1 p,
  .info2 p {
    font-size: 1rem;
  }
}
