body {
  background-color: black;
}

a {
  color: #666666;
  text-decoration: none;
}

img.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
}

#main {
/*  position: absolute;*/
  width: 100%;
/*  height: 100%;*/
  min-height: 13em;
  min-width: 800px;
  top: 0;
  left: 0;
}

#main .container-text {
  background:rgba(0,0,0,0.9);
  color: #AAAAAA;
  font-size: 18px;
  font-family: sans-serif;
/*
  position: absolute;
  top: 30%;
  left: 20%;
*/
  width: 80%;
  max-width: 600px;
  padding: 1em;
  margin-left: 1em;
  margin-top:7em;
}

#main .container-text strong {
  color: white;
}

#main .container-text p {
  margin: 0 0 1em; padding: 0;
}

#main .container-text.page5 {
  left: 10%;
  top: 10%;
  width: 40%;
}

#main .container-text.page5.aside1 {
  left: 60%;
  top: 10%;
  width: 30%;
}

.container-input {
  border: none;
  margin: 1em auto auto 2em; 
  padding: 0;
/*  position: absolute;
  bottom: 10%;
  left: 30%;*/
}

input[type=text] {
  /* height: 50px; */
  width: 250px;
  background: white;
  padding: 2px;
  border: 2px solid #ccc;
  font-size: 18px;
  margin: 0;
	box-shadow: 0 0 10px 5px #000000;
}

input[type=text]:focus {
  border-color: #333;
}

input[type=button] {
  width: 40px;
  height: 40px;
  position: relative;
  top: 4px;
  font-size: 30px;
}


audio {
  height: 40px;
  left: 0;
  min-width: 450px;
  position: fixed;
  top: 0;
  width: 80%;
}

video {
  width: 100%;
  height: 100%;
}

#vidctl {
  position: absolute;
  top: 0; right: 0;
  height: 60px;
  width: 100px;
}

#hint {
  display: block;
  color: grey;
  position: fixed;
  bottom: 1em;
  left: 2em;
  font-family: sans-serif;
}

.mybutton{
    width:42px !important;
    height:30px !important;
    position:relative;
    bottom:-1px;
    
}

.tip1 {
    text-align:right;
    font-size:15px;
    color:#525151;
    font-style:italic;
}

@media only screen and (max-width: 600px) {
	* {
		/* -webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; */
	}

	#main {
		min-width:3em;
		overflow:scroll;
		width:100%;
	}

	#main .container-text{
		width:90%;
		margin-top:13em;
	}
    
    #main .container-text.page4{
		margin-top:4em;
	}

	input[type=text] {
		height: 40px;
		width: 8em;
		background: white;
		border: 1px solid #000;
		font-size: 20px;
	}

	#main .container-text.page5 {
		width: 90%;
		left: 5%;
		position: relative;
		margin-top: 2em;
	}

	#main .container-text.page5.aside1 {
		left: 10%;
		width: 80%;
		position: relative;
		margin-top: 3em;
		margin-bottom:3em;
  }
}