@charset "UTF-8";
/* CSS Document */
.preparation #container{
	opacity: 0;
	background: none;
}

.preparation body #matrixAnimation{
    opacity: 1;
	width: 100%;
	height: 100%;
	border-radius: 0;
	left: 0;
	top: 0;
}

body #matrixAnimation{
    opacity: 0;
	width: 0;
	height: 0;
	border-radius: 50%;
	position: fixed;
	z-index: 100;
	left: 50%;
	top: 50%;
	overflow: hidden;
	transition: all 3s ease-in-out;
	-moz-transition: all 3s ease-in-out;
	-ms-transition: all 3s ease-in-out;
	-o-transition: all 3s ease-in-out;
	-webkit-transition: all 3s ease-in-out;
}

body{
	margin: 0;
	color: white;
	font-family: 'Roboto Mono', monospace;
    font-size: 18px;
}

#container{
	padding: 5vh 2.5vw;
    height: 90vh;
	background: url("../img/artmixer.jpg") no-repeat center center fixed;
  	background-size: cover;
	overflow-x: hidden;
	opacity: 1;
	transition: all 2s ease-in;
	-moz-transition: all 2s ease-in;
	-ms-transition: all 2s ease-in;
	-o-transition: all 2s ease-in;
	-webkit-transition: all 2s ease-in;
}

#nextProject:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 5vw 5vw 0;
    border-style: solid;
    border-color: #fff #fff rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.5);
    border-radius: 0 0 0 5px;
    /* background: rgba(0, 0, 0, 1); */
    display: block;
    width: 0;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 30%), -1px 1px 1px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 1px rgb(0 0 0 / 30%), -1px 1px 1px rgb(0 0 0 / 20%);
}

#nextProject a{
	position: absolute;
    width: 5vw;
    height: 5vw;
    top: 0;
    right: 0;
}

h1{
	font-style: italic;
}

h3{
	margin-top: 50px;
}

p{
	font-size: 0.75em;
}

a{
	text-decoration: none;
	color: white;
}

img{
	max-height: 100%;
	max-width: 100%;
}

body #matrixAnimation img{
	width: 100%;
	height: 100%;
}

header .content{
	text-transform: uppercase;
	font-size: 3.5em;
	line-height: 1.2em;
	transform: rotate(-90deg);
  	transform-origin: right top;
  	width: 90vh;
}

header{
	height: 90vh;
	position: fixed;
	/*left: 75px;
	bottom: 0;*/
	text-align: center;
	transform: translateX(-100%);
	left: 2.5vw;
	top: 5vh;
}

main{
	margin-left: 200px;
    width: calc(40% - 100px);
    float: left;
}

aside{
	width: calc(60% - 100px);
	height: calc(60vw - 100px - 2.5vw);
    float: left;
	position: fixed;
	top: 50%;
    left: 50%;
    transform: translate(0, -50%);
}

#cnv{
	margin-left: 100px;
	width: 90%;
	height: 93%;
}

canvas{
	
	border-radius: 50%;
	/*background: white;*/
	
}

#background{
	position: absolute;
    width: 100%;
    height: 100%;
    top: -1px;
    left: 0;
	margin-left: 98px;
}

#background img{
	width: auto;
	height: auto;
	object-fit: cover;
}

#control{
	position: absolute;
    right: 0;
    top: 50%;
	transform: translate(0, -50%);
    background-color: rgba(255,255,255,0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 10px 0 0 10px;
    padding: 10px 20px 20px 20px;
    color: black;
}

#control > *{
	display: block;
}

#control p:first-child{
	float: left;
    margin-right: 10px;
}

#control label{
	font-size: 0.75em;
}

#control input{
	margin: 0
}

#control p{
	margin: 10px 0 0 0;
}

#control select{
	margin: 10px 0 0 0;
}

/*Mobile*/
@media screen and (max-width:850px) {
	main{
		width: calc(100% - 100px);
		margin-left: 75px;
	}
	
	aside{
		position: relative;
		width: calc(100% - 100px);
    	height: calc(100vw - 100px - 2.5vw);
		top: auto;
		left: auto;
		margin: calc(150px + 2.5vw) 0 0 100px;
	}
	
	header .content {
    	font-size: 1.75em;
	}
	
	#cnv{
		margin-left: 0;
		width: 98%;
	}
	
	#background{
		width: 100%;
    	height: 100%;
		margin-left: 0;
	}
}

@media screen and (max-width:720px) {
	#nextProject::before{
		border-width: 0 7.5vw 7.5vw 0;
	}
	
	#nextProject a{
		width: 7.5vw;
    	height: 7.5vw;
	}
}