/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	overflow: hidden;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family: monospace;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*CUSTOM*/
nav {
  width: 100%;
  padding: 5px;
  z-index: 1; /* Makes sure the text appears above the 3D scene */ 
  position: fixed;
  top: 0px;
}

#logo {
  position: relative;
  right: 15px;
  color: white;
  transform: scale(0.5);
  transform-origin: top left;
}

#menu-container {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  overflow: visible;
}

#chat-button {
  visibility: hidden;
  background: none;
  border: none;
  transform: scale(3);
  overflow: visible;
}

#chat-button:hover {
  transform: scale(3) rotate(20deg);
}

#iframe-container {
  position: fixed;
  background-color: white;
  left: 15px;
  bottom: 25px;
  width: 350px;
  height: 650px;
  border: 5px solid white;
  border-radius: 5px;
  transform-origin: top right;
  transition: transform var(--speed, 1s) ease-in-out, opacity var(--speed, 0.6s) ease;
  will-change: transform, opacity;
  z-index: 1;
}

#iframe-container.collapse {
  transform: translate(-100vw, 100vh) scale(0);
  opacity: 0;
}

.crt {
  position: relative;
  background: #0A0F14;
  color: #00FF9C;
  font-family: 'IBM Plex Mono', monospace;
  overflow: hidden;
  animation: flicker 0.15s infinite;
}

.crt::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 3px
  );
}

.crt-content {
  text-shadow:
    0 0 2px #00FF9C,
    0 0 6px #00FF9C,
    0 0 12px rgba(0,255,156,0.5);
}

@keyframes flicker {
  0% { opacity: 0.98; }
  50% { opacity: 1; }
  100% { opacity: 0.99; }
}

#chat-container {
  width: 350px;
  height: 650px;
}

#footer {
  position: fixed;
  bottom: 0px;
  right: 0px;
}


