	:root {
        --text: #ffffff;
        --shadow: #332033;
        --light: #ffffff;
        --secretotherthing: #01FFFF;
        --bg: #000000;
	}

@font-face {
  font-family: 'pixel';
  src: url(../fonts/PixelOperator.ttf);
}
@font-face {
  font-family: 'determination';
  src: url(../fonts/determination.ttf);
}

*{ 
	box-sizing: border-box;
}

.page1{
overflow-y: auto;
font-family: 'determination','undertale', 'pixel';
cursor: url(deltaruneimages/cursor.cur), pointer;
color: var(--text);   
}

.page2{
overflow-y: auto;
font-family: 'determination','undertale', 'pixel';
cursor: url(deltaruneimages/Normal\ K.cur), pointer;
color: var(--text);   
}

.container {
	max-width: 50rem;
	margin: 1vw auto 10px auto;
	border: 4px solid;
    border-right-color: var(--shadow);
    border-bottom-color: var(--shadow);
    border-top-color: var(--light);
    border-left-color: var(--light);
    background-color: var(--bg);
	display: flex;
	flex-wrap: wrap;
	padding: 7px;
	gap: 5px;
    background-image: url();
    background-size: 200px;
}

.container{
    max-height: 47.5rem;
    overflow-y: auto;
}

.verysmall {flex: 1 1 2%;}

.small { flex: 4 4 9%; }

.half { flex: 1 1 49%; }

.large { flex: 2 2 82%; }

.full { flex: 1 1 100%; }

nav {
	border: 3.5px solid;    
	padding: 5px;
  border-right-color: var(--shadow);
  border-bottom-color: var(--shadow);
  border-top-color: var(--light);
  border-left-color: var(--light);
	background-color: var(--bg);
}
nav div {
	text-align: center;
	font-size: 1.4rem;

}
nav a {
	display: block;
	margin: 5px;
	padding: 2px 7px;
    border: 3px solid;
    border-right-color: var(--shadow);
    border-bottom-color: var(--shadow);
    border-top-color: var(--light);
    border-left-color: var(--light);
	text-decoration: underline;
    color: #501F38;
    background-color: var(--bg);
}
nav a:link, nav a:visited { 
	color: var(--text);
}

nav a:hover, nav a:focus {
background-color: var(--secretotherthing);
}

em {
  font-style: normal;
}

a{
  color: white;
}

a :hover{
  color: var(--secretotherthing);
}

section {
	border: 3px solid;
  font-size: 1.2rem;
	background: var(--bg);
  border-right-color: var(--shadow);
  border-bottom-color: var(--shadow);
  border-top-color: var(--light);
  border-left-color: var(--light);
}

.border{
  border: 4px solid;
  border-right-color: var(--shadow);
  border-bottom-color: var(--shadow);
  border-top-color: var(--light);
  border-left-color: var(--light);
}

.krisbox:hover{
  border: 3px solid var(--secretotherthing);
  color: var(--secretotherthing);
}

  .shake:hover {
  -webkit-animation-name: shake;
  animation-name: shake;
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

.choice :hover{
  opacity: 1;
}

.choice{
  opacity: 0;
}

.krisbreak:hover{
  border-bottom: 3px solid var(--secretotherthing);
  color: var(--secretotherthing);
}

.krisbreak{
  border-bottom: solid 3px #332033;
}

.scrollbar{
overflow-y: auto;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shakestay {
  -webkit-animation-name: shake;
  animation-name: shake;
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shakestay {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

h4{
    text-align: center;
    font-weight: normal;
    font-size: 1rem;
    font-family: 'determination';
}

h4:before{
 content:url('../images/underconstruction.gif');
 padding-right:5px;
}
h4:after{
 content:url('../images/underconstruction!!.gif');
 padding-left:5px;
}






























/*crt effect by alex clownes, you can find the code and tutorial here: https://aleclownes.com/2017/02/01/crt-display.html*/

.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}
.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}
.crt {
  animation: textShadow 1.6s infinite;
}
