/* Global */
body {
	font-family: 'DM Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 0.2px;
	padding-top: 35px;
	-webkit-transition: 0.3s;
	transition: background-color 0.3s;
	position: relative;
	min-height: 100%;
}
body.light {
	background: #ffffff;
	color: #000000;
}
body,
body.dark {
	background: #000000;
	color: #ffffff;
}
@media (max-width: 767.98px) {
	body {
		padding-top: 30px;
	}
}

/* Header */
header .logo {
	background-size: 100%;
	width: 259px;
	height: 32px;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
header .logo,
body.dark header .logo {
	background-image: url('../img/logo-dark.svg');
}
body.light header .logo {
	background-image: url('../img/logo-light.svg');
}
header ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
header li {
	display: inline-block;
	border: solid 2.5px transparent;
}
header li a {
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	padding: 2px 6px 0px 6px;
	display: inline-block;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}
header li a,
body.dark header li a {
	color: #ffffff;
}
body.light header li a {
	color: #000000;
}
header li a:hover,
body.light header li a:hover,
body.dark header li a:hover {
	text-decoration: none;
	color: #0000ff;
}
header li:not(:last-child) {
	margin-right: 35px;
}
header li.active {
	border: solid 2.5px #0000ff;
}
header .category-nav {
	margin-top: 10px;
}
@media (max-width: 767.98px) {
	header .navigation {
		margin-top: 33px;
	}
	header li:not(:last-child) {
		margin-right: 25px;
	}
	header li:nth-child(3),
	header li:nth-child(4) {
		margin-top: 10px;
	}
	header .category-nav {
		max-width: 260px;
	}
}
@media (min-width: 768px) and (max-width: 1199.98px) {
	header li:nth-child(3),
	header li:nth-child(4) {
		margin-top: 10px;
	}
	header .category-nav {
		max-width: 350px;
	}
}

/* Footer */
footer {
	background-image: url('../img/footer.jpg');
	background-size: 100%;
	height: 148px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}
footer a,
footer a:hover {
	color: #ffffff;
}
footer .phone,
footer .email {
	font-size: 24px;
}
footer .email {
	text-decoration: underline;
	margin-left: 66px;
}
footer .email:hover {
	text-decoration: none;
}
footer .socials {
	text-align: right;
}
footer .social-link {
	font-weight: 700;
	font-size: 18px;
	margin-right: 28px;
}
footer .social-link:last-child {
	margin-right: 0;
}
@media (max-width: 767.98px) {
	footer {
		background-size: 200%;
		height: 110px;
	}
	footer .socials {
		text-align: center;
	}
	footer .phone,
	footer .email {
		font-size: 18px;
	}
	footer .email {
		margin: 0;
		float: right;
	}
	footer .social-link {
		font-size: 12px;
	}
}
@media (min-width: 768px) and (max-width: 1199.98px) {
	footer .phone,
	footer .email {
		font-size: 19px;
	}
	footer .email {
		margin-left: 35px;
	}
	footer .social-link {
		font-size: 16px;
	}
}

/* Home Page */
.home .content {
	padding-top: 110px;
	padding-bottom: 30px;
}
.home .about-eps {
	font-size: 32px;
}
.home .readmore {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.88;
	color: #0000ff;
	text-decoration: underline;
}
.home .readmore:hover {
	text-decoration: none;
}
@media (max-width: 767.98px) {
	.home .content {
		padding-top: 100px;
		padding-bottom: 0;
	}
	.home .about-eps {
		font-size: 28px;
		line-height: 1.29;
	}
}

/* About Page */
.about .content {
	padding-top: 60px;
	padding-bottom: 240px;
}
.about .content p {
	font-size: 21px;
	font-weight: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.43;
}
.about .content p:first-child {
	font-size: 32px;
	line-height: 40px;
	margin: 30px 0;
}
.about .content p span {
	font-size: 15px;
	font-weight: 700;
}
@media (max-width: 767.98px) {
	.about .content {
		padding-top: 120px;
		padding-bottom: 160px;
	}
	.eps-image {
		padding: 0;
	}
	.about .content p {
		/* deep selector*/
		font-size: 21px;
		line-height: 1.43;
	}
	.about .content p:first-child {
		/* deep selector*/
		font-size: 28px;
		line-height: 1.29;
	}
	.about .content p:last-child {
		/* deep selector*/
		margin-bottom: 40px;
	}
	.about .content p span {
		/* deep selector*/
		font-size: 15px;
	}
}

/* Contact Page */
.contact .content {
	padding-top: 290px;
	font-size: 32px;
}
.contact .content a {
	font-size: 68px;
	color: #0000ff;
}
.contact .content p {
	padding-bottom: 160px;
}
.contact .content p:last-child {
	padding-bottom: 360px;
}
@media (max-width: 767.98px) {
	.contact .content {
		padding-top: 165px;
		font-size: 22px;
	}
	.contact .content a {
		font-size: 41px;
	}
	.contact .content p {
		padding-bottom: 100px;
	}
	.contact .content p:last-child {
		padding-bottom: 240px;
	}
}
@media (min-width: 768px) and (max-width: 1199.98px) {
	.contact .content a {
		font-size: 45px;
	}
}

/* Works */
#work-list {
	padding-top: 80px;
	padding-bottom: 250px;
}
#work-list .image {
	margin: 0;
	overflow: hidden;
}
#work-list .image img {
	transition: transform 0.25s;
}
#work-list .image:hover img {
	transform: scale(1.05);
}
#work-list .work {
	margin-bottom: 45px;
}
#work-list .work-title {
	margin-top: 8px;
}
#work-list .work-title strong {
	font-weight: 700;
}
#work-list .see-more {
	background-image: url('../img/see-more.svg');
	background-size: 100%;
	width: 99px;
	height: 99px;
	margin: 20px auto 25px auto;
	cursor: pointer;
}

@media (max-width: 767.98px) {
	#work-list {
		padding-top: 50px;
		padding-bottom: 130px;
	}
	#work-list .work {
		margin-bottom: 35px;
		padding: 0;
	}
	#work-list .work-title {
		font-size: 14px;
		padding: 0 15px;
	}
	#work-list .see-more {
		width: 79px;
		height: 79px;
		margin: 0 auto 30px;
	}
}

/* Work Detail */
.work-detail .content {
	padding-top: 50px;
	padding-bottom: 210px;
}
.work-detail .image {
	margin-bottom: 50px;
}
.work-detail .image-caption {
	padding-top: 10px;
}
.work-detail .nav-link-desktop {
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	text-align: center;
	position: fixed;
	top: 50%;
	margin-top: -63px;
	padding: 0;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}
.work-detail .previous {
	left: 15px;
	-webkit-transform: rotate(-90deg) translate(-50%, 50%);
	transform: rotate(-90deg) translate(-50%, 50%);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
}
.work-detail .next {
	right: 15px;
	-webkit-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
	-webkit-transform: rotate(-90deg) translate(50%, -50%);
	transform: rotate(-90deg) translate(50%, -50%);
}
.work-detail .previous svg {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
.work-detail .next svg {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
.work-detail .nav-link {
	padding: 0;
}
.work-detail .nav-link,
body.work-detail.dark .nav-link {
	color: #ffffff;
}
body.work-detail.light .nav-link {
	color: #000000;
}
.work-detail .nav-link:hover,
body.work-detail.dark .nav-link:hover,
body.work-detail.light .nav-link:hover {
	color: #0500ff;
}
.work-detail .nav-link-desktop.previous .text {
	padding-top: 3px;
}
.work-detail .back {
	font-weight: 700;
	font-size: 19px;
	line-height: 1;
	color: #0500ff;
	cursor: pointer;
	text-decoration: none;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.work-detail .back:hover {
	color: #ffffff;
}
body.work-detail.light .back:hover {
	color: #000;
}
.work-detail .back svg {
	margin-right: 5px;
}
.work-detail .back svg path {
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.work-detail .back:hover svg path {
	fill: #ffffff;
}
body.work-detail.light .back:hover svg path {
	fill: #000;
}
.work-detail .work-title {
	font-size: 28px;
	line-height: 1.5;
	margin-top: 25px;
}
.work-detail .work-title >>> strong {
	font-weight: 700;
}
.work-detail .work-description {
	font-size: 15px;
	line-height: 1.4;
	margin-bottom: 37px;
}
@media (max-width: 767.98px) {
	.work-detail .content {
		padding-bottom: 170px;
	}
	.work-detail .work-title {
		font-size: 24px;
		line-height: 0.75;
	}
	.work-detail .work-description {
		font-size: 15px;
		line-height: 1.4;
		margin-top: 7px;
		margin-bottom: 28px;
	}
	.work-detail .image {
		padding: 0;
		margin-bottom: 40px;
	}
}
.work-detail .nav-link-desktop .svg-wrapper {
	display: inline-block;
	width: 26px;
	height: 29px;
}
.work-detail .nav-link-desktop .svg-wrapper {
	display: inline-block;
	width: 26px;
	height: 29px;
}
@media (min-width: 768px) and (max-width: 1199.98px) {
	.work-detail .nav-link-desktop .svg-wrapper {
		width: 20px;
		height: 22px;
	}
}
.work-detail .nav-link-mobile {
	display: inline-block;
	text-align: center;
	font-size: 14px;
	line-height: 1.08;
}
.work-detail .nav-link-mobile.previous .text {
	padding-top: 7px;
}
.work-detail .nav-link-mobile.next .text {
	padding-bottom: 7px;
}
.work-detail .nav-link-mobile .svg-wrapper {
	width: 20px;
	height: 22px;
	display: inline-block;
}
@media (min-width: 1200px) {
	.work-detail .mobile-nav {
		display: none;
	}
}

/* Toggle Switch */
.toggle-container {
	position: absolute;
	top: 145px;
	right: 20px;
	-webkit-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
	-webkit-transform: rotate(-90deg) translate(50%, -50%);
	transform: rotate(-90deg) translate(50%, -50%);
}
.toggle-container .text {
	font-size: 12px;
	margin-right: 5px;
	line-height: 1;
	cursor: pointer;
}
.switch {
	position: relative;
	width: 34px;
	height: 15px;
	margin: 0;
}
/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #0000ff;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.slider:before {
	position: absolute;
	content: '';
	height: 11px;
	width: 11px;
	left: 4px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
/* input:checked + .slider {
	background-color: #2196f3;
}
input:focus + .slider {
	box-shadow: 0 0 1px #2196f3;
} */

input:checked + .slider:before {
	-webkit-transform: translateX(16px);
	-ms-transform: translateX(16px);
	transform: translateX(16px);
}
/* Rounded sliders */

.slider.round {
	border-radius: 34px;
}
.slider.round:before {
	border-radius: 50%;
}
@media (max-width: 767.98px) {
	.toggle-container {
		right: 10px;
	}
}
