#mainpage {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    background: #ddd;
}
#loginForm {
    /*background: #f00;*/
    text-align: vertical-align;
}
#registerForm {
    /*background: #0f0;*/
}

body {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    /* background: #ddd; */
}

/*inspired by: https://www.w3schools.com/howto/howto_css_login_form.asp*/
/* Full-width inputs */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #EEEEEE;
}

/* Add padding to containers */
.container {
  padding: 16px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

.unity-container{
    width: 100%;
    height: 100%;
}

/* Set a style for all buttons */
button {
  background-color: #05AA05;/*#04AA6D;*/
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 15px;
  transition: opacity .5s;
}

button:hover {
  opacity: 0.8;
}

.logoutbtn {
    background-color: #AA0505;
}
/* ------------ HEADER ------------*/
header {
    /*height: 50px;*/
    text-align: center;
    font-size: 36px;
    font-family: verdana;
    color: white;
    margin-bottom: 50px;
    background: #888;
	transition: color .5s;
	transition: background.5s;
}
header a{
    color: white;
    text-decoration: none;
}
header:hover{
	background: #999;
    cursor: pointer;
}
/* ------------- NAV -------------*/
nav {
    font-family: verdana;
    text-align: center;
    height: 50px;
}
nav h2{
    color: #777;
    font-size: 46px;
    text-decoration: none;
}
nav ul {
    list-style-type: none;
}
nav li {
    display: inline;
    margin-right: 5%;
}
nav a{
    color: #777;
    font-size: 26px;
    text-decoration: none;
	transition: color .5s;
	transition: background .5s;
}
nav a:hover{
	color: #CCC;
	background: #666;
    cursor: pointer;
}
/* ----------- Section -----------*/
section {
    font-family: verdana;
    text-align: center;
    margin-left: 25%;
	margin-bottom:50px;
    width: 50%;
    height: 100%;
    float: left;
    font-size: 26px;
}
section ul {
    list-style-type: none;
}
section li{
    margin-right: 2%;
    margin-top: 20px;
    margin-bottom: 20px;
}
section a{
    color: #444;
    cursor: pointer;
    text-decoration: none;
	transition: color .5s;
	transition: background .5s;
}
section a:hover{
	color: #FFF;
	background: #AAA;
	/*font-size: 32px;*/
}
.portraitimage {
    width: 50%;
    /* transition: opacity .5s; */
}
/* .portraitimage:hover{
    opacity: 0.8;
} */
.iconcode {
    height: 30px;
    padding-left: 10px;
    padding-right: 10px;
}
.downloadFile{
    background-color: #05AA05;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
.playLink{
    background-color: chartreuse;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
/* ------------ FOOTER ------------*/
footer {
    text-align: center;
    /*clear: both;
    float: bottom;*/
    position: fixed;
    opacity: .8;
    bottom: 0px;
    margin-left: 30%;
    width: 40%;
    background-color: #AAA;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    height: 10px;

    transition: height .5s;
}
footer:hover{
    height: 50px;

    transition: height .2s;
}
footer ul {
    list-style-type: none;
}
footer li {
    display: inline;
    margin-right: 2%;
    margin-top: 20px;
    margin-bottom: 20px;
}
footer a{
    cursor: pointer;
    color: #FFF;
    text-decoration: none;
}
footer a:hover{
	color: #444;
}