@charset "utf-8";

@font-face {
	/*仿宋*/
	font-family: 'cwTeXFangSong';
	font-style: normal;
	font-weight: 500;
	src: url(fonts/cwTeXFangSong-zhonly-edit.woff) format('woff'),
		url(fonts/cwTeXFangSong-zhonly-edit.ttf) format('truetype'),
		url(fonts/cwTeXFangSong-zhonly-edit.otf) format('opentype');
	/*  src: url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.eot);
	src: url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.eot?#iefix) format('embedded-opentype'),
		url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.woff2) format('woff2'),
		url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.woff) format('woff'),
		url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.ttf) format('truetype');*/
}

/* 
1. Default and Reset styles
2. Global elements
- 2.1 Navigation
- 2.2 Preloader
- 2.3 Buttons
3. All sections
- 3.1 Section 1
- 3.2 Section 2
- 3.3 Section 3
- 3.3 Section 4
4. Slide Arrows
5. Work details
*/


/*------------------------------------------------------------------------------------------*/


/* 1. Defaults & Reset of specific styles across browsers */


/*------------------------------------------------------------------------------------------*/

@font-face {
	font-family: 'FuturaPTLight';
	src: url('fonts/futuraptlight.otf')
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	scroll-behavior: smooth !important
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
	direction: ltr;
	font-family: 'FuturaPTLight', Helvetica, Arial, 'cwTeXFangSong', sans-serif;
	letter-spacing: .05em;
}

body {
	margin: 0;
	padding: 0;
	background-color: #333;
	/*overflow-x: hidden;*/
}

p {
	line-height: 20px;
}

.row img {
	height: auto;
	max-width: 100%;
}

a {
	text-decoration: none;
	line-height: inherit;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

a {
	color: #A7A9AC;
}

em {
	font-style: normal;
}

iframe {
	border: 0 !important;
}

figure {
	margin: 0;
}

.fp-scrollable {
	display: flex;
	align-items: center;
	justify-content: center;
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar {
	width: 8px;
	background-color: rgba(0, 0, 0, 0.92);
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background-color: #555;
}

/*------------------------------------------------------------------------------------------*/


/* 2.1 Global elements - Navigation */


/*------------------------------------------------------------------------------------------*/


/* Menu */

.bt-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	z-index: 10;
	background-color: #414042;
	-webkit-backface-visibility: hidden;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;

}

.bt-menu .image {
	position: relative;
	width: 75%;
	height: 100%;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.bt-menu.bt-menu-open .image {
	/*filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray;
	-webkit-filter: grayscale(100%);*/
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.bt-menu.bt-menu-open .image img {
	object-fit: cover;
	width: 100%;
}

.bt-menu.bt-menu-open {
	height: 100%;
	background-color: #4D4D4D;
}

.bt-menu.bt-menu-open ul {
	display: block;
	pointer-events: auto;
}

.bt-overlay {
	position: absolute;
	width: 100%;
	z-index: -10;
}

.bt-menu-open .bt-overlay {
	height: 100%;
}

.bt-menu-trigger {
	position: fixed;
	top: 30px;
	right: 30px;
	display: block;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.bt-menu-trigger span {
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100%;
	height: 1px;
	margin-top: -2px;
	background-color: #808080;
	font-size: 0px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}

.bt-menu-open .bt-menu-trigger span {
	background-color: transparent;
}

.bt-menu-trigger span:before,
.bt-menu-trigger span:after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: #808080;
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.bt-menu-trigger span:before {
	-webkit-transform: translateY(-1000%);
	transform: translateY(-1000%);
}

.bt-menu-trigger span:after {
	-webkit-transform: translateY(1000%);
	transform: translateY(1000%);
}

.bt-menu-open .bt-menu-trigger span:before {
	-webkit-transform: translateY(0) rotate(45deg);
	transform: translateY(0) rotate(45deg);
}

.bt-menu-open .bt-menu-trigger span:after {
	-webkit-transform: translateY(0) rotate(-45deg);
	transform: translateY(0) rotate(-45deg);
}

.bt-menu ul {
	position: fixed;
	top: 75px;
	right: 50px;
	margin: 0;
	padding: 0;
	width: 18%;
	list-style: none;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	pointer-events: none;
}

.bt-menu ul li,
.bt-menu ul li a {
	display: block;
	width: 100%;
	text-align: left;
}

.bt-menu ul li {
	padding: 16px 0;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s, visibility 0s 0.3s;
	transition: transform 0.3s, opacity 0.2s, visibility 0s 0.3s;
}

.bt-menu ul li:first-child {
	-webkit-transform: translate3d(-100%, 200%, 0);
	transform: translate3d(-100%, 200%, 0);
}

.bt-menu ul li:nth-child(2) {
	-webkit-transform: translate3d(-100%, 100%, 0);
	transform: translate3d(-100%, 100%, 0);
}

.bt-menu ul li:nth-child(3) {
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}

.bt-menu ul li:nth-child(4) {
	-webkit-transform: translate3d(-100%, -100%, 0);
	transform: translate3d(-100%, -100%, 0);
}

.bt-menu ul li:nth-child(5) {
	-webkit-transform: translate3d(-100%, -200%, 0);
	transform: translate3d(-100%, -200%, 0);
}

.bt-menu.bt-menu-open ul li {
	visibility: visible;
	opacity: 1;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s 0.1s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.bt-menu ul li a {
	display: block;
	outline: none;
	color: #A7A9AC;
	text-decoration: none;
	font-size: 16px;
	letter-spacing: 3px;
}

.bt-menu ul li a:before {
	color: #04a466;
	font-size: 48px;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

.bt-menu ul li a:hover:before,
.bt-menu ul li a:focus:before {
	color: #fff;
}

.bt-menu ul li a:hover {
	color: #fff;
}

@media screen and (max-height: 31.125em) {
	.bt-menu ul li a:before {
		font-size: 32px;
	}
}

@media screen and (max-width: 767px) {
	.bt-menu ul {
		transform: translateX(50%);
		right: 50%;

	}

	.bt-menu ul li,
	.bt-menu ul li a {
		text-align: center;
	}

	.bt-menu .image {
		width: 100%;
		height: 40%;
		bottom: -60%;
		position: relative;
	}

}

/*------------------------------------------------------------------------------------------*/


/* 2.2 Global elements - Preloader */


/*------------------------------------------------------------------------------------------*/

#preloader {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 999;
	width: 100%;
	height: 100%;
	overflow: visible;
	background: #414042 url('../img/loading.svg') no-repeat center center;
}


/*------------------------------------------------------------------------------------------*/


/* 2.3 Global elements - Display / Hide for device */


/*------------------------------------------------------------------------------------------*/

.mobile {
	display: block;
}

.desktop {
	display: none;
}

@media only screen and (min-width: 768px) {
	.mobile {
		display: none;
	}

	.desktop {
		display: block;
	}
}

/*------------------------------------------------------------------------------------------*/


/* 3. All sections */


/*------------------------------------------------------------------------------------------*/

.section {
	text-align: center;
	font-size: 20px;
	color: #a7a9ac;
}

.sqFrame {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -190px;
	margin-top: -190px;
}

.sqFrame2 {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -230px;
	margin-top: -230px;
}

.sqFrame3 {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -270px;
	margin-top: -270px;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
	background: #a7a9ac;
}

.duties {
	font-size: 14px;
	color: #a7a9ac;
}

/*------------------------------------------------------------------------------------------*/


/* 3.1 section 1 */


/*------------------------------------------------------------------------------------------*/

.arrowDown {
	position: absolute;
	left: 50%;
	margin-left: -45px;
	bottom: 60px;
}

.first .inner {
	letter-spacing: 100px;
	width: 1005px;
	margin: 60px auto;
}

.first .inner a {
	padding: 0px 5px;
	color: #a7a9ac;
	position: relative;
	margin-right: -100px;

}

.first .inner:hover {
	background-color: #a7a9ac;
}

.first .inner a:hover:after {

	color: #414042;
	margin-right: -100px;
}

.first .inner.btn1 a {
	content: 'Luk陸ukLuk';
}

.first .inner.btn1 a:hover span {
	display: none;
}

.first .inner.btn1 a:hover:after {
	letter-spacing: 212px;
	content: 'About';
}

.first .inner.btn2 a {
	content: 'Yan茵anYan';
}

.first .inner.btn2 a:hover span {
	display: none;
}

.first .inner.btn2 a:hover:after {
	letter-spacing: 212px;
	content: 'Works';
}

.first .inner.btn3 a {
	content: 'Yan茵anYan';
}

.first .inner.btn3 a:hover span {
	display: none;
}

.first .inner.btn3 a:hover:after {
	letter-spacing: 139px;
	content: 'Contact';
	margin-right: -30px;
}

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

	.first .sqFrame,
	.second .sqFrame,
	.third .sqFrame,
	.fourth .sqFrame,
	.fourth .sqFrame2,
	.fourth .sqFrame3 {
		scale: 0.85;
	}

	.first .inner {
		letter-spacing: 80px;
		width: 825px;
	}

	.first .inner.btn1 a:hover:after {
		letter-spacing: 170px;
	}

	.first .inner.btn2 a:hover:after {
		letter-spacing: 170px;
	}

	.first .inner.btn3 a:hover:after {
		letter-spacing: 111px;
	}

	.first .inner a {
		margin-right: -80px;
	}

	.first .inner a:hover:after {
		margin-right: -80px;
	}
}

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

	.first .sqFrame,
	.second .sqFrame,
	.third .sqFrame {
		scale: 0.6;
	}

	.first .inner {
		margin: 40px auto;
	}

	.first .inner {
		letter-spacing: 50px;
		width: 600px;
	}

	.first .inner.btn1 a:hover:after {
		letter-spacing: 106px;
	}

	.first .inner.btn2 a:hover:after {
		letter-spacing: 106px;
	}

	.first .inner.btn3 a:hover:after {
		letter-spacing: 70px;
	}

	.first .inner a {
		margin-right: -50px;
	}

	.first .inner a:hover:after {
		margin-right: -50px;
	}

}

@media screen and (max-width: 600px) {
	.first .inner {
		width: 450px;
	}
}

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

	.fourth .sqFrame,
	.fourth .sqFrame2,
	.fourth .sqFrame3 {
		scale: 0.6;
	}
}

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

	.first .sqFrame,
	.second .sqFrame {
		scale: 0.5;
	}

	.first .inner {
		margin: 30px auto;
	}

	.first .inner {
		letter-spacing: 35px;
		width: 350px;
	}

	.first .inner.btn1 a:hover:after {
		letter-spacing: 64px;
	}

	.first .inner.btn2 a:hover:after {
		letter-spacing: 64px;
	}

	.first .inner.btn3 a:hover:after {
		letter-spacing: 42px;
	}

	.first .inner a {
		margin-right: -35px;
	}

	.first .inner a:hover:after {
		margin-right: -35px;
	}
}

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

	.fourth .sqFrame,
	.fourth .sqFrame2,
	.fourth .sqFrame3 {
		scale: 0.6;
	}
}

/*------------------------------------------------------------------------------------------*/


/* 3.2 section 2 */


/*------------------------------------------------------------------------------------------*/

.second .inner {
	letter-spacing: 50px;
	text-indent: 25px;
	width: 300px;
	padding: 25px 0;
	margin: 0 auto;
}

.second .animation-about-me {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.second table td {
	vertical-align: top;
}

.second .fp-slidesNav ul li a.active span {
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
}

.second .fp-slidesNav ul li a.active::before {
	font-size: 12px;
	position: absolute;
	color: #a7a9ac;
	top: -24px;
}

.second .fp-slidesNav ul li:first-child a.active span {
	background: center url(../img/icon/profile_icon.svg) no-repeat;
	background-size: cover;
}

.second .fp-slidesNav ul li:first-child a.active::before {
	content: 'Profile';
	left: -10px;
}

.second .fp-slidesNav ul li:nth-child(n+2) a.active span {
	background: center url(../img/icon/work_experience_icon.svg) no-repeat;
	background-size: cover;
}

.second .fp-slidesNav ul li:nth-child(n+2) a.active::before {
	content: 'Experience';
	left: -24px;
}

.second .text1 {
	font-size: 16px;
	text-align: left;
	position: absolute;
	width: 25%;
	top: 20%;
	right: 5%;
	height: 60%;
	overflow: auto;
}

.second .text2 {
	font-size: 16px;
	text-align: right;
	position: absolute;
	width: 25%;
	left: 5%;
	top: 55%;
}

.second .text1 td,
.second .text2 td {
	vertical-align: top;
}

.second .text1 h2,
.second .text2 h2 {
	font-size: 21px;
	color: #FFF;
	letter-spacing: 3px;
}

.second .image1 {
	text-align: right;
	width: 20%;
	height: auto;
	overflow: hidden;
	position: absolute;
	left: 10%;
	top: 20%;
}


@media screen and (max-width: 1024px) {
	.second .text1 {
		top: 15%;
		height: 70%;
	}
}

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

	.second .animation-about-me {
		transform: translate(-50%, -130%);
	}

	.second .inner {
		letter-spacing: 30px;
		text-indent: 15px;
		padding: 15px 0;
	}

	.second table {
		margin: auto;
		text-align: justify;
		max-width: 270px;
	}

	.second table td,
	.second p {
		font-size: 16px;
		max-width: 80%;
		margin: auto;

	}

	.second .mobile {
		display: block;
	}

	.second .experience-text {
		padding-top: 250px;
	}
}

/*------------------------------------------------------------------------------------------*/


/* 3.3 section 3 */


/*------------------------------------------------------------------------------------------*/


.nav li {
	font-size: 18px;
	letter-spacing: 3px;
	display: inline-block;
	margin: 60px 10px 0;
	color: #A7A9AC;
}

.nav li .active {
	border-bottom: 2px solid #fff;
	color: #fff;
}

.nav li a {
	text-decoration: none;
	color: #A7A9AC;
}

.nav li .active a:hover {}

.nav li a:hover {
	color: #fff;
}

.nav li a,
.nav li .active a {
	padding: 9px 18px;
	display: block;
}

.nav li .active a {
	color: #fff;
}

.third .sqFrame,
.third .row,
.third .text2,
.third .nav {
	opacity: 0;
}

.third .text2 {
	position: absolute;
	letter-spacing: 3px;
	text-indent: 3px;
	top: 50%;
	right: 50%;
	margin-top: -13px;
	margin-right: -50px;
	width: 100px;
}

.third .wrap {
	z-index: 20;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
}

.third .fp-slidesNav ul li a.active span {
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
}

.third .fp-slidesNav ul li a.active::before {
	font-size: 12px;
	position: absolute;
	color: #a7a9ac;
	top: -24px;
}


.third .fp-slidesNav ul li:first-child a.active span {
	background: center url(../img/icon/uxui_icon.svg) no-repeat;
	background-size: cover;
}

.third .fp-slidesNav ul li:first-child a.active::before {
	content: 'Front-End';
	top: -39px;
	left: -9px;
}

.third .fp-slidesNav ul li:nth-child(2) a.active span {
	background: center url(../img/icon/graphic_design.svg) no-repeat;
	background-size: cover;
}

.third .fp-slidesNav ul li:nth-child(2) a.active::before {
	content: 'Graphic Design';
	left: -15px;
	top: -39px;
}

.third .fp-slidesNav ul li:nth-child(3) a.active span {
	background: center url(../img/icon/email_marketing_icon.svg) no-repeat;
	background-size: cover;
}

.third .fp-slidesNav ul li:nth-child(3) a.active::before {
	content: 'Email Marketing';
	left: -20px;
	top: -39px;
}

.third .fp-slidesNav ul li:nth-child(4) a.active span {
	background: center url(../img/icon/photography_icon.svg) no-repeat;
	background-size: cover;
}

.third .fp-slidesNav ul li:nth-child(4) a.active::before {
	content: 'Photography';
	left: -26px;
}

.grayscale {
	cursor: pointer;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	/* Firefox 3.5+ */
	filter: gray;
	/* IE6-9 */
	-webkit-filter: grayscale(100%);
	/* Chrome 19+ & Safari 6+ */
}

.grayscale:hover {
	filter: none;
	-webkit-filter: grayscale(0%);
}

/* Box container - make it relative for absolute positioning of overlay */
.box {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

/* Info card overlay */
.info-card {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
	color: white;
	padding: 20px;
	transform: translateY(100%);
	transition: transform 0.3s ease-in-out;
	opacity: 0;
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Info content styling */
.info-content h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.info-content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	opacity: 0.9;
}

/* Hover effect */
.box:hover .info-card {
	transform: translateY(0);
	opacity: 1;
}

/* Ensure the image doesn't interfere with the overlay */
.box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-in-out;
}

/* Optional: Add a subtle zoom effect on hover */
.box:hover img {
	transform: scale(1.05);
}

@media screen and (max-width: 1200px) {
	.nav li {
		margin: 60px 0 0;
		font-size: .9rem;
	}
}

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

	.nav {
		padding-left: 0px;
	}

	.nav ul {
		display: none;
	}

	.nav li {
		margin: 0px 5px;
		font-size: 14px;
	}

}

/*------------------------------------------------------------------------------------------*/


/* 3.4 section 4 */


/*------------------------------------------------------------------------------------------*/

.fourth .inner {
	letter-spacing: 21px;
	text-indent: 21px;
	width: 1000px;
	margin: 0 auto;
}

.fourth .phone-email {
	font-size: 16px;
	letter-spacing: 3px;
	position: absolute;
	top: 50%;
	margin-top: -57px;
	left: 30px;
}

.fourth .social-media {
	font-size: 16px;
	letter-spacing: 3px;
	position: absolute;
	top: 50%;
	margin-top: -57px;
	right: 30px;
}

.fourth .text-contact {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -500px;
	margin-top: -13px
}

.fourth .text4 {
	padding: 15px 0;
}

.fourth .text4 a {
	color: #FFF
}

@media screen and (max-width: 880px) {
	.fourth .phone-email {
		position: relative;
		top: -180px;
		left: 0;
		max-width: 90%;
		margin: auto;
	}

	.fourth .social-media {
		position: relative;
		top: 180px;
		right: 0;
		max-width: 90%;
		margin: auto;
	}
}

/*------------------------------------------------------------------------------------------*/


/* 4. Slide */


/*------------------------------------------------------------------------------------------*/

.fp-controlArrow.fp-prev {
	left: 0;
	margin-left: 10px;
	border: none;
	width: 17px;
	height: 32px;
	background: url(../img/arrow_left.png) no-repeat;
	cursor: pointer;
	display: none;
}

.fp-controlArrow.fp-next {
	right: 0;
	margin-right: 10px;
	border: none;
	width: 17px;
	height: 32px;
	background: url(../img/arrow_right.png) no-repeat;
	cursor: pointer;
	display: none;
}



.slide {}

.slide .row {
	display: flex;
	flex-wrap: wrap;
}

.slide .row .box {
	overflow: hidden;
	width: 33.3%;
	display: inline-block;
	cursor: pointer;
	border: 1px solid #414042;
}

@media screen and (min-width: 768px) {
	.fp-slidesNav {
		display: none;
	}
}

@media screen and (max-width: 900px) {
	.slide .row .box {
		width: 50%;
	}
}

@media screen and (max-width: 767px) {
	.row img {
		height: 100%;
		max-width: 100%;
		object-fit: cover;
	}

	.slide .row .box {
		height: 20vh;
	}

}

/*------------------------------------------------------------------------------------------*/


/* 5. Work details */


/*------------------------------------------------------------------------------------------*/

.overlay {
	height: 100vh;
	width: 0%;
	position: fixed;
	z-index: 20;
	background-color: rgba(0, 0, 0, 0.92);
	overflow-x: hidden;
	transition: width 0.5s;
}

.overlay.active {
	width: 100%;
}

.overlay .overlay-image-photo .overlay-single-grid {
	padding: 3%;
	max-width: 1200px;
	margin: auto;
	padding-bottom: 100px;
}

.overlay .overlay-content {
	position: relative;
	width: 100%;
	text-align: left;
	padding: 20px 40px;
}

div[id$="image"].overlay.active {
	width: 70%;
}

.overlay a:visited {
	color: #A7A9AC;
}

.overlay .work-photo-image {
	width: 0%;
	transition: width 0.5s;
}

.overlay .work-photo-image.active {
	width: 100%;
}

.overlay .overlay-image img {
	max-width: 100%;
	display: block;
	margin: 0px auto 10px;
}

.overlay .figcaption {
	font-size: 12px;
	font-style: italic;
	color: #A7A9AC;
	text-align: center;
}

.overlay .overlay-image-photo {
	font-size: 16px;
	color: #A7A9AC;

}
.overlay .overlay-image-photo h1 {
	font-size: 24px;
}

.overlay .overlay-image-photo a {
	font-size: 16px;
	color: #A7A9AC;
}

.overlay .overlay-image img.double {
	display: inline;
	padding: 5px;
}

.overlay .overlay-image-photo img {
	max-width: 100%;
}

.overlay .overlay-content .text {
	padding-left: 40px;
	position: relative;
	font-size: 16px;
	width: 30%;
	height: 100%;
	float: right;
}

.overlay .overlay-content .text h1 {
	font-size: 24px;
}

.overlay .overlay-content .text h2 {
	font-size: 18px;
	font-style: italic;
	padding-top: 10px;
}

.overlay .text h3 {
	padding-top: 30px;
}

.overlay p,
.overlay ul {
	text-align: justify;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.overlay .overlay-content .text ul {
	padding: 20px;
}

.overlay .overlay-content .text .title {
	padding: 15px 0;
}

.overlay .overlay-content .text .nav {
	padding: 0;
}

.overlay .text .nav a {
	padding: 2px 15px 2px 0;
	text-decoration: none;
	color: #818181;
	display: inline-block;
	transition: 0.3s;
}

.overlay .overlay-content .text .nav a:hover {
	color: #fff;
}

.overlay a:hover,
.overlay a:focus {
	color: #f1f1f1;
}

.overlay .closebtn {
	position: sticky;
	left: 98%;
	top: 0;
	padding: 0 10px;
	font-size: 35px;
	font-weight: 100;
	z-index: 100;
}

@media screen and (max-width: 1080px) {
	.overlay .closebtn {
		left: 95%;
		top: 0px;

	}
}

@media screen and (max-width: 767px) {
	.overlay .overlay-content {
		width: 100%;
		text-align: left;
		padding: 0;
		height: 100vh;
		top: 0;
		position: absolute;
	}

	.overlay .overlay-content .text {
		width: 100%;
		overflow: auto;
		padding: 0 5% 30px;
		position: absolute;
		bottom: 0;
		margin-top: 0;
		transition: height 0.3s ease;
	}

	/* Drawer states */
	.overlay .overlay-content .text.collapsed {
		height: 12%;
	}

	.overlay .overlay-content .text.expanded {
		height: 40%;
	}

	/* Toggle button */
	.overlay .drawer-toggle {
		position: absolute;
		left: 50%;
		bottom: 10%;
		transform: translate(-50%, 60%);
		width: 30px;
		height: 30px;
		border-radius: 50%;
		border: none;
		background: rgba(255, 255, 255, 0.1);
		color: #fff;
		font-size: 15px;
		line-height: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		z-index: 5;
	}

	.overlay .drawer-toggle.open {
		transform: translate(-50%, 180%) rotate(180deg);
		opacity: 0.3;
	}

	/* Image overlay height on mobile */
	div[id$="image"].overlay.active {
		overflow: auto;
		width: 100%;
		height: 88%;
		position: absolute;
		transition: height 0.3s;
	}
}

@supports (height: 100dvh) {
	.overlay .overlay-content {
		height: 100dvh;
	}
}