﻿#projects {
    position: fixed;
    width: 70%;
    min-width: 800px;
    right: 10%;
    bottom: 0px;
	padding: 1% 0px;
	background: -webkit-linear-gradient(top, rgba(32,32,32,0), rgba(32,32,32,0.2));
	background: -o-linear-gradient(bottom, rgba(32,32,32,0), rgba(32,32,32,0.2));
	background: -moz-linear-gradient(bottom, rgba(32,32,32,0), rgba(32,32,32,0.2));
	background: linear-gradient(to bottom, rgba(32,32,32,0), rgba(32,32,32,0.2));
	
    /*
        Apparently flexboxes are super new, so all the extra stuff here is for older browser compatability.
        The new stuff is display: flex and justify-content: space-between
    */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
    -webkit-box-pack: justify;
	-moz-box-pack: justify;
	-ms-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
	justify-content: space-between;
	-webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.horizontal-arrow {
    width: 5%;
    height: 100%;
    display: inline-block;
	text-align: center;
	/*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	opacity: 0.2;*/
	-webkit-filter: invert(0.5);
	filter: invert(0.5);
	-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(invert=0.5)';
	-moz-transition: 0.1s;
	-webkit-transition: 0.1s;
	transition: 0.1s;
}

.vertical-arrow, .down-arrow {
	text-align: center;
	/*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	opacity: 0.2;*/
	-webkit-filter: invert(0.5);
	filter: invert(0.5);
	-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(invert=0.5)';
	-moz-transition: 0.1s;
	-webkit-transition: 0.1s;
	transition: 0.1s;
	margin: 0 auto;
}

.down-arrow {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto 20px auto;
	width: 10%;
	min-width: 150px;
	max-width: 180px;
	transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

.down-arrow img {
	width: 100%;
}

.project-link {
    display: inline-block;
    text-align: center;

	background: -webkit-radial-gradient(center bottom, ellipse farthest-side, rgba(195,195,195,0.8), rgba(255,255,255,0));
	background: -o-radial-gradient(center bottom, ellipse farthest-side, rgba(195,195,195,0.8), rgba(255,255,255,0));
	background: -moz-radial-gradient(center bottom, ellipse farthest-side, rgba(195,195,195,0.8), rgba(255,255,255,0));
	background: radial-gradient(farthest-side ellipse at center bottom, rgba(195,195,195,0.8), rgba(255,255,255,0));
	
	-webkit-background-size: 100% 0%;
	-moz-background-size: 100% 0%;
	background-size: 100% 0%;
	background-position: 0% 150%;
	
	-moz-transition: all 0.25s;
	-webkit-transition: all 0.25s;
	transition: all 0.25s;
}

.project-link:hover {
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	background-size: 100% 100%;
	background-position: 0% 100%;
}

.project-link img {
    border: 4px solid #888;
    padding: 4px;
}

nav p {
    font-family: "Arial Black";
    letter-spacing: 0.1em;
    font-variant: small-caps;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    font-weight: normal;
	text-shadow: 
		-1px  0px #222,
		 1px  0px #222,
		 0px -1px #222,
		 0px  1px #222;
}

#drop-down-button {
    position: fixed;
    left: 20px;
    bottom: 0px;
	padding: 1% 0px;

    width: 150px;
    height: 150px;
    -webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
	transform: rotate(180deg);
    /*filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5);*/
}

@media screen and (max-width: 600px) {
	.down-arrow {
		width: 30%;
	}
}

@media screen and (max-height: 400px) {
	.down-arrow {
		display: none;
	}
}