/* sublime text color scheme: 
    {
        "black": "hsl(0, 0%, 0%)",
        "black2": "hsl(60, 17%, 11%)",
        "black3": "hsl(70, 8%, 15%)",
        "blue": "hsl(190, 81%, 67%)",
        "grey": "hsl(55, 8%, 26%)",
        "orange": "hsl(32, 98%, 56%)",
        "orange2": "hsl(30, 83%, 34%)",
        "orange3": "hsl(47, 100%, 79%)",
        "purple": "hsl(261, 100%, 75%)",
        "red": "hsl(0, 93%, 59%)",
        "red2": "hsl(338, 95%, 56%)",
        "white": "hsl(0, 0%, 97%)",
        "white2": "hsl(60, 36%, 96%)",
        "white3": "hsl(60, 30%, 96%)",
        "yellow": "hsl(54, 70%, 68%)",
        "yellow2": "hsl(80, 76%, 53%)",
        "yellow3": "hsl(60, 12%, 79%)",
        "yellow4": "hsl(55, 11%, 22%)",
        "yellow5": "hsl(50, 11%, 41%)"
    },
*/

#top{
	position: fixed;
	left: 0;
	top: 0;
	width:  100%;
	background-color: #f92472;
	box-shadow: 0 2px 5px hsl(338, 95%, 30%);
	z-index: 100;
	font-size: 1.1em;
}

#top a {
	float: left;
	padding: 15px 20px;
	margin: 0 10px;
	text-align: center;
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-family: 'Poppins', sans-serif;

}
#top a:hover {
	background-color: hsl(338, 95%, 66%);
}
#top a img {
	height: 1.375em;
}
#top a.website{
	float: right;
	padding: 15px 15px 10px 15px;
}


#main {
	margin-left: calc(50vw - 358px);
	margin-top: 40px;
	width: 700px;
}

@media only screen and (max-width: 700px) {
	#main {
		max-width: calc(100vw - 26px);
		margin: 0;
	}
	#top a{
		margin: 0;
	}
	#youtube img {
		width: 20vw;
		height: auto !important;
		animation: none !important;
	}
	#youtube div:nth-child(2){
		font-size: 0.85em;
		animation: none !important;
	}
}

#youtube img{
	height: 7.5em;
	float: left;
	margin-right: 20px;
	animation-name: fromLeft;
	animation-duration: 1.5s;
	animation-timing-function: cubic-bezier(.17,.82,.26,1);
	border-radius: 50%;
}

#youtube div:nth-child(2){
	text-align: left;
	animation-name: fromRight;
	animation-duration: 1.5s;
	animation-timing-function: cubic-bezier(.17,.82,.26,1);
}



#projects>div{
	overflow: auto; /*clearfix hack*/
	margin-bottom: 3em;
}

#projects>div>img, #projects>div>video{
	width: 30%;
	float: left;
	margin-right: 25px;
}

#projects>div>p{
	margin-left: calc(30% + 25px);
	margin-top: 0;
	margin-bottom: 0;
	text-align: initial;
	font-size: 0.85em;
}



h1{
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	text-align: center;
	font-size: 70px;
	letter-spacing: 1.5px;
	animation-name: rotate;
	animation-duration: 1.5s;
	animation-timing-function: cubic-bezier(0.5,1.5, 0.5,1);
}
h2{
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
}
body{
	font-family: 'Open Sans', sans-serif;
	background-color: hsl(60, 30%, 96%);
	overflow-x: hidden;
}
#main {
	font-size: 1.2em;
	text-align: center;
	line-height: 1.55;
}
a:visited{
	color: blue;
}



@keyframes rotate {
	0%{ transform: scale(0.5); }
	100%{ transform: none; }
}

@keyframes fromLeft {
	from{ transform: translateX(-150px); }
	to{ transform: none; }
}
@keyframes fromRight {
	from{ transform: translateX(150px); }
	to{ transform: none; }
}