/* Make the body take up the full screen and center everything */
body {
    margin: 0;
    /* background: black; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100svh;
    /* background: radial-gradient(circle, rgba(63, 94, 251, 1) 35%, rgba(170, 70, 252, 1) 88%); */
    /* background: url('/img/background_dark_600x.jpeg') center center / cover no-repeat; */
    background: black;
  }

  @font-face {
    font-family: VT323;
    src: url(/fonts/VT323-Regular.ttf)
  }

.sometextualcontentperhaps {
margin: 1.5em;
color: #ffd858;
/* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9); */
background: rgba(36, 36, 36, 0.4);
border-radius: 15px;
padding: 0.7em;
padding-top: 0;
/* font-family: 'Segoe UI', sans-serif; */
font-family: 'VT323';
line-height: 1.5;
}

/* Optional: limit content width for nicer line length */
.sometextualcontentperhaps p {
    font-size: 1.5em;
/* max-width: 60ch; */
/* margin: 1rem auto; */
}

.link {
    font-size: 1.1em;
}
.link a {
    color: aqua;
    font-weight: bold;
    font-style: italic;
}

/* Retro-style title */
.title {
/* font-size: 3em; */
text-shadow: none;
margin-bottom: 0;
white-space: nowrap;
/* overflow: hidden; */
/* text-overflow: ellipsis; */
font-size: clamp(1.5em, 5vw, 3em);
/* line-height: ; */
/* margin-bottom: 1rem; */
/* text-align: center; */
/* color: #005577; */
/* text-shadow: 0 0 2px rgba(0, 200, 255, 0.3), 0 0 4px rgba(0, 180, 255, 0.15); */
/* letter-spacing: 0.5px; */
}
  
.apicture {
    display: block;
    margin: 0 auto;
    max-width: 30%;
    height: auto;
  }
  /* hide the frame on narrow screens */
  .SUPERCOOLTAGNAME {
    width: 100%;
    background: #fff;
    /* padding: 2rem; */
    /* text-align: center; */
  }
  
  @media screen and (max-aspect-ratio: 4/3) {
    .SUPERCOOLTAGNAME {
      height: 100svh;
      background: url('/img/apicture.png') center center / cover no-repeat;
      position: relative;
      overflow: hidden;
    }
    .sometextualcontentperhaps {
        background: rgba(36, 36, 36, 0.3);
        padding: 0.7em;
        padding-top: 0;
    }
  }

  /* gimme a frame on desktop */
  @media screen and (min-aspect-ratio: 4/3) {
    .SUPERCOOLTAGNAME {
        width: 55%;
        aspect-ratio: 4 / 3;
        background: #e2e2e2 url('/img/apicture.png') center center / cover no-repeat;
        border-radius: 16px;
        overflow: hidden;
        z-index: 1;
        position: relative;
        box-shadow:
        /* 0 0 0 4px #151515,           outer bezel */
        /* 0 0 0 8px #000,              layered depth */
        /* 0 20px 30px rgba(0, 85, 74, 0.2), floating shadow beneath */
        inset 0 0 20px rgba(0, 255, 255, 0.05),
        inset 0 0 80px rgba(0, 255, 200, 0.04);
      }
  
    .SUPERCOOLTAGNAME::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0.3) 85%,
        rgba(0, 0, 0, 0.45) 100%
      );
      z-index: 2;
    }
  
    /* .SUPERCOOLTAGNAME::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      box-shadow: inset 0 0 15px rgba(0, 85, 255, 0.1);
      z-index: 3;
    } */
    .SUPERCOOLTAGNAME::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      box-shadow: inset 0 0 15px rgba(0, 85, 255, 0.1);
      background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 2px
      );
      z-index: 3;
    }
  }

  .footer {
    position: absolute;
    bottom: 1em;
    right: 1.5em;
    display: flex;
    gap: 0.5em;
    font-size: 1em;
    font-weight: bold;
    /* border-radius: 0px; */
    z-index: 5;
  }
  
  /* style the links inside the footer */
  .footer a {
    color: #7fff3f;
    text-decoration: none;
    background: rgba(36, 36, 36, 0.7);
    padding: 0em 0.5em;
    border-radius: 3px;
    /* font-style: italic; */
  }

  .grow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .grow-text {
    font-family: 'VT323', monospace;
    color: #ffd858;
    font-size: 2em;
    animation: growStep 8s steps(20, end) forwards;
    will-change: transform;
  }

  @keyframes growStep {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(20); /* final size */
    }
  }


  .insult-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: rgb(48, 48, 48); */
    padding: 1em;
    border-radius: 8px;
    margin: 1.5em auto;
    width: 100%;
    max-width: 90%; /* or 95% depending on how tight you want it */
    box-sizing: border-box; /* this is crucial */
    /* box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); */
}

.insult-target {
  width: 100%;
  max-width: 20%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  outline: 5px solid rgb(39, 39, 39)
}

@media screen and (max-width: 600px) {
  .insult-frame {
      background: none;
      padding: 0;
      margin: 1em auto;
      box-shadow: none;
  }

  .insult-target {
      width: 90%;
      max-width: 80%;
      border-radius: 6px;
  }
}

/* NEW: Form container */
.insult-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* NEW: Text input field */
.insult-input {
  font-family: 'VT323', monospace;
  font-size: 1.25em;
  padding: 0.4em 0.6em;
  background: rgba(0, 0, 0, 0.2);
  color: #ffd858;
  border: 1px solid #ffd858;
  border-radius: 4px;
  width: 60%;
  text-align: center;
}

.insult-input::placeholder {
  color: #aa9940;
}

/* NEW: Submit button */
.submit-button {
  font-family: 'VT323', monospace;
  font-size: 1.2em;
  background: rgba(36, 36, 36, 0.7);
  color: #7fff3f;
  border: 1px solid #7fff3f;
  padding: 0.4em 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background: rgba(36, 36, 36, 0.9);
}
@media screen and (min-width: 768px) {
  .insult-form {
      flex-direction: row;
      justify-content: center;
  }

  .insult-input {
      width: 50ch;
      margin-right: 0.75em;
  }

  .submit-button {
      margin: 0;
  }
}
