* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: 'Barlow', sans-serif;
}

body {
	background-image: url("image/wallpaper.jpg");
	background-attachment: fixed;
	background-size: cover;
}

html {
	scroll-behavior: smooth;
}

.about-content {
	background-image: url("image/vertical2.jpg");
}

.header {
	width: 75%;
	margin: auto;
	margin-top: 6%;
}

.header-top {
	display: flex;
	justify-content: space-between;
}

.header-top p {
	font-weight: 500;
	font-size: 36px;
	color: rgb(230, 230, 230);
}

.header-top-right {
	display: block;
	text-align: right;
}

.header-top-right p {
	font-size: 24px;
	color: #d9a411;
}

.header-top-left img {
	width: 70%;
}

.menu a {
	display: block;
	text-decoration: none;
	position: relative;
	color: rgb(230, 230, 230);
	list-style: none;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.5;
}

.menu a.hover-effect:before {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #d9a411;
	visibility: hidden;
	transition: all 0.4s ease-in-out;
}

.menu a.hover-effect:hover:before {
	visibility: visible;
	width: 100%;
}

.toggle{
	width: 100%;
	text-align: right;
	box-sizing: border-box;
	color: rgb(230 ,230, 230);
	font-size: 25px;
	display: none;
}

.header-main h1 {
	font-weight: 900;
	font-size: 90px;
	color: rgb(230, 230 ,230);
	margin-top: 4%;
}

.header-main h2 {
	font-weight: 600;
	font-size: 70px;
	color: rgb(230, 230, 230);
	margin-top: 2%;
}

.social-icon {
	display: flex;
	justify-content: flex-end;
	margin-top: 12%;
}

.social-icon a {
	text-decoration: none;
	color: rgb(230, 230, 230, 0.8);
	font-size: 20px;
	font-weight: 400;
	margin-left: 4%;
	transition: color 0.5s;
}

.social-icon a:hover {
	color: #d9a411;
}

.main-body {
	width: 75%;
	margin: 8% auto;
}

.section-title h2 {
	font-weight: 900;
	font-size: 70px;
	color: #1c1c1c;
	opacity: 0.5;
	text-align: center;
	margin: auto;
	margin-top: 9%;
	margin-bottom: 3.5%;
	letter-spacing: 1.8em;
}

.about-content {
	padding: 6em 0;
	box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}

.title h1 {
	font-weight: 600;
	font-size: 70px;
	color: rgb(230, 230 ,230);
	text-align: center;
}

.title h2 {
	font-weight: 600;
	font-size: 35px;
	color: rgb(230, 230, 230);
	margin-top: 0.3em;
	text-align: center;
}

.about-content .content {
	width: 75%;
	margin: 6% auto;
	display: flex;
	justify-content: space-around;
	position: relative;
}

.about-content .content>div {
	width: 45%;
}

.about-content .content h2 {
	font-weight: 600;
	font-size: 70px;
	color: #d9a411;
	margin-top: 0.3em;
}

.about-content .content h3 {
	color: rgb(230, 230, 230);
	line-height: 120%;
}

.about-content p {
	width: 71%; 
	font-weight: 400;
	font-size: 18px;
	word-spacing: 2px;
	color: rgb(230, 230, 230);
	line-height: 2em;
	margin: auto;
}

.about-content .content img {
	width: 100%;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.4);
}


/*     project       */

.projects-content {
	padding: 6em 0;
	background-image: url("image/vertical2.jpg");
	box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}

.projects-content .content {
	width: 75%;
	margin: 6% auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.projects-content .content>div {
	width: 45%;
}

.projects-content .content h2 {
	font-weight: 600;
	font-size: 65px;
	color: #d9a411;
	margin-top: 0.3em;
	text-align: right;
}

.projects-content .content a h2 {
	transition: color 0.5s;
}

.projects-content .content a h2:hover {
	color: rgb(230, 230, 230);
}

.projects-content img {
	width: 100%;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.4);
}

.image-hover {
	opacity: 1;
	display: block;
	width: 100%;
	height: auto;
	transition: .5s ease;
	backface-visibility: hidden;
}

.view-detail {
	transition: .5s ease;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}

.text a {
	background-color: #d9a411;
	color: white;
	font-size: 16px;
	padding: 16px 32px;
	text-decoration: none;
}

.container {
	position: relative;
}

.container:hover .image-hover {
	opacity: 0.3;
}

.container:hover .view-detail {
	opacity: 1;
}

.content a {
	text-decoration: none;
}

.content a:hover {
	color: rgb(230, 230, 230);
}


/*     contact       */


.contact-content {
	padding: 6em 0;
	background-image: url("image/vertical2.jpg");
	box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}

.contact-content .content {
	width: 75%;
	margin: 6% auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.contact-content .content>div {
	width: 50%;
}

.contact-content .content img {
	width: 50%;
}

.contact-content .content p { 
	font-weight: 400;
	font-size: 25px;
	word-spacing: 2px;
	color: rgb(230, 230, 230);
	line-height: 1.8;
}

.contact-content .content a p {
	transition: color 0.5s;
	text-decoration: underline;
}

.contact-content .content a p:hover {
	color: #d9a411;
}

footer {
	width: 75%;
	margin: auto;
}

.footer-text {
	border-top: 1px solid rgb(230, 230, 230);
}

.footer-text p {
	color: rgb(230, 230, 230, 0.8);
	letter-spacing: 2px;
	text-align: center;
	padding: 2.5% 0;
}

.footer-text h4 {
	padding-top: 3%;
	color: rgb(230, 230, 230);
	letter-spacing: 2px;
	text-align: center;
	font-weight: 600;
}

.footer-icon {
	display: flex;
	justify-content: center;
}

.footer-icon a {
	text-decoration: none;
	color: rgb(230, 230, 230, 0.8);
	font-size: 18px;
	font-weight: 400;
	transition: color 0.5s;
	margin: 0 1%;
}

.footer-icon a:hover {
	color: #d9a411;
}

.links {
	margin-top: 2.5%;
	text-align: center;
}

.links a {
	text-decoration: none;
	color: rgb(230, 230, 230, 0.8);
	letter-spacing: 2px;
	padding: 0 1% 3% 1%;
	text-decoration: underline;
	transition: color 0.5s;
}

.links a:hover {
	color: #d9a411;
}

.citation {
	width: 75%;
	margin: 6% auto;
}

.citation h2 {
	font-weight: 600;
	font-size: 60px;
	color: rgb(230, 230, 230);
	padding: 2% 0;
}

.citation a {
	color: rgb(230, 230, 230);
	text-decoration: none;
	margin-top: 2%;
	display: block;
}


/*-----------project1----------*/

.vertical-text1 {
	writing-mode: vertical-rl;
	position: fixed;
	top: 47%;
	left: 8%;
}

.vertical-text2 {
	writing-mode: vertical-rl;
	position: fixed;
	top: 47%;
	right: 8%;
}

.vertical-text1 a, .vertical-text2 a {
	text-decoration: none;
	color: rgb(230, 230, 230);
	transition: color 0.5s;
	font-size: 25px;
	font-weight: 600;
}

.vertical-text1 a:hover, .vertical-text2 a:hover {
	color: #d9a411;
}

.project1-header {
	width: 75%;
	margin: 6% auto;
	align-items: center;
}

.project1-content {	
	display: flex;
	justify-content: space-around;
}

.project1-content .content {
	padding: 6em 0;
	width: 75%;
	margin: 6% 0;
	background-image: url("image/vertical2.jpg");
	background-size: cover;
	box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}

video {
	width: 80%;
	display: block;
	margin: 6% auto;
}

.project-description h3 {
	font-size: 30px;
	font-weight: 500;
	color: #d9a411;
	padding-left: 10%;
}

.project-description p {
	width: 50%;
	font-weight: 400;
	font-size: 18px;
	word-spacing: 2px;
	color: rgb(230, 230, 230);
	line-height: 2em;
	margin: auto;
	margin-bottom: 5%;
	margin-top: 2%;
}

.project-description img {
	width: 40%;
	margin: 1% auto;
	display: block;
	margin-bottom: 3%;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.4);
}

.project2-image img {
	width: 50%;
	margin: 4% auto;
	display: block;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.4);
}


@media screen and (max-width: 480px) {


	/* home page */

	.toggle {
		display: block;
	}

	.menu {
		display: block;
		flex-direction: column;
		width: 90%;
	}

	.menu a {
		display: none;
		text-align: center;
		margin-top: 1em;
		margin-left: 1em;
		font-size: 12px;
		color: rgb(230, 230, 230);
		text-decoration: none;
	}

	.main-body {
		width: 90%;
		margin: 4% auto;
	}

	.header-top-left img {
		width: 15%;
	}

	.header-main h1 {
		font-size: 55px;
		padding-top: 18%;
	}

	.header-main h2 {
		font-size: 25px;
		margin-top: 2%;
	}

	.title {
		margin: 3% auto;
	}

	.title h1 {
		font-weight: 600;
		font-size: 50px;
		margin-bottom: 5%;
	}

	.title h2 {
		font-weight: 600;
		font-size: 15px;
		margin-top: 0.3em;
	}

	#about {
		margin-top: 8%;
	}

	#projects {
		margin-top: 8%;
	}

	#contact {
		margin-top: 8%;
	}

	.section-title h2 {
		display: none;
	}

	.about-content .content {
		flex-direction: column;
		margin: 3% auto;
	}

	.about-content .content>div {
		width: 90%;
	}

	.about-content p {
		width: 90%;
	}

	/*   project section   */

	.projects-content .content {
		flex-direction: column;
		flex-wrap: wrap;
	}

	.projects-content .content>div {
		width: 100%;
	}

	.projects-content .content h2 {
		font-size: 30px;
		text-align: center;
		margin-bottom: 5%;
	}


	/*    contact     */


	.contact-content .content {
		flex-direction: column;
	}

	.contact-content .content>div {
		width: 100%;
	}


	/*  project1   */


	.project1-content {
		margin: 20% auto;
	}

	.project1-content .content {
		width: 90%;
	}

	.vertical-text1, .vertical-text2 {
		display: none;
	}

	.project-description p {
		width: 90%;
		font-size: 16px;
	}

	.project-description h3 {
		text-align: center;
		margin-top: 10%;
		margin-left: -10%;
	}

	.project-description img {
		width: 90%;
	}

	.project2-image img {
		width: 50%;
	}

	video {
		width: 100%;
	}

	.citation {
		width: 90%;
	}
}

@media screen and (max-width: 800px) {


	/*    home page      */

	.citation {
		width: 90%;
	}

	.main-body {
		width: 90%;
		margin: 4% auto;
	}

	.header-top-left img {
		width: 15%;
	}

	.header-main h1 {
		font-size: 55px;
		margin-top: 4%;
	}

	.header-main h2 {
		font-size: 25px;
		margin-top: 2%;
	}

	.title {
		margin: 3% auto;
	}

	.title h1 {
		font-weight: 600;
		font-size: 50px;
	}

	.title h2 {
		font-weight: 600;
		font-size: 15px;
		margin-top: 0.3em;
	}

	.section-title h2 {
		display: none;
	}

	#about {
		margin-top: 8%;
	}

	#projects {
		margin-top: 8%;
	}

	#contact {
		margin-top: 8%;
	}

	.about-content .content {
		flex-direction: column;
		margin: 3% auto;
	}

	.about-content .content>div {
		width: 100%;
	}

	.about-content p {
		width: 90%;
	}

	.about-content .content h2 {
		font-size: 50px;
		text-align: center;
	}

	.about-content .content h3 {
		text-align: center;
		padding-left: 0;
	}

	.photo-description h3 {
		margin-bottom: 5%;
	}



	/*    project   */


	.projects-content .content {
		flex-direction: column;
	}

	.projects-content .content>div {
		width: 100%;
	}

	.projects-content .content h2 {
		font-size: 30px;
		text-align: center;
	}


	/*       contact       */


	.contact-content .content {
		flex-direction: column;
	}

	.contact-content .content>div {
		width: 100%;
	}

	.contact-content .content img {
		width: 90%;
	}

	.contact-content .content p {
		text-align: center;
	}


	/*    project 1&2 content     */


	.project1-content {
		margin: 20% auto;
	}

	.project1-content .content {
		width: 90%;
	}

	.vertical-text1, .vertical-text2 {
		display: none;
	}

	.project-description p {
		width: 90%;
		font-size: 16px;
	}

	.project-description h3 {
		text-align: center;
		margin-top: 10%;
		margin-left: -10%;
	}

	.project-description img {
		width: 90%;
	}

	.project2-image img {
		width: 90%;
	}

	video {
		width: 100%;
	}
}


