* {
	box-sizing: border-box;
}

body {
	margin:0;
	font-family: sans-serif;
	font-family: 'Poppins', sans-serif;
	font-size: 100%;
}

label.projectname {
    position: relative;
    background: #fffffff2;
    padding: 0em 2em 0em 2em;
    bottom: -23em;
    left: -3%;
    box-shadow: -3px 3px #000000c2;
}


.container {
	max-width: 70vw;
	margin-left: auto;	
	margin-right: auto;	
}

.floatingnav {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
    width: 25%;
    position: fixed;
    bottom: 15em;
    left: -7em;
}

.floatingnav> li {
	font-weight: 500;
}
/*.project-description {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}*/

.flex-parent {
	display: flex;
}

.flex-child {
	flex: 1 1 auto;
/*    padding-right: 54%;
    padding-left: 10%;*/
}
.flex-none {
	flex: none;
}
.flex-center {
	align-items: center;
}

.flex-align-center {
	align-items:center;
}
.flex-justify-center {
	justify-content:center;
}
.flex-wrap {
	flex-wrap:wrap;
}

img.logo {
    position: relative;
    max-height: 50px;
}

img.projlogo {
    max-height: 60px;
    margin: 1em 1em 1em 0em;
}

header h1,
header p {
	margin: 0;
}

.sectional {
    font-size: 1.3em;
    font-weight: 400;
    margin: 2em 0em 2em 0em;
    border-left: 2px solid black;
    padding-left: 0.5em;
}

.challenge {
	background-color: #efefef;
    padding: 5em 0em 5em 0em;
    margin-top: 5em;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}    

.nav ul {
	list-style-type: none;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
}

.nav a {
	display: block;
	padding: 0.2em 1.5em;
	color: black;
	text-decoration: none;
}

.nav-flex ul {
	display:flex;
}


video {
  width: 100%;
  height: auto;
}






.projectname {
	font-size: 1.5em;
    font-weight: 500;
    color: black;
    margin: 0;
}


/*    padding: 9em 9em 3em 3em;
    background: linear-gradient(194deg, rgba(0,0,0,0) 0%, rgb(0 0 0 / 53%) 100%);
}*/

.resume {
	font-weight: 400;
	
	/*border: 2px solid #4c4999;
	border-radius: 50px;*/
	/*padding: 0;
	margin-left: 1em;*/
}

.resume a {
	color: #4c4999;
}

.intro{

	padding-top: 15vh;
}

.downarrow{
	max-width: 1.5em;
    position: relative;
    bottom: -8em;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.circle {
	position: absolute;
	left: -6%;
    top: 22%;
    opacity: 0.4;
    z-index: -1;
}

/*.intro>div {
	margin-top: 2em;
	margin-left: 2em;
}*/


.work {
	margin-top: 5em;
}

.work img {
	max-width: 100%;
	border-radius: 5px;
}


.work h4 {
	text-align: center;
}

.about {
	margin-top: 5em;
}



.about img {
	max-width: 100%;
}

.subhead {
	font-size: 14px;
    font-weight: 500;
    color: #989898;
    margin-top: 1em;
}



.heading {
	margin: 0em 0em 0em 1em;
}

.project img {

	width: 100%;
	padding-left: 10em;
	padding-right: 10em;
}



.hidden {
	display:none;
}

.checkbox {
	display:inline-block;
}
.checkbox input{
	display:none;
}

.checkbox label{
	position:relative;
	display:flex;
	align-items:center;
	justify-content: center;
	border:0.1em solid #ccc;
	background-color:white;
	width:1em;
	height:1em;
	border-radius:0.3em;
}
.checkbox label::after {
	position:relative;
	content:'';
	height:0.67em;
	width:0.58em;
	background-color:#999;
	border-radius:0.2em;
	opacity:0;
	transition:all 200ms;
}
.checkbox input:checked + label::after {
	opacity:1;
}

#nav-menu ~ .nav {
	display:block;
}
[for='nav-menu'] {
	display:none;
}


.video {
	width:860px;
	height:486px;
}

.viewport {
	height: 70vh;	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.tag {
	background-color: #4172a9;
	margin-right: 1em;
	padding: 0.4em 0.6em;
	border-radius: 0.4em;
	font-size: 0.8em;
	color: white;

}


.title{
	font-size: 2.7em;
	margin-bottom: 0em;
}

.sub-title {
	font-size: 1.3em;
	margin-top: 0em;
}

.floatingcircle1 {

	max-width: 2em;
	position: absolute;
    right: 5em;
    top: 10em;
    opacity: 0.1;
	animation-name: float;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle2 {

	max-width: 2em;
    position: absolute;
    right: 20em;
    top: 20em;
    opacity: 0.2;
    animation-name: float;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle3 {

	max-width: 2em;
    position: absolute;
    left: 7em;
    top: 33em;
    opacity: 0.3;
    animation-name: float;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle4 {

	max-width: 2em;
    position: absolute;
    left: 22em;
    top: 40em;
    opacity: 0.4;
    animation-name: float;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle5 {

	max-width: 2em;
    position: absolute;
    right: 10em;
    top: 36em;
    opacity: 0.5;
    animation-name: float;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle6 {

	max-width: 2em;
    position: absolute;
    right: 27em;
    top: 42em;
    opacity: 0.6;
    animation-name: float;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle7 {

	max-width: 2em;
    position: absolute;
    left: 44em;
    top: 35em;
    opacity: 0.2;
    animation-name: float;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle8 {

    max-width: 2em;
    position: absolute;
    left: 28em;
    top: 14em;
    opacity: 0.1;
    animation-name: float;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.floatingcircle9 {

    max-width: 2em;
    position: absolute;
    left: 10em;
    top: 9em;
    opacity: 0.3;
    animation-name: float;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

}

.bg {
	height: 100vh;
     background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.subnav {
    font-size: 14px;
    font-weight: 500;
    display: flex;
}

.subnav li {
    background-color: #4c499936;
    margin-right: 0.9em;
    border-radius: 4px;
}

.sticky {
	z-index: 5;
	background-color: white;
    padding-top: 2em;
    padding-bottom: 2em;
    position: sticky;
    top: 0;
}

.introtext{
		margin-top: 3em;
   		padding: 1em 3em 1em 2em;
    	font-size: 22px;
}

.contact {
	
    background-color: #f5f5f5;
    padding: 2em;

}

.contact span{
	font-size: 2em;
	font-weight: 600;
}

.contact a{
	color: #4172A9;
	font-weight: 600;
}

.features {
	padding-left: 10em;
	padding-right: 10em;
}


.prototype {
	width: 500px;
	height: 800px;
}

.video {
	width: 640px; 
	height: 360px;
	margin-left: auto;
	margin-right: auto;
}

.prototype2 {
	display: none;
}

@keyframes float {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 25px); }
    to   { transform: translate(0, -0px); }    
}


@media (max-width: 1050px) {

	.container {
		max-width: 75vw;
		margin-left: auto;	
		margin-right: auto;	
	}

	label.projectname {
	    position: relative;
	    background: #fffffff2;
	    padding: 0em 1em 0em 1em;
	    bottom: -13em;
	    left: -3%;
	    box-shadow: -3px 3px #000000c2;
	}

	.bg {
	    height: 48vh;
	    background-position: top;
	    background-size: contain;
	    background-repeat: no-repeat;
	    background-attachment: fixed;
	}

	.intro {
		padding-top: 4vh
	}

	.circleimg {
    	padding-top: 7em;
	}
	
	.subnav {
		display: block;
	    font-size: 16px;
	    font-weight: 500;
	}

	.subnav li {
	    background-color: #4c499936;
	    margin-right: 0.9em;
	    border-radius: 4px;
	    margin-bottom: 18px;
	}

	.sticky {
		background-color: white;
	    padding-top: 4em;
	    padding-bottom: 2em;
	    position: sticky;
	    top: 0;
	}

	img.projlogo {
    	max-height: 50px;
    }

    .prototype {
	    width: 350px;
	    height: 810px;
	}
}


@media (max-width:768px) {
	.container {
		max-width: 80vw;
		margin-left: auto;	
		margin-right: auto;	
	}

	img.logo {
	    position: relative;
	    max-height: 40px;
	}

	.intro {
		padding-top: 0vh;
		padding-top: 22vh;
	}

	.bg {
		height: 70vh;
	}

	[for='nav-menu'] {
		display:inline-block;
	}
	#nav-menu ~ .nav, #nav-menu ~ .nav1 {
		display:none;
	}
	#nav-menu:checked ~ .nav, #nav-menu:checked ~ .nav1 {
		display:block;
		width:100%;
		background-color: rgba(0,0,0,0,5);
	}
	#nav-menu:checked ~ .nav>ul, #nav-menu:checked ~ .nav1>ul {
		display:block;
		text-align:center;
	}


	.nav a {
		padding: 1em 1em;
	}

	.subnav {
		display: block;
	    font-size: 9px;
	    font-weight: 500;
	}

	.subnav li {
	    background-color: #4c499936;
	    margin-right: 0.9em;
	    border-radius: 4px;
	    margin-bottom: 18px;
	}

	img.projlogo {
	    max-height: 40px;
	    margin: 1.3em 1em 1em 0em;
	}

	.video {
		width: 290px;
    	height: 165px;
	}

	.project img {
		padding-left: 0;
		padding-right: 0;
	}
	
	
	.viewport {
		height: 35vh;
	    background-repeat: no-repeat;
	    background-size: cover;
	    background-position: center;
	    background-attachment: inherit;
	}

	.btn {
		float: right;
    	margin-right: 0em;
    
	}

	

	.introtext{
		margin-top: 3em;
   		padding: 1em 3em 1em 2em;
    	font-size: 18px;
	}

	.work {
	    margin-top: 0em;
	}

	.title{
		font-size: 1.5em;
	}

	.sub-title {
		font-size: 1em;
	}

	.floatingcircle1, .floatingcircle2, .floatingcircle3, .floatingcircle4, .floatingcircle5,
	.floatingcircle6, .floatingcircle7 {
		display: none;
	}

	.downarrow{
		max-width: 1em;
	    position: relative;
	    bottom: -1em;
	    margin-left: auto;
	    margin-right: auto;
	    display: block;
	}

	.circleimg {
		display: none;
	}

	.projectname {
		font-size: 1.2em;
	}

	label.projectname {
		position: relative;
	    background: #fffffff2;
	    padding: 0em 1em 0em 1em;
	    bottom: -14em;
	    left: -3%;
	    box-shadow: -3px 3px #000000c2;
	}

	.challenge {
		padding: 2em 2em 2em 2em;
	}

	.prototype {
	    display: none;

	}

	.prototype2 {
		display: inline-block;
		border: 2px solid #4c4999;
	    border-radius: 2em;
	    padding: 1em;
	    color: #4c4999;
	    font-weight: 700;
	}

}
