/* Karen Yao - CSS 1 */

@import url('https://fonts.googleapis.com/css?family=Lora|Questrial&display=swap" rel="stylesheet');

	
/* --------------------------- FIXED NAV ---------------------------*/

header {
	position: fixed;
	background-color: #525564;
	top: 0px;
	left: 0px;
	width: 100%;
    margin: 0 auto;
	z-index: 10;
	float: top;
}


#headertitle {
	color: #ffffff;
	font-family: 'Lora', serif;
	font-size: 180%;
	text-align: center;
	padding-top: .5%;
	padding-bottom: 0;
	margin-left: auto;
	margin-right: auto;
}

#headersubtitle {
	color: #ffffff;
	font-family: 'Lora', serif;
	font-size: 50%;
	text-align: center;
}

#headertitle a {
	text-decoration: none;
	color: #ffffff;
}

#headertitle a:hover {
	text-decoration: none;
	color: #ffffff;
}

nav ul {
	list-style: none;
	text-align: center;
	padding: 0;
	margin: 0;
}

nav li {
	font-family: 'Questrial', sans-serif;
	font-size: 100%;
	line-height: 2.5%;
	height: 1%;
}

nav a {
	background-color: #525564;
	color:  #fef6eb;
	display: block;
}

nav a:hover {
	border: 1px solid #fff;
	color: #fff;
	text-decoration: none;
}

.submenu {
	position: absolute;
	text-align: left;
	font-size: 90%;
	margin: 1px;
	height: 80%;
	width: 20%;
	display: none;
	margin: auto;
}

.submenu a {
	background-color: #fff;
	color: #525564;
	display: block;
	padding: 5px;
	height: 100%
}

.submenu a:hover{	 
	display: block;
	background-color: #525564;
	color: #fff;
	text-decoration: none;
	border: 1px solid #fff;

}


.submenu li {	 
	display: block;
	line-height: 200%;
	padding: 1px;
	height: 50%;
	font-size: 90%;
}



/* --------------------------- HEADERS & GENERAL --------------------------- */

body {
	padding: 0;
	font-family: 'Questrial', sans-serif;
}

main {
	color: #30323b;
	font-family: 'Questrial', sans-serif;
	padding: 50px;
	padding-top: 70px;
	scroll-padding-top: 10%;
}


h1 {
	color: #fff;
	font-family: 'Lora', serif;
	font-size: 180%;
	text-align: center;
}

h2 {
	color: #fef6eb;
	font-family: 'Lora', serif;
	background-color: #525564;
	font-size: 160%;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 60%
    margin: 0 auto;
    padding: 1.5%;
}


h3 {
	padding-left: 3%;
	padding-bottom: 2%;
	color: #74828f;
	font-family: 'Lora', serif;
	font-size: 130%;

}

h4 {
	color: #c25b56;
	padding-left: 5%;
	font-family: 'Questrial', sans-serif;
	font-size: 122%;

}

h5 {
	color: #fef6eb;
	font-family: 'Lora', serif;
	font-size: 100%;
	text-align: center;
	padding-bottom: 20px;
	font-weight: 200;

}

a {
	text-decoration: none;
	color: #344f8d;
}

a:hover {
	color: #c25b56;
}

p {
	color: #30323b;
	padding-left: 10%;
	padding-right: 10%;
	line-height: 110%;
}

li {
	line-height: 120%;
}

article {
	background-image: url("../img/header.jpg");
	opacity: 4.0;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	background-color: #fef6eb;
	padding: 1%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}



/* ---------------------------- PAGE INTRODUCTION HEADER ---------------------------*/


.prv2 {
	margin-left: auto;
	margin-right: auto;
	width: 120%;
	display: block;
	padding: 2%;
	text-align: center;
	height: 100%;
}


.btn22 {
	color: #fff;
	text-align: center;
	font-size: -60%;
	border-radius: 0px;
	border-bottom: .5px solid #fff;
	margin-left: 5px;
	margin-right: 8px;
	width: 80%;
	display: block;
	text-align: left;
	padding: 1%;
	padding-right: 5%;
	padding-left: 5%; 
	background-color: #c25b56;
	border-radius: 5px;
}


.prv2-content {
	display: none;
	position: 0;
	  right: 0;
	  left: 0;
	min-width: 80%;
	z-index: 1;
	text-align: center;
	line-height: 160%;
	font-size: smaller;

}

.prv2-content a {
	list-style: none;
	margin-left: -6;
	color: #fff;
}

.prv2:hover .prv2-content {
  	display: block;
  	text-align: left;
	width: 90%;
	position: relative;
  	text-align: left;
	padding-left: 3%;
	padding-top: 2%;
	padding-bottom: 2%; 
	height: 100%;
}

.invertedfontspcl {
	color:#fff;
}

.invertedfontspcl:hover {
	color:#fff;
	text-decoration: underline;
}


/* ---------------------------- IMAGES ---------------------------*/


.swap,
.bttm-img {
		width: 200px;
		height: 200px;
		display: block;
		margin-left: auto;
	 	margin-right: auto;
	 	transition: 5s;
	}

.swap .top-img {
		width: 200px;
		height: 200px;
        display: none;
        position: absolute;
        margin-left: auto;
 		margin-right: auto;
 		top: 0px;
        z-index: 9;
	}

.swap:hover .top-img {
	display: block;
}

.swap img {
	transition: transform .5s ease;
}

.swap:hover img {
	transition: transform .5s ease;
	transform: scale(1.2);
}


/* ------ IMG GRID 1 ------ */

.row-img {
  display: flex;
  flex-wrap: wrap;
  padding: 0 3px;
}

.column-img {
  flex: 33.33%;
  max-width: 33.33%;
  padding: 4px 4px 4px;
}

.column-img img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

@media screen and (max-width: 800px) {
  .column-img {
    flex: 80%;
    max-width: 80%;
    margin: auto;
  }
}

.container {
  position: relative;
  width: auto;
}

.image-txt {
  display: block;
  width: 120%;
  height: auto;
  width: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fef6eb;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
}

.container:hover .overlay {
  width: 100%;
}

.text {
  color: #c25b56;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* ------ IMG GRID 2 ------ */

.row-img2 {
  display: flex;
  flex-wrap: wrap;
  padding: 0 3px;
}

.column-img2 {
  flex: 50%;
  max-width: 50%;
  padding: 4px 4px 4px;
}

.column-img2 img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.container2 {
  position: relative;
  width: auto;
}

.image-txt2 {
  display: block;
  width: 120%;
  height: auto;
  width: auto;
}

.overlay2 {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #fef6eb;
	overflow: hidden;
	width: 0;
	height: 100%;
}

.container2:hover .overlay2 {
  width: 100%;
}

.text2 {
  color: #c25b56;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}


/* ------ ICONS FOOTER ------ */

/* .icon1 {
	width: 20px;
	height: 20px;
	background: url("../img/contact/mail.svg") no-repeat;
	margin: 1px;
}

.icon1:hover {
	background: url("../img/contact/mail-inverted.svg") no-repeat;
} */





/* --------------------------- SECTIONS&BOXES ---------------------------*/

/* ------ SECTION INTRO ------ */

.sectionintro {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	border: 1px solid #525564;
	padding-top: 3%;
	padding-bottom: 3%;
	padding-left: 4%;
	padding-right: 4%;
	line-height: 100%;
}

.sectionintro2 {
	background-color: #c25b56;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	padding-bottom: 1px;
	padding-top: 15px;
	text-align: center;
	display: block;
}

.invertedfont {
	color:#fff;
}


/* ------ PROFESSIONAL SEC ------ */

#professional ul {
  list-style-image: url('../img/bullet.svg');
}

.btn {
	color: #fef6eb;
	width: 50%;
	text-align: center;
	font-size: -60%;
	background-color: #30323b;
	border-radius: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	display: block;
}

.btn:hover {
	color: #c25b56;

}

.dropdown {
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	display: block;
}

.dropdown-content {
	display: none;
	position: relative;
	  right: 0;
	  left: 0;
	background-color: #fef6eb;
	min-width: 80%;
	z-index: 1;
}

.dropdown-content a {
 	color: #30323b;
	padding: 12px 16px;
	text-decoration: none;
  	margin-left: auto;
	margin-right: auto;
	display: block;
}

.dropdown-content a:hover {
	color: #c25b56;
	background-color: #f1f1f1;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.dropdown:hover .dropdown-content {
  	display: block;
  	margin-left: auto;
	margin-right: auto;
	width: 60%;
}



.btn:hover {
	color: #c25b56;

}

.prv {
	margin-left: auto;
	margin-right: auto;
	width: 120%;
	display: block;
	padding: 2%;
}

.btn2 {
	color: #344f8d;
	width: 60%;
	text-align: left;
	font-size: -60%;
	background-color:#fef6eb;
	border-radius: 0px;
	border-bottom: .5px solid #525564;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	display: block;
	padding: 3%
}


.prv-content {
	display: none;
	  right: 0;
	  left: 0;
	background-color: #fef6eb;
	min-width: 80%;
	z-index: 1;
	text-align: left;
}

.prv-content ul {
 	color: #30323b;
 	text-align: left;
	padding: 4%;
}

.prv-content ul {
  list-style-image: url('../img/bullet.svg');
}

.prv:hover .prv-content {
  	display: block;
	position: absolute;
  	text-align: left;
	width: 84%;
	left: 17%;
	padding-left: 3%;
	padding-top: 2%;
	border: 1px solid  #30323b;
	background-color: #fff;
	font-size: smaller;
}

.skillsbox {
	margin-left: auto;
	margin-right: auto;
	line-height: 100%;
}


.b1 {
		display: block;
		width: 30%;
		margin: auto;
		margin-top: 1%;
		margin-bottom: 1%;
		border-left: 1px solid #74828f;
		border-right: 1px solid #74828f;
 		padding: 2.5%;
}

.b2 {
		display: block;
		width: 30%;
		margin: auto;
		margin-top: 1%;
		margin-bottom: 1%;
		border-left: 1px solid #74828f;
		border-right: 1px solid #74828f;
 		padding: 2.5%;
}


.b3 {
		display: block;
		width: 30%;
		margin: auto;
		margin-top: 1%;
		margin-bottom: 1%;
		border-left: 1px solid #74828f;
		border-right: 1px solid #74828f;
 		padding: 2.5%;
}


/* ------ VIDEOS CODE ------ */

.midvid {
	text-align: center;
	margin: auto;
	display: block;
}

.vid {
	margin: auto;
}



/* --------------------------- OTHERS --------------------------- */

.rightalign {
 	position: absolute;
 	right: 0px;
 	width: 200px;
	margin-left: 80%;
	margin-right: 8%;
	text-align: center;
	font-style: bold;
	font-size: -60%;
	background-color:#525564;
	color: #fff;
	border-bottom: .5px solid #525564;
	display:inline-block;
}

.rightalign:hover {
	background-color: #344f8d;
}


.rightalign2 {
 	right: 0px;
 	width: 50%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-style: bold;
	font-size: -60%;
	color: #344f8d;
	display: block;
	border: .5px dotted #c25b56;
	padding: 2%;
}

.rightalign2:hover {
	color: #c25b56;
	font-style: none;
}

.padding {
	padding-top: 15%;
}

.anchorpadding {
	padding-top: 7%;
}

.boxesof3 {
	padding: 5%; 
	border-left: 1px solid #525564;
	border-left: 1px solid #525564;
}

.cuttopborder {
	border-top: 1px solid #525564;
	padding-top: 5%;
	border-color: #c25b56; 

}

.smltxt {
	font-size: smaller;
	color: #74828f;
}


.mrgn-webpgs {
	margin: auto;
	display: block;
	padding-left: 20%;
	padding-bottom: 2%;
}

#contact ul {
  list-style-image: url('../img/bullet.svg');
}


/* --------------------------- FOOTER --------------------------- */

footer {
	color: white;
	text-align: center;
 	background-color: #525564;
	width: 100%;
    margin-bottom: 30px;
	padding-top: 50px;
	padding-bottom: 50px;
	display: block;
}

footer p {
	color: #fff;
	font-size: 150%;
}

/* .footerlinks {
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
}

.footerlinks a {
	color: #fff;
	font-size: smaller;
	text-align: left;
}

.footerlinks a:hover {
	color: #c25b56;
	font-size: smaller;
	background-color: #fef6eb;
	padding: 6px;
	text-decoration: none;
} */

.contact-padding {
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
		display: block;
}

.contact-padding a {
	color: #fff;
	font-size: smaller;
	text-align: center;
		display: block;
}

.contact-padding a:hover {
	color: #c25b56;
	font-size: smaller;
	background-color: #fef6eb;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 6px;
	padding-bottom: 6px;
	text-decoration: none;
		display: block;
}


.fixedfooter {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	color: white;
	text-align: right;
	height: 5%;
	border-top: 0.5px solid #525564;
	background-color: #ffffff;
	padding: .5%;
	font-size: smaller;
	z-index: 10;
}

.fixedfooter a {
	color: #c25b56;

}

.fixedfooter a:hover {
	color: #525564;
}


/* --------------------------- MEDIA SCREENS --------------------------- */

@media screen and (min-width: 100px) {
	nav li {
		width: 200px;
		height: 50px;
		line-height: 50px;
		font-size: 110%;
		margin-right: 4px;
		display: inline-block;

	}

	nav li:hover .submenu{	 
		display: block;
	}
}

@media screen and (max-width: 1000px) {
	.scrollings2 {
		  overflow: auto;
		  height: 200px;
		  padding: 0px;
		  margin: 0px;
		}
}

@media screen and (max-width: 800px) {
	.scrollings {
		  overflow: auto;
		  height: 200px;
		  padding: 0px;
		  margin: 0px;
		}

	.submenu li {	 
		display: block;
		height: 38%;
		line-height: 200%;
		 padding: 0px;
		margin: 0px;
		  		font-size: 70%;
	}

	nav li {
		width: 130px;
		height: 15px;
		padding: 5px;
		line-height: 40px;
		font-size: 100%;
		display: inline-block;	
	}

	header {
		height: 100px;
	    margin: 0 auto;
		z-index: 5;
		padding-top: 1.5%;
	}

	.submenu {
		position: absolute;
		padding-left: 0px;
		text-align: left;
		margin: auto;
		height: 100%;
		width: 20%;
		display: none;
		border-bottom: 0;
		font-size: 100%;
	}
		
	.submenu a:hover{	 
		display: block;
	}

	#title {
		font-size: 150%;
		text-align: center;
		padding-top: 0px;
		padding-bottom: 0px;
	}

	#subtitle {
		font-size: 40%;
		text-align: center;
	} 

}

/* @media screen and (max-width: 100px) {

	.header {
		height: 100px;
	    margin: 0 auto;
		z-index: 5;
	}

	nav li {
		width: 130px;
		height: 15px;
		padding: 5px;
		line-height: 40px;
		font-size: 100%;
		display: inline-block;

	}

	.submenu {
		position: absolute;
		padding-left: 0px;
		text-align: left;
		margin: auto;
		height: 100%;
		width: 20%;
		display: none;
		border-bottom: 0;
		font-size: 100%;
	}
		
	.submenu a:hover{	 
		display: block;
	}

	#title {
		font-size: 150%;
		text-align: center;
		padding-top: 0px;
		padding-bottom: 0px;
	}

	#subtitle {
		font-size: 40%;
		text-align: center;
	}

	.scroll {
		  overflow: auto;
		  height: 200px;
		  padding: 0px;
		  margin: 0px;
		}
}

/* @media screen and (max-width: 300px) {
	#title {
		font-size: 00%;
		top: 0px;
	}

	#subtitle {
		font-size: 0%;
	}

	.header {
		height: 40px;
		top: 0px;
	}

	.submenu li {	 
		font-size: 40%;
	}

	nav li {
		width: 50px;
		height: 2px;
		line-height: 15px;
		font-size: 50%;
		margin-right: 4px;
		display: inline-block;

	}

} */