/* ──────── Fonts ──────── */
@font-face {
  font-family: 'funkertale';
  src: url('../fonts/Funkertale.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.funkertale {
  font-family: 'funkertale';
}

/* ──────── Base Layout ──────── */
html {
  font-size: 21px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: 'funkertale', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ──────── Headers & Paragraphs ──────── */
header h1 {
  margin: 2rem 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.4;
  margin: 0 auto 1rem;
  max-width: 850px;
  word-wrap: break-word;
}

.black-outline {
  filter:
    drop-shadow( 0    0.5px 0 #000)
    drop-shadow( 0   -0.5px 0 #000)
    drop-shadow( 0.5px  0   0 #000)
    drop-shadow(-0.5px  0   0 #000)
    drop-shadow( 0.5px  0.5px 0 #000)
    drop-shadow(-0.5px  0.5px 0 #000)
    drop-shadow( 0.5px -0.5px 0 #000)
    drop-shadow(-0.5px -0.5px 0 #000);
}

/* ──────── Responsiveness──────── */
@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  p {
    padding: 0 0.5rem;
  }
}

/* ──────── Link Styling ──────── */
.linkYellow {
  color: yellow;
}

.linkYellow:hover {
  color: orange;
}

.linkYellow:focus {
  outline: none;
  box-shadow: 0 0 6px 3px yellow;
  border-radius: 2px;
}

/* ──────── Credit Image Layout ──────── */
.creditImagesSize {
  width: clamp(80px, 10vw, 120px);
  height: auto;
  border-radius: 7px;
  margin-bottom: 0.5rem;
  transform: scale(1.5);
}

/* ──────── Developer Credit Styles ──────── */
.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 600px;
  padding: 1rem;
  margin-top: -0.5rem;
  margin-bottom: 5rem;
}

.creditTextResizer {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: yellow;
  text-decoration: none;
  margin-top: 1rem;
}

.creditTextFloatAnim {
  border-radius: 50%;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* ──────── Individual Dev Effects ──────── */
.creditZachDK,
.creditGontheGhost,
.creditSpunkyTunky,
.creditGlintfish,
.creditGian,
.creditHIGG {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ZachDK */
.creditZachDK:hover       { color: purple; }
.creditZachDK:focus       { color: green; border-radius: 2px; }

/* Gon */
.creditGontheGhost:hover  { color: lightseagreen; }
.creditGontheGhost:focus  { color: skyblue; border-radius: 2px; }

/* SpunkyTunky */
.creditSpunkyTunky:hover  { color: #00B3FF;  }
.creditSpunkyTunky:focus  { color: #BE8873; border-radius: 2px; }

/* Glintfish */
.creditGlintfish:hover    { color: #9ADCD6; }
.creditGlintfish:focus    { color: #74433F; border-radius: 2px; }

/* Gian */
.creditGian:hover         { color: #C82D2F; }
.creditGian:focus         { color: #FFC155; border-radius: 2px; }

/* HIGG */
.creditHIGG:hover         { color: orange; }
.creditHIGG:focus         { color: lime; border-radius: 2px; }

/* Danon */
.creditDanon:hover         { color: orange; }
.creditDanon:focus         { color: lime; border-radius: 2px; }