* {
	padding: 0;
	margin: 0;

}

section#home , section#contact, section#about, section#skills{
  height: 100vh;

}

section#contact {
  border-top: 10vh;
}

body {
	font-family: 'Fredericka the Great';
	font-size: 30px;

}

li {
	list-style-type: none;
}

a {
	color: white;
}

a:hover, a:focus {
	color: white;
	text-decoration: none;
}


h1 {
	font-family: 'Fredericka the Great';
	color: black;
	text-align: center;
	margin-top: 25vh;
	font-size: 10vh;
}
hr {
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
  height: 10px;
  border-top: 1px solid black;
}

h1 > small {
	display: block;
	color: white;
}

h2 {
	font-family: 'Fredericka the Great';
	font-size: 60px;
	margin-top: 5%;
}

h2:after {
	display: block;
	
	content: "";
}

h3 {
	font-weight: bold;
}

h4 {
	font-family: cursive;
	font-size: 92%;
}

h6 {
	color: #F0F0F0;
}

h1 .logo {
	font-size: 230%;
	font-family: 'Fredericka the Great', cursive;
	width: 200px;
  	margin-top: 50px;
	margin-left: -20px;
}

/* ELEMENTS */


.vertical-list li {
	float: left;
}

.magenta-border {
	border: 2px solid #e11a61;
}

/* END OF ELEMENTS */

.overflow {
	overflow: hidden;
}

.overlay {
	background-color: rgba(255,255,255,.6);
	height: 100%;
	width: 100%;
	padding-bottom: 80px;
}

#home {
	background: url("https://static.pexels.com/photos/232/apple-iphone-books-desk-large.jpg") no-repeat;
	width: 100%;
  
	background-size: cover;
}

#home nav {
  	text-align: center;
	margin: auto auto auto auto ;
	width: auto;
	padding-top: 80px;
}

#home nav ul {
	overflow: hidden;
}

#home nav {
	width: 100%;
}
#home ul li {
	width: 20%;
}
#home nav a {
	height: 5%;
	font-size: 30px;
}

#home nav.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0,0,0,0.6);
	font-size: 20px;
	z-index: 999;
	padding: 0;
	transition: background-color .8s;
	
}

#home nav.fixed ul {
    max-width: 80%;
	margin: auto auto auto auto;
}

#home #nav_right{
	position: relative;
	float: right;
}
#about {
	background: rgba(255, 187, 0, .5);
}
#about::before{
	height: 0px;
	width: 0px;
/*	
//triangle
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top: 30px solid #131c23;*/
	margin: 0 auto;
	content: "";
	display: block;
}

#about .info {
	display: flex;
	flex-direction: row;
  	margin-bottom: 5%;
}

#about h2 {
	color: #0d2435;
}

#about h2::after {
	border-bottom: 2px dashed #918D8D;
}
#about li {
	line-height: 50px;
	list-style-type: square;
}
#about .info p {
	line-height: 270%;
  	text-align: left;
}
#about .Bonnieliu_img {
	margin: 10vh 10%;
	width: 30vw;
}


#about .content_CV {

  	margin-top: 10vh;
  	margin-left: 5vh;
  	font-size: 25px;
  	width:50vw;
}

#skills li{
	display: flex;
	flex-direction: row;
	border-radius: 5px;
	margin:5px;

}
#skills .Skills_CV{
	float: left;
	width: 90%;
}

#skills img{
	height: 100px;
	position: relative;
	display: block;
	margin-left: auto;
	margin-bottom: 2%;

}
#skills .Skills_img #python{
	width: 80px;
	height: auto;
}

#skills #C:hover{
	transition: .8s;
	background-color: 	#FFA500;
	width: 80%;
}
#skills #Python:hover {
	transition: .8s;
	background-color: cornflowerblue;
	color:white;
	width: 70%;
}
#skills #HTML:hover {
	transition: .8s;
	background-color: #F08080;
	color: white;
	width: 50%;
}
#skills #CSS:hover{
	transition: .8s;
	background-color: #20B2AA ;
	color:white;
	width: 50%;
}
#skills #Javascript:hover{
	transition: .8s;
	background-color: gold;
	width: 40%;
}
#skills #MySQL:hover{
	transition: .8s;
	background-color: 	#9370DB;
	color:white;
	width: 40%;
}
#skills #PHP:hover{
	transition: .8s;
	background-color: #191970;
	color:white;
	width: 20%;
}
#skill-set {
	margin-top: 80px;
	padding-bottom: 80px;
}

#skill-set ul {
	overflow: hidden;
}

#web-development-skills {
	background-color: #114190;
}


#automation-skills {
	background-color: #e11a61;
}

#misc-skills {
	background-color: #9d1098;
}

.skills {
	color: white;
}

.skills li {
	padding: 20px;
}

#portfolio {
	font-family: cursive;
	background: radial-gradient(#000932, #00AAAA);
	padding-bottom: 80px;
}
#portfolio p{

	font-family: cursive;

}
#portfolio h2 {
	color: white;
	margin-bottom: 140px;
}
#portfolio h6 {
	color: black;
}
#portfolio h2:after {
	border-bottom: 2px dashed white;
}

#portfolio .row {
	margin: 0px;
	box-sizing: border-box;
	padding: 0 60px;
}

#portfolio .heading{
	font-family:  cursive;
	color: black;
	padding: 15px;
	text-align: center;
	position: absolute;
  font-size: 20px;
  letter-spacing: 2px;
}

#portfolio .heading span {
	color: #005599;
	display: block;
	margin: 40px 0px;
	font-size: 200%;
}

#portfolio .description {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 15px;
}

#portfolio .description > * {
	display: none;
	font-size: 72%;
}

#portfolio p {
	color: black;
	/*display: none;*/
	margin-bottom: 30px;
	line-height: 230%;
}

#portfolio p, .tools {
	width: 100%;
}

.description span {
	margin-left: 10px;
}

.description .tools {
	margin-top: 20px;
	overflow: hidden;

}

.description .tools li {
	margin-top: 5px;
	background-color: #114190; /*skill button*/
	margin-right: 10px;
	padding: 10px;
	color: #F0F0F0;
}

#portfolio div section {
	cursor: pointer;
}

#portfolio div:nth-child(odd) section {
	background-color: #fff;
	padding: 10px;
}

#portfolio div:nth-child(even) section {
	padding: 10px;
}

#portfolio img {
	width: 100%;
}

#portfolio section {
	font-family: 'Fredericka the Great', cursive;
	height: 100%;
	margin-bottom: 20px;
}

#portfolio .overlay {
	position: relative;
	padding-bottom: 0px;
	min-height: 550px;
  overflow: auto;
}

#portfolio .description h4 {
	color: white;
}

#portfolio .heading {
	position: relative;
	margin: 0 0;
}

#portfolio section {
	width: 50%;
	float: left;
}

#portfolio section:hover .overlay img {
	opacity: 0;
	transition: opacity .32s;
}

#portfolio section:hover .description {
	top: 140px;
	transition: top .5s;
}

#portfolio section:hover .overlay .heading span {
	 -webkit-transform: rotate(180deg);
	 position: relative;
	 top: -80px;
	 left: -30px;
	 color: rgba(4,14,22,.0);
}


#portfolio section:hover .overlay .description > * {
	display: block;
}

#portfolio section:hover .overlay .heading {
	position: absolute;
	top: -100px;
	transition: top .9s;
}




#contact .overlay ,footer{
	background: rgba(0, 89, 60,.8);
}

#contact h2 {
	color: white;
}

#contact h2:after {
	border-bottom: 2px dashed white;
}

#contact form {
	position: relative;
}

#contact .form-group label {
	display: block;
	color: white;
	font-weight: normal;
}

#contact .form-group input, #contact .form-group textarea {
	outline: none;
	border: 0;
	border-bottom: 6px solid #114190;
	padding: 9px;
	background-color: #2b2b2b;
	color: white;
}


#contact .social-links li {
	margin-bottom: 20px;
}

/* Media Queries */

 @media screen and (max-width: 2000px) {
	
	#about img {
		margin-left:auto;
		margin-right:auto;

	}
	#skills h2 {
		margin-left: 8%;
	}
	#skills li {
		margin-left: 10%;
	}
	#portfolio [class^="col"] section {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 10px;
		min-height: 400px;
	}

	#portfolio .overlay {
		width: 100%;
		height: auto;
	}

	#portfolio img {
		width: 100%;
		height: 100%;
	}

	#portfolio section:hover .overlay .heading span {
	 -webkit-transform: rotate(90deg);
	 top: 70px;
	 left: -240px;
	 position: relative;
	}
} 

@media screen and (max-width: 990px) {
	section#about{
  		height: 100%;
	}
	body {
		font-size: 20px;
		text-align: center;
	}
	h1 {
		font-size: 10vw;
	}
  	
  	li {
		list-style-type: none;
	}
	input {
		text-align: center;
	}
	#home nav a {
	font-size: 3vw;
	}
	#about .content_CV {
		margin-top: 0;
	}
	#about .Bonnieliu_img {
		width : 100%;
		margin-left:auto;
		margin-right:auto;

	}
	#about li {
		list-style-type: none;
	}	
	#about .info {
    	text-align: center;
    	font-size: 40px;
		flex-direction: column-reverse;
	}

	#about .content_CV {
  		margin-left: 0;
  		width:100%;
	}
	#skills {
		margin-top: 20%;
		font-size: 30px;
	}

	form {
		text-align: left;
	}

	#portfolio .description p {
		margin-top: 40px;
	}

	#portfolio section {
		width: 100%;
		font-size: 10px;
	}

	#portfolio .overlay > * {
		font-size: 200%;
	}
	
}

.icons{
  width:49%;
  height: 75px;
  margin-top: 20vh;
  margin-left: auto;
  margin-right: auto;
}



.footer {
  color: white;
  font-size: 10px;
  text-align: center;
  bottom: 0;
  width: 100%;
}


