@font-face {
  font-family: 'Papyrus';
  src: url("/sources/font/papyrus") format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Foxilic';
  src: url("/sources/font/foxilic") format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body {
    height: 100%;
    font-family: "Consolas", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: beige;
    color: black;
    display: flex;
    flex-direction: column;
}

header {
    background-color: bisque;
    color: white;
    padding: 1rem;
    text-align: center;
}

footer {
    background-color: bisque;
    color: rgb(255, 255, 255);
    padding: 1rem;
    text-align: center;
}

nav {
    background-color: tan;
    padding: 4px;
}

nav a {
    padding: 4rem;
}

#content {
    background-color: beige;
    color: black;
    flex: 1;
    padding: 20px;
    display: flex;
    height: 100vh;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

figure {
  border-radius: 4px;
  background-color: bisque;
  overflow: hidden;
  border: 8px solid bisque;
  width: fit-content;
  margin: auto;
}

figcaption {
  padding: 8px;
  font-size: 0.9em;
  color: black;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

canvas {
    image-rendering: pixelated;
}

.thumbnail {
  width: 320px;
  height: 240px;
  object-fit: contain; /* or cover if you want crop/fill */
}

h1 {
    padding: 0;
}

#foxilic_input {
    font-family: 'Foxilic', sans-serif; font-size: 20px; padding: 8px 12px; border: 2px solid #ccc; border-radius: 4px; width: 300px;
}
