body{
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background-color: #e0e0e0;
	font-family: sans-serif;
	transition: 0.3s;
}

.navbar{
	width: 100%;
	height: 150px;
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	background-color: grey;
}
.logo{
	height: 30px;
	margin: 15px 30px; /* top/bottom right/left */
}
.navList{
	display: none;
}
.navList.show{
	display: flex;
	flex-direction: column;
	list-style-type: none;
}

.hamburger{
	background-color: transparent;
	margin-top: 6px;
	margin-right: 20px;
	width: 40px;
	height: 40px;
}

.navList li{
	background-color: white;
	padding: 5px 30px;
	border-radius: 4px;
	margin: 5px;
}
li{
	margin:  15px 10px;
}

.hero{
	width: 100%;
	margin: 10px 0 10px 0;
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.hero-info{
	width: 30%;
	margin: 30px;
}
.hero-images {
	position: relative;
	width: 30%;
	height: 350px;
}

.hero-image{
	margin: 30px;
	width: 300px;
}
#name{
	color: #a17df4;
}

.avatar{
	width: 200px;
	height: 200px;
	border-radius: 50%;
}

.list{
	display: flex;
	justify-content: center;
	list-style-type: disc;
	line-height: 20px;
}
.circle{
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background-color: olive;
	border: 5px solid grey;
}

.button{
	border: 0;
	padding: 10px 20px;
	font-size: 15px;
	text-align: center;
	line-height: 1.5;
	color: rgb(255, 255, 255);
	text-shadow: 1px 1px 1px #000;
	text-transform: uppercase;
	width: 90px;
	background-color: #ef866c;
	border-radius: 20px;
}

.button:hover{
	background-color: #ef744b;
	transform: scale(1.3);
}
.button:active{
	box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6);
}
a{
	/*remove lines from ul list*/
	text-decoration: none;
	color: black;
}
a:hover{
	color: orange;
}


.style-break{
	width: 30px;
	height: 5px;
	background-color: #a17df4;
	border-radius: 2.5px;
	margin: 30px 0;
}

section {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	background-color: #ffff;
	padding: 40px 0 0 0;
}
.about-me{
	width: 400px;
	margin: 30px;
	display: flex;
	/*justify-content: center;*/
	justify-content: space-evenly;
}

.info{
	max-width: 300px;
	margin: 30px;
}

.test{
	width: 30px;
	height: 30px;
	background-color: lightgreen;
	margin: 10px;
	box-shadow: 1px 1px 5px green;
}

.contact-form{
	margin: 0 0 40px 0;
	border: 2px solid black;
	width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	text-align: center;
	padding-bottom: 10px;

}
.input-section{
	display: flex;
	margin: 20px 0;
}
.input-group{
	display: flex;
	flex-direction: column;
	margin: 0 5px 5px 5px;
}

.switch{
	width: 70px;
	height: 30px;
	border-radius: 15px;
	background-color: rgb(255, 255, 255);
	margin-top: 0.7%;
	margin-left: 2%;
	position: relative;
}

.slider{
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background-color: rgb(0, 0, 0);
	box-shadow: 
		inset 4px 4px 4px rgb(100, 100, 100),
		inset -4px -4px 4px rgb(190 193 190 /10%);
	margin-top: 5%;
	margin-left: 7%;
	position: absolute;
	transition: 0.3s;
}

.moon{
	width: 17px;
	height: 17px;
	border-radius: 10px;
	box-shadow: 4px 4px 0 0 rgb(20, 20, 0);
	position: absolute;
	top: 1px;
	left: 40px;
}

.dark{
	background-color: rgb(57, 57, 57);
	transition: 0.3s;
	color: white;
}

.dark .slider {
	transform: translateX(40px);
}
.dark > * {
	color: white;
	background-color: rgb(57, 57, 57);
}


.cube, .cube-back{
	position: absolute;
	margin-top: 30px;
	width: 80px;
	height: 80px;
	/*background-color: pink;*/
	transform: rotate(-25deg) skew(25deg);
	text-align: center;
	font-size: 30px;
	 -webkit-backface-visibility: hidden; /* Safari */
	 backface-visibility: hidden;
}


.flipper{
	position: relative;
	width: 100%;
	height: 100%;
	/* relative keeps size and absolute below stacks cards on top of each other */
	/*this creates affect of flipping whole card area*/
	transition: 0.9s;
	transform-style: preserve-3d;
	
}
.hero-images:hover .flipper{
	transform: rotateY(180deg);		
}

.cube{
	z-index: 2;
}
.cube-back{
	background: linear-gradient(#f8da61, #ff5acd);
	z-index: 1;
	-webkit-transform: rotateY(180deg);
}



.cube::before, .cube-back::before{
	position: absolute;
	content: "";
	width: 21px;
	height: 100%;
	/*background-color: blue;*/
	transform: skewY(-45deg);
	left: -20px;
	bottom: -10px;
}

.cube::after, .cube-back::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 21px;
	/*background-color: red;*/
	transform: skewX(-45deg);
	left: -10px;
	bottom: -20px;

}

#PHP{
	/*background-size: cover; background-image: url()*/
	background-color: skyblue;
	box-shadow: -60px 60px 20px silver;
	left: 20px;
	bottom: 80px;
}
#PHP::before{
	background-color: lightskyblue;
}
#PHP::after{
	background-color: lightblue;
}

#JS{
	/*background-size: cover; background-image: url()*/
	background-color: #01DFA5;
	box-shadow: -85px 85px 20px silver;
	left: 130px;
	bottom: 250px;
}
#JS::before{
	background-color: lightseagreen;
}
#JS::after{
	background-color: #04B486;
}

#HTML{
	/*background-size: cover; background-image: url()*/
	background-color: #BE81F7;
	box-shadow: -40px 40px 20px silver;
	left: 330px;
	bottom: 200px;
}
#HTML::before{
	background-color: plum;
}
#HTML::after{
	background-color: #E2A9F3;
}

#CSS{
	/*background-size: cover; background-image: url()*/
	background-color: pink;
	box-shadow: -70px 70px 20px silver;
	left: 250px;
	bottom: 80px;
}
#CSS::before{
	background-color: lightcoral;
}
#CSS::after{
	background-color: lightpink;
}

.footer-section{
	width: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	
}
li{
	list-style-type: none;
	background-color: white;
	width: 180px;
	height: 25px;
	padding: 10px;
	border-radius: 10px;
}


@media only screen and (min-width: 800px) {
	.hamburger {
		display: none;
	}
	.navList{
		display: flex;
		justify-content: flex-end;
		text-transform: uppercase;
		font-size: 15px;
		align-items: center;
		list-style-type: none;
		margin-right: 15px;
	}

	.navList li{
		margin: 15px 30px;
		
	}
	.navList.show{
		display: flex;
		flex-direction: row;
		list-style-type: none;
	}
	
	
}
@media only screen and (max-width: 800px) {
	.switch{
		margin-top: 2%;
	}
	.hero{
		margin-top: 5%;
	}
	.hero-info {
		max-width: 20%;
	}

	.hero-image {
		visibility: hidden;
		height: 0px;
	}
	.hero-images {
		width: 40%;
		/*margin-right: 35px;*/
	}
	.info{
		text-align: center;
		width: 100%;
	}
	/*.list li{
		margin-right: 10%;
	}*/
	.hero-images{
		width: 70%;
	}
	.footer-section{
		width: 100%;
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.tdark{
		width: 100%;
	}
}

@media only screen and (max-width: 400px){
	.contact-form{
		width: 290px;
		margin-left: 3px;
	}
	.input-section{
		width: 310px;
		align-items: center;
		justify-content: space-around;
	}
	.input-group{
		width: 120px;
	}
	
	.footer-section{
		width: 100%;
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.hero-info {
		max-width: 50%;
	}
	.hero-images{
		display: none;
	}

}