@charset "UTF-8";
/* CSS Document */

body{
	margin: 0;
	color: white;
    position: relative;
	font-size: 26px;
	line-height: 1.5em;
	font-family: 'Yaldevi', sans-serif;
	letter-spacing: 0em;
}

#nextProject:before {
    content: "";
    position: absolute;
	z-index: 10;
    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;
	z-index: 1000;
}

main{
  scroll-snap-type: y proximity;
  /* Reserve space for header plus some extra space for sneak peeking. */
  scroll-padding-top: 15vh;
  overflow-y: scroll;
}

h1{
	
}

p.detail{
	font-size: 0.75em;
	line-height: 1.5em;
}

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

section{
	/*flex-shrink: 0;*/
	display: flex;
    justify-content: center;
    align-items: center;
	padding: 20px 80px;
	height: 100vh;
	width: 100vw;
	box-sizing: border-box;
	background: url("../img/bg.gif")no-repeat center center fixed;
  	background-size: cover;
	scroll-snap-stop: always;
	scroll-snap-align: start;
	position: relative;
    /*position: absolute;
    top: 0;*/
}

section img{
	 height: calc(90vh - 100px);
}

#home{
	position: absolute;
    top: 40px;
}

#home span{
	align-self: center;
	padding-left: 20px;
}

#home a{
	text-decoration: none;
	color: white;
	display: flex;
}

#home img{
	height: 5vh;
}

header{
	order: 1;
	width: 60%;
}

header img{
	max-width: 50%;
	height: auto;
}

article{
	order: 2;
	width: 35%;
}

section#start{
	justify-content: space-between;
	background: url("../img/ifpicturescouldsing.gif")no-repeat center center fixed;
	background-size: cover;
	background-blend-mode: luminosity;
	height: auto;
	min-height: 100vh;
}

.back{
	text-align: center;
    width: 100%;
    position: absolute;
    top: 20px;
    left: 0;
    height: 5vh;
    transform: rotate(180deg);
}

.next{
	text-align: center;
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
	height: 5vh;
}

button{
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

button#pauseFirst, button#pauseSecond, button#pauseThird, button#pauseFourth, button#pauseFifth{
	display: none;
}

/*Mobile*/
@media screen and (max-width:1000px) {
	body{
		font-size: 20px;
	}
	
	header {
		width: 100%;
		flex-shrink: 0;
		height: 100vh;
		display: flex;
    	justify-content: center;
	}
	
	header img {
		max-width: 75%;
	}
	
	article {
		width: 100%;
		flex-shrink: 0;
		height: 95vh;
	}
	
	section{
		padding: 20px 5vw;
	}
	
	section#start{
		flex-direction: column;
	}
	
	#home{
		left: 5vw;
	}
}

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