/* site.css */

*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}

ul, nav{
	list-style: none;
}

body{
	font: normal 16px "Open Sans", sans-serif;
	color: #555;
	text-align: center;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.9; 
}

a:hover{
	opacity: 1;
}

.round{
	border: 6px solid #9494fa;
	border-radius: 50%;
	margin-bottom: 10px;
}

hr{
	width: 150px;
	height: 2px;
	background-color: #9494fa;
	border: 0;
	margin: 40px auto;
}

section{
	background-color: #fff;
	padding: 125px 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

section p{
	max-width: 800px;
	/* text-align: center; */
	margin-bottom: 35px;
	padding: 0 20px;
	line-height: 2;
}

section h3{
	color: #414A4F;
	text-transform: capitalize;
	font: 32px 'Playfair Display', sans-serif;
	margin-bottom: 35px;
}

@media(max-width: 1000px){
	section{
		padding:100px 50px;
	}
}

@media(max-width: 600px){
	section{
		padding:80px 30px;
	}
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	font-style: italic; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
  font-style: italic;
}


/*----------
HEADER
-----------*/

header{
	background-color: rgba(0,0,0,.7);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	align-items: center;
	color: #fff;
	padding: 35px 100px 20px;
	display: flex;
	justify-content: space-around;
}

header nav{
	display: flex;
}

header nav li{
	margin:0 15px;
}

header nav li:first-child{
	margin-left:0;
}

header nav li:last-child{
	margin-right:0;
}

/*header h2{
	font-family: 'Open Sans', serif;
}*/

header img{
    border: 2px solid #9494fa;
    border-radius: 50%;
}

@media(max-width: 1000px) {
	header{
		padding: 20px 50px;
	}
}

@media(max-width: 700px) {
	header{
		flex-direction: column;
	}
	header img{
		margin-bottom: 15px;
	}
}

/*----------
DEVELOPER
-----------*/

.developer{
	background-color: transparent;
	position: relative;
	justify-content: center;
	min-height: 100vh;
	color: #fff;
	text-align: center;
}

.developer .background-image{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-size: cover;
	background-color: #1A77C1;
}

.developer .background-image:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #414A4F;
	opacity: 0.75; 
}

.developer h1{
	font: bold 60px 'Playfair Display', serif;
	font-size: 90px;
	text-shadow: 3px 3px #000;
	margin-bottom: 15px;
}

.developer h3{
	font: normal 28px 'Open Sans', sans-serif;
	margin-bottom: 40px;
	color: aliceblue;
}

@media(max-width: 800px){
	.developer{
		min-height: 600px;
	}
	.developer h1{
		font-size: 48px;
	}
	.developer h3{
		font-size: 24px;
	}
}

/*----------
ABOUT
-----------*/

.about{
	background-color: #F7F7F7; 
}

/*----------
PORTFOLIO
-----------*/

.portfolio .grid li{
	padding:0 30px;
	flex-basis: 33%;
	text-align: center; 
}

.portfolio .grid li h4{
	color: #414A4F;
	font-weight: bold;
	margin-bottom: 25px;
	font: 25px 'Playfair Display', sans-serif;
}

.portfolio .grid li p{
	margin: 0;
}

@media (max-width: 1000px){
	.about .grid li{
		flex-basis: 100%;
		margin-bottom: 65px;
	}
	.about .grid:last-child{
		margin-bottom: 0;
	}
}

@media (max-width: 600px){
	.about .grid li{
		flex-basis: 100%;
	}	
}


/*----------
CONTACT
-----------*/

.contact{
	background-color: #F7F7F7;
}

.contact .container{
	width: 40%;
}

.contact .container #firstname{
	display: none;
}

.contact h3{
	margin-bottom: 25px;
}

.contact label {
	float: left;
}

@media(max-width: 800px){
	.contact .container{
		width: 100%;
	}
	.developer label{
		font-size: 48px;
	}
	.contact h3{
		font-size: 24px;
	}
}

/*----------
FOOTER
-----------*/

footer{
	display: flex;
	flex-direction: column;
	background-color: #444;
	color: #fff;
	padding: 60px 0;
	text-align: center;
	align-items: center;
}

footer ul{
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

footer ul li{
	margin: 0 8px; 
}

footer ul li:first-child{
	margin-left: 0;
}

footer ul li:last-child{
	margin-right: 0;
}

footer p{
	text-transform: uppercase;
	font-size: 14px;
	color: rgba(255,255,255,.6);
	margin-bottom: 10px;
}

footer p a{
	color: #fff;
}

@media (max-width: 700px){
	footer{
		padding: 80px 15px;
	}
}