/* MOUNT FONTS */
/* RetroFont Regular */
@font-face {
  font-family: 'Cutie';
  src: url('/fonts/CutieTop.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HalcynOB';
  src: url('/fonts/Halcyn-Oblique.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HalcynReg';
  src: url('/fonts/Halcyn-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HalcynRound';
  src: url('/fonts/Halcyn-Rounded.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HalcynRoundOB';
  src: url('/Halcyn-Rounded-Oblique.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Blox';
  src: url('/fonts/Blox2.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VideoPhreak';
  src: url('/fonts/VIDEOPHREAK.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Vanosky';
  src: url('/fonts/Vanosky.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VanoskyTH';
  src: url('/fonts/Vanosky-Thin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VanoskyB';
  src: url('/fonts/Vanosky-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VCR';
  src: url('/fonts/VCRMONO.woff2') format('woff2');
  font-weight: normal;
  font-style: normal; 
}


/* --- Background with gradient --- */
body {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0)), /* gradient layer */
    url("/vid/stargif.gif") center center / cover no-repeat fixed;  /* GIF layer */
  margin: 0;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 20px; /* space for header */
  font-family: Verdana, Geneva, sans-serif;
  color: black;
  position: relative;
}


/* --- Header --- */
.site-headline {
  font-family: "Cutie", Arial, sans-serif;
  font-size: 100px;
  color: #ffffff; 
  text-align: center;
  margin: 10px 0;
  position: relative;
  z-index: 1;
  text-shadow:
    0 0 5px #ef78ff,
    0 0 10px #ef78ff,
    0 0 20px #ef78ff,
    0 0 40px #ef78ff,
    0 0 80px #ef78ff; /* neon glow */
}

.header-spacer {
  height: 20px;
}

/* --- Box media centering --- */
.box img,
.box iframe {
  display: block;
  margin: 0 auto;     /* centers horizontally */
  max-width: 100%;    /* stays inside box */
  height: auto;
}

/* --- Containers --- */
.container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;      
  align-items: flex-start;     
  gap: 10px;
  margin-bottom: 10px;
}

.vertical-container {
  display: flex;
  flex-direction: column;   /* stack videos vertically */
  gap: 10px;                /* space between video boxes */
  flex: 0 0 auto;           /* do NOT stretch horizontally */
}

.vertical-container .box {
  margin-bottom: 20px;  /* spacing between stacked boxes */
}


.horizontal-container {
  display: flex;         /* side-by-side layout */
  flex-wrap: wrap;       /* wrap if screen is too small */
  gap: 20px;             /* spacing between buttons box and skull GIF */
  justify-content: center; /* center horizontally */
}


/* --- 90s Windows-style boxes --- */
.box {
  position: relative;
  background-color: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #808080;
  padding: 10px;
  max-width: 400px;
  flex: 0 1 auto;
  font-family: "Courier New", monospace;
  margin: 20px;
  box-sizing: border-box;
}


/* --- Custom box sizes --- */
.custom-box-long {
  max-width: 500px;
  padding-top: 10px;
}
.custom-box-med {
  max-width: 450px;
  padding-top: 10px;
}

.custom-box-wide {
  max-width: 650px;
  padding-top: 10px;
}

.custom-box-lg {
  max-width: 800px;
  padding-top: 20px;
}

.custom-box-sm {
  max-width: 325px;
  padding-top: 30px;
}

/* --- Center only images and videos inside custom boxes --- */
.custom-box-long img,
.custom-box-long iframe,
.custom-box-med img,
.custom-box-med iframe,
.custom-box-wide img,
.custom-box-wide iframe,
.custom-box-lg img,
.custom-box-lg iframe,
.custom-box-sm img,
.custom-box-sm iframe {
  display: block;      /* removes inline spacing */
  margin: 0 auto;      /* horizontally centers the element */
  max-width: 100%;     /* ensures it doesn't overflow the box */
  height: auto;        /* maintains aspect ratio */
}

/* --- Box media centering --- */
.box img,
.box iframe {
  display: block;
  margin: 0 auto;     /* centers horizontally */
  max-width: 100%;    /* stays inside box */
  height: auto;
}


/* --- Title bar using data-title --- */
.box::before {
  content: attr(data-title);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #600080;
  color: white;
  font-weight: bold;
  padding: 4px 8px;
  font-size: 14px;
  border-bottom: 2px solid #808080;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
}

/* Push content below title bar */
.box > * {
  margin-top: 24px;
}

/* --- Close button inside title bar --- */
.box::after {
  content: "✖";
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 3;
}

/* --- Fonts for box headers and content --- */
h1 {
  font-family: "Cutie", Arial, sans-serif; 
  font-size: 155px;
  color: #000000;
  text-shadow:
    0 0 6px #ef78ff,
    0 0 12px #ef78ff,
    0 0 24px #ef78ff;
}


h2 {
  font-family: "VideoPhreak", Arial, sans-serif; 
  font-size: 50px;
  color: #3E0052;
  text-shadow:
    0 0 6px #9D00D1,
    0 0 12px #9D00D1;
}

p {
  font-family: "VCR", sans-serif; 
  font-size: 20px;
  font-weight: 500;
  color: #000000;
}

li {
  font-family: "VCR", Arial, sans-serif; 
  font-size: 16px;
  color: #000000;
}

/* Spacing inside boxes */
.box h2 {
  margin-bottom: 5px;   /* reduce space under heading */
}

.box p {
  margin-top: 10px;        /* remove space above paragraph */
}

.box li {
  margin-bottom: 3px;        /* remove space above paragraph */
}



/* --- Buttons inside boxes --- */
.box-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.button-img {
  width: 80px;
  height: 80px;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.button-img:hover {
  transform: translate(2px, 2px); /* simulates click */
}


/* EXTRA */

/* Individual status messages styled like white boxes */
.status-message {
  background-color: #ffffff;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #808080;
  padding: 8px 12px;
  margin: 8px 0;
  font-family: "VCR", monospace;
  font-size: 16px;
  color: black;
  box-sizing: border-box;
}

/* Style the form fields for the letter section */
.box form input,
.box form textarea {
  width: 100%;
  padding: 8px 12px;
  margin: 6px 0 12px 0;
  box-sizing: border-box;
  font-family: "VCR", monospace;
  font-size: 16px;
  background-color: #ffffff; /* white background */
  color: #000000;            /* black text */
  border: 2px solid #000;    /* black border for 90s style */
  box-shadow: 2px 2px 0 #808080; /* subtle retro shadow */
  outline: none;
}

/* Style the submit button */
.box form button {
  background-color: #600080;
  color: white;
  font-family: "VCR", monospace;
  font-size: 16px;
  padding: 10px 20px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #808080;
  cursor: pointer;
}

.box form button:hover {
  transform: translate(2px, 2px); /* retro “click” effect */
}
