/* FONTS */
@font-face {
	font-family: 'MPLUS Light';
	src: url('/src/assets/font/MPLUS1p-Light.ttf');
}
@font-face {
	font-family: 'MPLUS Regular';
	src: url('/src/assets/font/MPLUS1p-Regular.ttf');
}
@font-face {
	font-family: 'MPLUS Bold';
	src: url('/src/assets/font/MPLUS1p-Bold.ttf');
}
@font-face {
	font-family: 'Walkway Black';
	src: url('/src/assets/font/Walkway-Black.ttf');
}

/* GENERAL */
* {
	box-sizing: border-box;
}
html {
	font-family: 'MPLUS Regular', sans-serif;
	font-size: 10px;
	color: #333;
	scroll-behavior: smooth;
}
body {
	font-size: 1.6rem;
}
main {
	padding-top: 11.6rem;
}
.inner {
	margin: 0 auto;
	max-width: 160rem;
	padding: 0 4rem;
}
strong {
	font-weight: 600;
}
a {
	display: inline-block;
	color: #333;
	text-decoration: none;
}
p {
	line-height: 1.5;
}
.btn-back-to-top {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	z-index: 1000;
	display: block;
	padding: 1rem;
	font-size: 3rem;
	color: #666;
}
@media screen and (max-width: 768px) {
	html {
		font-size: 8px;
	}
	.inner {
		padding: 0 2rem;
	}
}

/* HEADER */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2000;
	background-color: rgba(255,255,255,0.95);
	border-top: 2rem solid #222;
	border-bottom: 1px solid #666;
}
header::before {
	content: '';
	position: absolute;
	top: -1rem;
	left: 50%;
	width: 20rem;
	height: 2rem;
	transform: translateX(-50%);
	background-color: #222;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1rem) 100%,
		1rem 100%
	);
}
header::after {
	content: '';
	display: table;
	clear: both;
}
header .inner {
	padding: 0;
}
header h1 {
	float: left;
}
header h1 a {
	display: block;
	padding: 3.2rem 2rem 1.8rem;
	width: 35.4rem;
}
header h1 a img {
	width: 100%;
}

/* NAV */
nav {
	clear: right;
	float: right;
	margin-right: 0.75rem;
}
nav ul li {
	float: left;
}
nav ul li a {
	padding: 4rem 1.5rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.btn-sp-nav {
	display: none;
	float: right;
	padding: 4rem;
	font-size: 2.4rem;
}
@media screen and (min-width:1025px) {
	nav {
		display: block !important;
	}
}
@media screen and (max-width:1024px) {
	.btn-sp-nav {
		display: block;
	}
	nav {
		display: none;
		position: fixed;
		top: 11.6rem;
		left: 0;
		bottom: 0;
		z-index: 2000;
		width: 100%;
		background: #fff;
	}
	nav ul li {
		float: none;
		width: 100%;
	}
	nav ul li a {
		display: block;
		text-align: center;
	}
}

/* SECTIONS */
section .inner {
	padding: 12rem 4rem;
}
.section-title {
	margin-bottom: 4rem;
	font-family: 'Walkway Black';
	font-size: 5rem;
	letter-spacing: 2px;
}
@media screen and (max-width: 768px) {
	section .inner {
		padding: 8rem 2rem;
	}
}

/* CONTACT SECTION */
.contact-section {
	position: relative;
	margin-top: -12rem;
	padding-top: 12rem;
}
.contact-section h2 {
	margin-bottom: 1rem;
}
.contact-section p {
	margin-bottom: 3rem;
}
.contact-section .inner > .col-2 > div:last-child {
	position: relative;
}
.contact-section .contact-photo {
	position: absolute;
	top: 0;
	left: 2rem;
	right: 0;
	bottom: 0;
	background: url('/src/assets/img/bg-contact.jpg') no-repeat center center;
	background-size: cover;
}
.contact-photo::before {
	content: '';
	position: absolute;
	top: -1px;
	right: -1px;
	width: 20rem;
	height: 2rem;
	background-color: #fff;
	clip-path: polygon(
		0 0,
		100% 0,
		100% 100%,
		1rem 100%
	);
}
.contact-photo::after {
	content: '';
	position: absolute;
	bottom: -1px;
	right: -1px;
	width: 2rem;
	height: 2rem;
	background-color: #fff;
	clip-path: polygon(
		100% 0,
		100% 100%,
		1rem 100%
	);
}
.contact-photo-corners {
	position: relative;
	height: 100%;
}
.contact-photo-corners::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -1px;
	width: 2rem;
	height: 2rem;
	background-color: #fff;
	clip-path: polygon(
		0 0,
		calc(100% - 0.75rem) 0,
		0 100%
	);
}
.contact-photo-corners::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: -1px;
	width: 2rem;
	height: 2rem;
	background-color: #fff;
	clip-path: polygon(
		0 0,
		calc(100% - 0.75rem) 100%,
		0 100%
	);
}
.contact-photo-inner {
	position: absolute;
	top: 1.8rem;
	right: -1px;
	width: 1rem;
	height: 2rem;
	background-color: #fff;
	clip-path: polygon(
		0 0,
		100% 0,
		1rem 100%
	);
}
@media screen and (max-width: 768px) {
	.contact-photo {
		display: none;
		position: relative !important;
		left: 0 !important;
		margin-top: 2rem;
		height: 20rem;
	}
	.contact-photo-inner {
		top: 1.8rem;
	}
}

/* FOOTER */
footer {
	position: relative;
	padding: 7rem 5rem 5rem 5rem;
	background-color: #222;
	color: #fff;
}
footer::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 50%;
	width: 20rem;
	height: 2rem;
	transform: translateX(-50%);
	background-color: #fff;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1rem) 100%,
		1rem 100%
	);
}
footer p {
	text-align: center;
}

/* FORM */
.raitech-form .form-group {
	margin-bottom: 2rem;
}
.raitech-form label {
	display: block;
	margin-left: 1rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	font-size: 1.4rem;
	font-weight: 600;
}
.raitech-form input,
.raitech-form textarea {
	display: block;
	padding: 1rem;
	width: 100%;
	background-color: rgba(0,0,0,0.02);
	border: 0;
	border-bottom: 1px solid #aaa;
	font-family: 'MPLUS Regular';
	font-size: 1.6rem;
	resize: none;
	outline: none;
}
.raitech-form textarea {
	min-height: 10rem;
}
.g-recaptcha {
	margin-bottom: 2rem;
}

/* BUTTONS */
.btn {
	display: inline-block;
	cursor: pointer;
	background-color: #333;
	border: 0;
	font-family: 'MPLUS Regular';
	color: #fff;
	-webkit-transition: all 250ms ease;
	-moz-transition: all 250ms ease;
	-o-transition: all 250ms ease;
	transition: all 250ms ease;
	line-height: 1;
}
.btn-md {
	padding: 1.5rem 5rem 1.5rem 4rem;
	font-size: 1.6rem;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1.5rem) 100%,
		0 100%
	);
}
.btn-sm {
	padding: 1rem 2.5rem 1rem 2rem;
	font-size: 1.4rem;
	clip-path: polygon(
		0 0,
		100% 0,
		calc(100% - 1.2rem) 100%,
		0 100%
	);
}
.btn-blue {
	background-color: #36c !important;
}
.btn-red {
	background-color: #c00 !important;
}
.btn-black {
	background-color: #333 !important;
}
.btn-white {
	background-color: #eee !important;
	color: #333;
}
.btn-with-loader img {
	width: 5.3rem;
}
.loader-container {
	float: left;
	width: 0;
	height: 5.3rem;
	overflow: hidden;
	-webkit-transition: all 100ms ease;
	-moz-transition: all 100ms ease;
	-o-transition: all 100ms ease;
	transition: all 100ms ease;
}
.loader-container.open {
	width: 5.3rem;
}
@media screen and (min-height:769px) {
	.btn:hover {
		opacity: 0.8;
	}
}

/* COLUMNS */
.col-2 {
	margin: 0 -1rem;
}
.col-2::after {
	content: '';
	clear: both;
	display: table;
}
.col-2 > div {
	float: left;
	width: 50%;
	padding: 0 1rem;
}
@media screen and (max-width: 768px) {
	.col-2 > div {
		float: none;
		width: 100%;
	}
}

/* MARGINS */
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.mr-1 { margin-right: 0.5rem !important; }
.mr-2 { margin-right: 1rem !important; }