@font-face {
    font-family: 'MainFont';
    src: url(/Anton-Regular.ttf);
}

@font-face {
  font-family: 'PlayfulFont';
  src: url(/CherryBombOne-Regular.ttf);
}


@media screen and (max-width: 1500px) {
    .AboutJackSection {
        top: -10px;
    }
}

@media screen and (max-width: 1050px) {
    .AboutJackSection {
        top: -50px
    }
}

@media screen and (max-width: 950px) {
    .AboutJackSection {
        top: -65px;
    }
}

.AboutJackSection {
  width: 100%;
  height: 1300px;
background: linear-gradient(
  180deg,
  #3a0f5c 0%,
  #3a0f5c 70%,
  #7d3bb2 100%
);

  text-align: center;
  position: relative;
  margin-top: -100px;
  overflow: hidden;
}

.AboutH1 {
  font-family: "MainFont";
  font-weight: 100;
  font-size: 98px;
  text-align: center;
  width: 100%;
  margin-top: 140px;
  -webkit-text-stroke: 2px #000;
  text-shadow:
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000;
  display: inline-block;
  color: #ffb347;
}

/* Every letter */
.AboutH1 span {
  display: inline-block;
  animation: colorSwap 1s steps(1, end) infinite;
}

/* Alternate colors instantly */
.AboutH1 span:nth-child(odd) {
  animation-delay: 0s;
}
.AboutH1 span:nth-child(even) {
  animation-delay: 0.5s;
}

@keyframes colorSwap {
  0% {
    color: #c77dff; /* orange */
  }
  50% {
    color: #7d3bb2; /* yellow */
  }
  100% {
    color: #c77dff; /* back to orange */
  }
}

.AboutContentBox {
  width: 70%;
  max-width: 1750px;
  background: linear-gradient(145deg, #e4c1ff, #d49bff);
  border: 6px solid #000;
  border-radius: 35px;
  margin: 20px auto;
  padding: 60px 70px;
  box-shadow:
    10px 8px 0 #000,
    0 0 35px rgba(0, 0, 0, 0.2);
  font-family: "PlayfulFont", sans-serif;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.3px;
  color: #3a1c0b;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center; /* ✅ Center all text */
}


.AboutContentBox p {
  margin-bottom: 35px;
  text-align: center;
}

.AboutContentBox strong {
  color: #7d3bb2;
  text-shadow: 1px 1px 0 #f2d0ff;
}

.AboutContentBox em {
  color: #3a0f5c;
  font-style: normal;
  font-weight: 600;
}

/* Fancy hover effect */
.AboutContentBox:hover {
  transform: translateY(-4px);
  box-shadow:
    12px 10px 0 #000,
    0 0 35px rgba(0, 0, 0, 0.35);
}

/* Optional glowing highlight moving across the box */
.AboutContentBox::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 5s infinite;
}

@keyframes shine {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.DonationStats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.StatBox {
  background: #fff;
  border: 5px solid #000;
  border-radius: 25px;
  padding: 30px 60px;
  box-shadow: 6px 5px 0 #000;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.StatBox:hover {
  transform: translateY(-5px);
  box-shadow: 8px 7px 0 #000;
}

.StathI, .StathII {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 900;
  font-family: "MainFont";
}

.StathI {
  color: #19a83a;
}

.StathII {
  color: #7d3bb2;
}

.StatBox p {
  margin: 5px 0 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: #000;
}

/* ========================= */
/* 🌍 RESPONSIVENESS SECTION */
/* ========================= */

/* --- Medium screens (tablets, small laptops) --- */
@media screen and (max-width: 2200px) {
  .AboutJackSection {
    height: 1400px;
  }
}

@media screen and (max-width: 1600px) {
  .AboutJackSection {
    height: 1450px;
  }  
}

@media screen and (max-width: 1450px) {
  .AboutJackSection {
    height: 1600px;
  }  
}


@media screen and (max-width: 1200px) {
  .AboutH1 {
    font-size: 70px;
    margin-top: 100px;
  }

  .AboutContentBox {
    width: 85%;
    font-size: 22px;
  }

  .DonationStats {
    gap: 40px;
  }

  .StatBox {
    padding: 25px 45px;
  }

  .StathI, .StathII {
    font-size: 2rem;
  }

  .AboutJackSection {
    padding-bottom: 100px;
    height: 1200px;
  }
}

/* --- Small screens (tablets & large phones) --- */
@media screen and (max-width: 900px) {
  .AboutJackSection {
    padding-bottom: 80px;
  }

  .AboutH1 {
    font-size: 58px;
    margin-top: 90px;
  }

  .AboutContentBox {
    max-width: 90%;
    padding: 40px 35px;
    font-size: 20px;
    box-shadow: none;
    line-height: 1;
  }

  .AboutContentBox:hover {
    box-shadow: none;
  }

  .DonationStats {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .StatBox {
    width: 80%;
    padding: 25px 35px;
  }

  .StathI, .StathII {
    font-size: 1.8rem;
  }

  .StatBox p {
    font-size: 1rem;
  }
}

/* --- Very small screens (mobile phones) --- */
@media screen and (max-width: 600px) {
  .AboutJackSection {
    margin-top: -120px;
    height: auto;
    padding-bottom: 100px;
  }

  .AboutH1 {
    font-size: 40px;
    margin-top: 80px;
    line-height: 1.1;
  }

  .AboutContentBox {
    max-width: 90%;
    padding: 30px 25px;
    font-size: 18px;
    border-width: 4px;
    border-radius: 25px;
  }

  .DonationStats {
    gap: 25px;
  }

  .StatBox {
    max-width: 90%;
    padding: 20px 25px;
  }
}

@media screen and (max-width: 450px) {
  .AboutContentBox {
    font-size: 16px;
    max-width: 80%;
  }
}
