body {
    margin: 0px;
/*    font-family: 'Open Sans', sans-serif;*/
	font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* topbar */
#topbar {
    position: relative;
    z-index: 1;
    transition: background-color 150ms linear;
	font-size: 17px;
}

#topbar.scrolled {
	position: fixed;
    background-color: #424141;
    transition: background-color 150ms linear;
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    width: 100vw;
}

li {
    margin-top: 10px;
    margin-bottom: 10px;
    float: right;
}

#topbar-contact:hover {
    opacity: 0.6;
}

#topbar-brand:hover {
    opacity: 0.6;
}

#topbar-projects:hover {
    opacity: 0.6;
}

#topbar-about:hover {
    opacity: 0.6;
}

#topbar-skills:hover {
    opacity: 0.6;
}

#topbar-resume:hover {
    opacity: 0.6;
}

#topbar-skills {
    margin-left: 3vw;
}

#topbar-projects {
    margin-left: 3vw;
}

#topbar-resume {
    margin-left: 3vw;
}

#topbar-contact {
    margin-left: 3vw;
    margin-right: 2vw;
}

#topbar-brand {
    margin-left: 2vw;
    border-radius: 20%;
    border-style: solid;
    border-width: 1.5px;
    border-color: white;
    padding: 1px;
	font-size: 17px; 
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 6px 6px;
    text-decoration: none;
}

/* main page */
#main {
    position: relative;
    width: 100vw;
    height: 100vh;
	background-image: url("../img/black.jpg");
    background-size: cover;
    color: white;
    background-attachment: fixed;
}

.fa {
  	padding: 10px;
  	font-size: 40px;
  	width: 17px;
  	text-align: center;
  	text-decoration: none;
	margin-top: 16vh;
  	margin-left: 5px;
  	margin-right: 5px;
  	border-radius: 100%;
}

.fa-facebook:hover {
    background: #3B5998;
  	color: white;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

.fa-linkedin:hover {
    background: #007bb5;
  	color: white;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

.fa-github:hover {
    background: #000000;
  	color: white;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

.fa-facebook {
  	background: white;
  	color: #3B5998;
	margin-left: 8px;
	margin-right: 8px;

}

.fa-linkedin {
  	background: white;
  	color: #007bb5;
	margin-left: 8px;
	margin-right: 8px;
}

.fa-github {
  	background: white;
  	color: #000000;
	margin-left: 8px;
	margin-right: 8px;
}

.container {
    width: 100%;
    padding-top: 35vh;
    text-align: center;
    margin: auto;
    position: relative;
}

#name {
	font-size: 80px;
    padding: 5px 0px 5px 0px;
    position: relative;
    margin: auto;
}

#occupations {
    margin-top: 15px;
    font-size: 20px;
}

/* about page */
#about {
    position: relative;
    width: 100vw;
/*    height: 100vh;*/
    background-color: #FCFBF9;
}

.subheading {
    position: relative;
    text-align: center;
    padding-top: 80px;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333333;
}

.line-border {
    width: 70px;
    height: 2px;
    background: #808080;
    margin: auto;
}

#about-container {
    width: 100%;
    text-align: center;
	margin-top: 90px;
	display: flex;
	justify-content: center;
}

#about-text {
    width: 40vw;
    color: #565656;
    text-align: left;
    margin: auto;
	font-size: 17px;
	margin-bottom: 160px;
}

#hi {
    font-size: 40px;
    color: #565656;
}

#about-image {
    margin: auto;
}

#face {
	margin-bottom: 160px;
	margin-top: 10px;
	margin-right: 130px;
    height: 310px;
    width: auto;
    box-shadow: 0px 0px 4px grey; 
    border-radius: 100%;
    border-width: 7px;
    border-color: white;
    border-style: solid;
}

.em-wave {
    font-size: 40px;
    margin-left: 20px;
    margin-bottom: 20px;
    filter: grayscale(20%);
}

.em-wave:hover {
    animation: wave 1s;
}

@keyframes wave {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
      }
      
      20%, 80% {
        transform: translate3d(2px, 0, 0);
      }
    
      30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
      }
    
      40%, 60% {
        transform: translate3d(4px, 0, 0);
      }
}

/* skills page */
#skills {
	position: relative;
	color: white;
	padding-right: 4vw;
	padding-left: 4vw;
	text-align: center;
	padding-bottom: 30px;
	background: url("../img/black2.jpg");
}

/*
#skills::before {
	content: "";
	width: 100vw;
    height: 100vh;
	position: fixed;
	top: 0;
    left: 0;
	background: url("../img/black5.jpg");
	background-size: cover;
	z-index: -1;
	filter:brightness(30%)
}
*/

.subheading.sk {
	color: white;
}

.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{
	color:#000;
	background-color:#f1f1f1;
	width: 60vw;
	margin: auto;
	margin-bottom: 30px;
	border-radius: 8px;
}

.w3-grey,.w3-hover-grey:hover,.w3-gray,.w3-hover-gray:hover{
	color:#000;
	background-color:#A8A8A8;
	border-radius: 8px;
}

.skills-text {
	text-align: center;
	margin-bottom: 10px;
	font-size: 13px;
	color: lightgrey;
}

.skills-subheading {
	font-size: 18px;
/*	text-align: left;*/
/*	margin-left: 15vw;*/
	margin-bottom: 28px;
}

/* projects page */
#projects {
    position: relative;
    width: 92vw;
	padding-right: 4vw;
	padding-left: 4vw;
    background-color: #ECE9E9;
	text-align: center;
}

#project-summary {
	color: #565656;
	margin-top: 50px;
	margin-bottom: 20px;
	font-size: 15px;
}

.box {
    height: 250px;
    width: auto;
    border-width: 1px;
	border-color: #565656;
	margin-top: 30px;
/*	border-radius: 8%;*/
/*	box-shadow: 0px 0px 4px grey; */
/*    border-width: 5px;*/
/*    border-color: white;*/
    border-style: solid;
		
}

.project-container {
/*	height: 150px;*/
	flex-basis: 25%;
	-ms-flex: auto;
/*	width: 259px;*/
	padding: 10px;
	box-sizing: border-box;
}

.text {
    color: #565656;
    text-align: center;
	font-size: 15px;
	width: 250px;
	margin: auto;
}

.title {
	margin-top: 12px;
	margin-bottom: 12px;
	color: #333333;
	font-size: 20px;
}

.big-container {
	max-width: 1335px;
	margin: 0 auto;
}

.grid-row {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

#ant {
    filter: grayscale(40%);
}

#spam {
    filter: grayscale(5%);
}

#git:hover {
    opacity: 0.7;
}

#map:hover {
    opacity: 0.7;
}

#ant:hover {
    opacity: 0.7;
}

#yelp:hover {
    opacity: 0.7;
}

#scheme:hover {
    opacity: 0.7;
}

/*
#guava:hover {
    opacity: 0.7;
}
*/

/*contact page*/
#contact {
	position: relative;
    width: 100vw;
    background-color: #111111;
	text-align: center;
	color: white;
	background-size: cover;
    color: white;
    background-attachment: fixed;
}

.con {
	color: white;
}

.contact-text {
	color: white;
	margin-top: 45px;
	padding-bottom: 110px;
	margin-right: 30px;
	margin-left: 30px;
}

@media(min-width: 1450px) {
	.w3-light-grey {
		width: 1018px;
	}
}

@media(min-width: 1300px) {
	#name {
		font-size: 90px;
	}
	
	#topbar {
		font-size: 25px;
	}
	
	#topbar-brand {
		font-size: 25px;
	}
	
	#about-text {
		width: 500px;
	}
}

@media(max-width: 1182px) {
	.project-container {
    	flex-basis: 33.33%;
	}
}

@media(max-width: 1050px) {
	.project-container {
		flex-basis: 50%;
	}
	#about-text {
		margin-left: 0px;
		margin-right: 0px;
		width: 45vw;
	}
	
	#face {
		margin-left: 0px;
		margin-right: 80px;
	}
}

@media(max-width: 900px) {
	#name {
		font-size: 65px;
	}
	
	#occupations {
		font-size: 17px;
	}
	
	.subheading {
		font-size: 15px;
	}
	
	.container-2 {
		flex-basis: 100%;
	}
	
	#about-text {
		margin-left: 0px;
		margin-right: 0px;
		margin-bottom: 80px;
		width: 50vw;
	}
	
	#about-container {
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 0px;
	}
	
	#about-image {
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	
	#face {
		height: 220px;
		margin-top: 40px;
		margin-left: 0px;
		margin-right: 0px;
		margin-bottom: 30px;
	}
	
	#hi {
		font-size: 35px;
	}
	
	#about-text {
		font-size: 15px;
	}
	
	#project-summary {
		width: 65vw;
		margin: auto;
		margin-top: 30px;
	}
}

@media(max-width: 680px) {
	#about-text {
		width: 46vw;
	}
}

@media (max-width: 570px) and (max-height: 320px) {
	.fa {
		margin-top: 12vh;
	}
}

@media(max-width: 591px) {
	#topbar {
		font-size: 13px;
	}
	
	#topbar-brand {
		font-size: 14px;
	}
	
	#occupations {
		font-size: 17px;
	}
	
	.subheading {
		font-size: 14px;
	}
	
	.project-container {
		flex-basis: 100%;
	}
	
	#hi {
		font-size: 30px;
	}
	
	#about-text {
		width: 35vw;
		font-size: 14px;
	}
}

@media screen and (orientation:landscape) and (max-height: 500px) { 	
	#name {
		font-size: 43px;
	}
	
	#occupations {
		font-size: 14px;
	}
	
	#topbar {
		font-size: 14px;
	}
	
	#topbar-brand {
		font-size: 14px;
	}
}

@media(max-width: 450px) {
	#about-text {
		width: 20vw;
	}
	
	#hi {
		font-size: 20px;
	}
}

@media(max-width: 420px) {
	#topbar {
		font-size: 11px;
	}

	#topbar-brand {
		font-size: 11px;
	}
	
	#name {
		font-size: 50px;
	}
	
	#occupations {
		font-size: 13px;
	}
	
}

@media(max-width: 360px) {
	#topbar {
		font-size: 10px;
	}

	#topbar-brand {
		font-size: 10px;
	}
}

@media(max-width: 335px) {
	#topbar {
		font-size: 9px;
	}

	#topbar-brand {
		font-size: 9px;
	}
}
	