/*Scan lines*/
body::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

body {
  margin: auto;
  padding: 1em;
  font-family: Courier, monospace;
  color: green;
  background: #111;
  word-wrap: break-word;
  background: url(bg.jpg) fixed center no-repeat;
  background-size: cover;
  height: 100vh;
  text-shadow: 0 0 3px #C8C8C8;
}

body a {
	color: red;
}

.container {
	width: 60%;
    margin: 0 auto;
    transition: height 2s;
    overflow: hidden;
}

.monitor {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
    border: ridge 5px green;	
}

.monitor iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.bottom-container {
	position: relative;
	width: 60%;
	margin: 0 auto;
}

.ui {
	position: absolute;
    background: rgba(0,0,0,0.25);
    width: 100%;
    border: 30px solid transparent;
    border-image: url(ask.png);
    border-image-slice: 27 27 27 27;
    border-image-repeat: repeat repeat;
    box-sizing: border-box;
    height: 330px;
}

.ui h1 {
	text-align: center;
	text-shadow: none;
	font-size: 1.5em
}

.ui pre {
	margin-top: 10px;
	font-weight: bold;
	font-size: 1.15em;
	color: white;
	text-shadow: none;
}

.ui pre {
	margin-left: 35%;
}


.ui button {
	margin: 40px 25% 0;
}

.ascii {
	float: left;
	border-left: 10px solid transparent;
	margin-top: 10px;
	height: 330px;
}

.act {
	display: none;
	width: 200px;
	height: 100%;
	margin: 0 auto;
	position: relative;
}

.act p {
	animation: actloading 0.25s infinite;
	animation-direction: alternate;
}

.act img {
    position: absolute;
    top: 30%
}

@keyframes actloading {
	from {font-weight: 100;}
	to {font-weight: 800;}
}

@keyframes kaplooey {
	from {color: orange; font-weight: 100;}
	to {color:red; font-weight: 900;}
}

/* Mobile */

@media screen and (max-width: 1325px) {

	.ascii {
		opacity: 0.25;
	}

}

@media screen and (max-width: 950px) {

    .bottom-container {
    	width: 80%;
    }

	.container {
		width: 80%;
	}

}

@media screen and (max-width: 800px) {

    .ui h1 {
    	font-size: 1em;
    }

    .ascii {
    	font-size: 0.75em;
    }

}

@media screen and (max-width: 650px) {

	.ui pre {
		margin-left: 30%;
	}

    .bottom-container {
    	width: 100%;
    }	

	.container {
		width: 100%;
	}

}

@media screen and (max-width: 450px) {

    .ui pre {
		margin-left: 10%;
	}

}