@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&family=Irish+Grover&family=Special+Elite&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

@font-face {
  font-family: "Elegant Typewriter";
  src: url(font/eleganttypewriter/ELEGANT\ TYPEWRITER\ Bold.woff2);
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Elegant Typewriter";
  src: url(font/eleganttypewriter/ELEGANT\ TYPEWRITER\ Italic.woff2);
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Elegant Typewriter";
  src: url(font/eleganttypewriter/ELEGANT\ TYPEWRITER\ Light.woff2);
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Elegant Typewriter";
  src: url(font/eleganttypewriter/ELEGANT\ TYPEWRITER\ Regular.woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "enterthegungeon";
  src: url(font/enter-the-gungeon-big.woff2);
}

@font-face {
  font-family: "Dead Secretary";
  src: url(font/DeadSecretary.woff2);
}

@font-face {
  font-family: "ayuthaya";
  src: url(font/Ayuthaya.woff2);
}

@font-face {
  font-family: "pixeloperator";
  src: url(font/pixeloperator/pixeloperator8-webfont.woff);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "pixeloperator";
  src: url(font/pixeloperator/pixeloperator8-bold-webfont.woff);
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "minecraft";
  src: url(font/minecraft/minecraftbold-nmk1-webfont.woff2) format("woff2"),
    url(font/minecraft/minecraftbold-nmk1-webfont.woff) format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "minecraft";
  src: url(font/minecraft/minecraftbolditalic-1y1e-webfont.woff2) format("woff2"),
    url(font/minecraft/minecraftbolditalic-1y1e-webfont.woff) format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "minecraft";
  src: url(font/minecraft/minecraftitalic-r8mo-webfont.woff2) format("woff2"),
    url(font/minecraft/minecraftitalic-r8mo-webfont.woff) format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "minecraft";
  src: url(font/minecraft/minecraftregular-bmg3-webfont.woff) format("woff2"),
    url(font/minecraft/minecraftregular-bmg3-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'thatold90s';
  src: url(font/that_old__90s_computer.woff);
}

@font-face {
  font-family: 'prehistorictimes';
  src: url(font/prehistoric/prehistorictimeslight-axodm-webfont.woff);
}

@font-face {
  font-family: 'animeace';
  src: url(font/animeace/animeace2_reg-webfont.woff);
}

@font-face {
  font-family: "Comic Sans";
  src: url(font/comicsansms/Comic-Sans.woff);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Comic Sans";
  src: url(font/comicsansms/Comic-Sans-Bold.woff2);
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Comic Sans";
  src: url(font/comicsansms/Comic-Sans-Italic.woff2);
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Comic Sans";
  src: url(font/comicsansms/Comic-Sans-Bold-Italic.woff2);
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "elsfont";
  src: url(font/el&font-rban-calligraphy.woff2);
}

button {
  font-family: inherit;
}

@font-face {
  font-family: "sprayer";
  src: url(font/sprayer/sprayeroblique-bnxw-webfont.woff);
}

.flex {
  display: flex;
}

.text-center {
  text-align: center;
}

/* code {
  background-color: rgb(194, 194, 194);
  border-radius: 5px;
  padding: 2px;
  white-space: pre;
}

pre code {
  display: block;
  white-space: pre;
  overflow-x: scroll;
  max-width: 100%;
  min-width: 100px;
  padding: 1em;
} */

pre {
  background-color: #2d2d2d; 
  color: #f8f8f2;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.95em;
  line-height: 1.5;
  border: 1px solid #444;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

code {
  background-color: #2d2d2d; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #f8f8f2;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
}

pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
  white-space: pre;
}

.long-code {
  overflow-x: auto;
  max-width: 100%;
  display: inline-block;
  overflow-x: auto;
  white-space: nowrap;
  vertical-align: middle;
}

.vault-word {
  font-family: sprayer;
  letter-spacing: 2px;
}

#toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}

.toast {
  background-color: #333333;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.4s forwards, fadeOut 0.4s ease forwards 3.6s;
}

#pizza {
  z-index: 0;
  position: absolute;
  top: 50px;
  right: 130px;
  animation: spin 10s linear infinite; 
}
#logo {
   z-index: 1;
  position: absolute;
  right: 130px;
  top: 10px;
 filter: drop-shadow(10px 10px 10px #2d2d2e);
}
@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

:root {
  --text-light: white;
  --text-dark: black;
  --main: #93134a;
  --secondary: #3c2866f9;
  --main-light: #e56363;
  --serious-color: black;
  --neon-green: rgb(38, 255, 0);
  --vibrant-pink: rgb(255, 75, 105);
  --cute-orange: rgb(223, 96, 28);
  --hot-pink: #e90088;
  --scrap-accent: #ff6868;
}

/* --- spin animation --- */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}