html{
	scroll-behavior: smooth;
}

body{
	margin:0;
}

/*Effect*/
.fadein{
	opacity: 0;
	bottom: -50px;
	transition-duration: 1s;
}

.fadein-add{
	transition-duration: 1s;
	opacity: 1 !important;
	bottom: 0px;
}

.header-change-color{
	background: black !important;
	z-index:9999;
	box-shadow: 0px 10px 30px lightgrey;
}

/*Header*/ 

.header {
	background: black;
	position: fixed;
	width: 100%;
	z-index: 9999;
	transition: 0.3s all;
}

.header a {
	text-decoration: none;
	color: white;
	font-family: 'Raleway', sans-serif;
}

.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background-color: #fff;
}

.header li a {
	color: black;
	display: block;
	padding: 20px 20px;
	border-right: 1px solid #f4f4f4;
	text-decoration: none;
}

.header li a:hover {
	background-color: #f4f4f4;
}

.header .logo {
	display: block;
	float: left;
	font-size: 2em;
	padding: 10px 20px;
	text-decoration: none;
}

.header .menu {
	clear: both;
	max-height: 0;
	transition: max-height .2s ease-out;
}

.header .menu-icon {
	cursor: pointer;
	display: inline-block;
	float: right;
	padding: 28px 20px;
	position: relative;
	user-select: none;
}

.header .menu-icon .navicon {
	background: #fff;
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
	background: #fff;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}

.header .menu-icon .navicon:before {
	top: 5px;
}

.header .menu-icon .navicon:after {
	top: -5px;
}

.header .menu-btn {
	display: none;
}

.header .menu-btn:checked ~ .menu {
	max-height: 340px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
	background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
	transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
	transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
	top: 0;
}

/*Main Image*/
.main-img{
	background: url("img/evening_view.jpg");
	background-attachment: fixed;
	background-size: cover;
	height:100vh;
	width:100%;
}

.main-img p{
	top:-400px;
}

.text{
	position: absolute;
	z-index: 90;
	margin: 0 auto;
	left: 0;
	right:0;
	text-align: center;
	top: 20%;
	color: white;
	font-size: 40px;
	width: 60%;
	font-family: 'Livvic', sans-serif;
	text-shadow: 2px 2px 2px black;
}

/*About*/
.about{
	padding-bottom:200px;
}

.about img{
	margin-top:6.5%;
	margin-left: 8.5%;
	width: 300px;
	height: 300px;
	border: 5px solid black;
	margin-bottom:1%;
	border-radius: 100%;
	float: left;
	z-index:999;
}


.about p{
	border: 5px dashed black;
	font-family: 'Raleway', sans-serif;
	margin-left: 40%;
	margin-right: 10%;
	margin-top: 7%;
	padding: 5.5%;
	font-size: 16px;
	z-index:999;
}

.about .line{
	margin-top:0;
	margin-bottom: 10%;
}

.line{
	width:95%;
	margin-left:2%;
	margin-top:10%;
	margin-right:1%;
	height: 1px;
	border: 0.3px solid black;
	background: none;
}

/*Photo*/
.photo{
	padding-top:200px;
	background-color:ghostwhite;
	padding-bottom:500px;
}

.photo img{
	float:left;
	height: 250px;
	width: 300px;
	margin: 1%;
	margin-left:10%;
	box-shadow: 5px 10px 10px lightgrey;
	border-radius: 30px;
	transition-duration: 0.5s;
}

.photo img:hover{
	transform: scale(1.1);
	transition: transform 0.5s;
}

/*Projects*/
.projects{
	padding-top:200px;
	padding-bottom:550px;
}

.projects div{
	float:left;
	margin: 1%;
	margin-left:10%;
	box-shadow: 5px 10px 10px lightgrey;
	border-style: solid;
	border-radius: 30px;
	transition-duration: 0.5s;
}

.projects div a{
	text-decoration: none;
}

.projects div img {
	border-radius: 25px;
	box-shadow: 0px 5px 20px lightgrey;
	height: 250px;
	width: 300px;

}

.projects div:hover{
	transform: scale(1.1);
	transition: transform 0.5s;
}


.projects div p{
	text-align: center;
	font-family: 'Raleway', sans-serif;
	color : black;
}

/*Skills*/
.skills{
	background-color:ghostwhite;
	padding-bottom:1px;
}


.skills h2{
	margin: 10% 0 5% 10%;
	font-size: 40px;
	font-family: 'Montserrat', serif;
	float: left;
}

.skills ul{
	margin: 10% 0 20% 40%;
}

.skills ul li{
	font-family: 'Livvic', sans-serif;
	font-size:20px;
	list-style: none;
}

.skills ul li progress{
	background-color: #000;
	width: 50%;
	margin:1%;
}

/*Contact*/
.contact {
	padding-top:150px;
	font-family: 'Livvic', sans-serif;
	padding-bottom: 250px;
}

.contact h3{
	margin:10% 0 5% 10%;
	font-size: 40px;
	font-family: 'Montserrat',serif;
}

.contact p{
	font-size: 20px;
	margin-left: 10%;
}

.contact a{
	color : black;
	text-decoration: none;

}


/*Phone view*/

@media only screen and (min-width: 64em) {
	
	.header {
		background: none;
	}

	.header a {
		color: white;
	}

	.header ul {
		background: none;
	}

	.header li {
		float: left;
	}
	.header li a {
		color: white !important;
		padding: 20px 30px;
		border-right: none;
	}

	.header li a:hover {
		background: none;
		color: lightgrey !important;
	}

	.header .menu {
		clear: none;
		float: right;
		max-height: none;
	}
	.header .menu-icon {
		display: none;
	}

	
}

@media only screen and (max-width: 64em){.

	/*About*/
	.about{
		padding-bottom:100px;
	}

	.about img{
		display: block;
		
		margin-left: auto;
		margin-right: auto;
		margin-bottom:1%;
		
		float: none;
	}

	.about p{
		border: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: auto;
		font-size: 16px;
	}

	/*Photo*/
	.photo{
		padding-bottom:200px;
	}

	.photo img{
		float:none;
		margin-bottom: 5%;
		margin-left:auto;
		margin-right: auto;
		display: block;
	}

	/*Projects*/
	.projects{
		padding-top:200px;
		padding-bottom:200px;

	}
	.projects div{
		float:none;
		margin: 0;
		display: block;
		box-shadow: none;
		border-style: none;

		margin-bottom: 5%;
	}

	.inside{
		float:none;
		margin-left:auto;
		margin-right: auto;
		margin-bottom: 5%;
		display:block;
	}

	.inside img {
		float: none;
		margin-right: auto;
		margin-left: auto;
		display:block;
	}

	/*Skills*/
	.skills{
		padding-bottom:200px;
	}


	.skills h2{
		float: none;
		text-align: center;
	}

	.skills ul{
		float: none;
		margin-right: auto;
		margin-left: auto;
		display:block;
	}

	.skills ul li{
		font-family: 'Livvic', sans-serif;
		font-size:20px;
		list-style: none;
	}

	.skills ul li progress{
		background-color: #000;
		width: 90%;
		margin:1%;
	}

	/*Contact*/
	.contact {
		padding-bottom: 350px;
	}

}
