:root {
  --social-icon-color: #000;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #ffe3d0;
  font-family: "Poppins", sans-serif; /* Fallback to sans-serif if CustomFont1 doesn't load */
  color: #000;
}

/* TEXT */

h1 {
  font-size: 3em;
  font-weight: 700;
}

h2 {
  font-size: 1em;
  color: #fff;
}

.container {
  position: relative;
  max-width: 40em;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  background-image: url("/img/bg_img.png");
  filter: blur(2px);
  z-index: -2; /* place it behind the content and the color overlay */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  background-color: rgba(240, 157, 127, 0.3);
  z-index: -1; /* place it behind the content but above the blurred image */
}

header,
footer {
  text-align: center;
}

header {
  width: 100%;
  padding-top: 10%;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0px 20px;
  /* margin-top: 60px; */
  justify-content: center;
}

.btn {
  display: inline-block;
  background-color: #fff0f0;
  color: #000;
  border: 1px solid;
  padding: 12px 20px;
  margin: 10px 0;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s;
  width: 100%;
  font-weight: 500;
}

@keyframes wiggle {
  0%,
  10% {
    transform: none;
  } /* Start with no rotation */
  15% {
    transform: rotate(-1deg);
  }
  18% {
    transform: rotate(1deg);
  }
  21% {
    transform: rotate(-1deg);
  }
  24% {
    transform: rotate(1deg);
  }
  27% {
    transform: rotate(-1deg);
  }
  30% {
    transform: rotate(1deg);
  }
  33% {
    transform: none;
  }
  100% {
    transform: none;
  } /* End with no rotation and pause until the next cycle */
}

.btn.wiggle {
  display: inline-block;
  animation-delay: 1s;
  animation: wiggle 7s ease-in-out infinite; /* Faster wiggle */
}

.btn.wiggle:hover {
  animation: none; /* Stop the wiggle on hover */
}

.btn.spicy {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.links {
  text-transform: uppercase;
  display: grid;
  gap: 10px;
}

nav.socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
}

.social-item {
  background-color: #fff0f0;
  border-radius: 100%;
  padding: 8px;
}
