*{
	margin: 0;
	padding: 0;
}
*, :after, :before{
	box-sizing: border-box;
}

@font-face{
	font-family: rubikmonoone;
	src:url("font/rubik-mono-one/RubikMonoOne-Regular.ttf");
}

@import url('https://fonts.googleapis.com/css?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css?family=Kanit:600|Questrial&display=swap');
@import url('https://fonts.googleapis.com/css?family=Exo+2&display=swap');
@import url('https://fonts.googleapis.com/css?family=Candal&display=swap');



html{
	overflow-x: hidden;
	scroll-behavior: smooth;
}
body{
	position: relative;
	width: 100%;
	/*overflow-x: hidden;*/
	font-family: 'Questrial', sans-serif;
	font-size: 1.2em;
}
h1{
	font-family: 'Candal', sans-serif;
	font-size: 4rem;
	text-align: left;
	color: #000;
}
h2{
	font-family: 'Candal', sans-serif;
	font-size: 2.5rem;
	margin-top: 20px;
}
h3{
	display: inline-block;
	padding: 5px 15px;
	background-color: #d2301f;
	border-radius: 30px;
	font-size: 1.6rem;
	margin-bottom: 20px;
	color: #fff;
}
h6{
	color: red;
}
form{
	margin-top: 10px;
}
input[type=text],input[type=email]{
	width: 90%;
	font-size: .8rem;
	padding: 10px;
	margin: 0 auto 10px;
	border:2px solid #e5e8ea;
	border-radius: 10px;
}
textarea{
	width: 95%;
	height: 120px;
	margin: 0 auto;
	font-size: .8rem;
	font-family: 'Questrial', sans-serif;
	padding: 10px;
	border:2px solid #e5e8ea;
	border-radius: 10px;
	resize: none;
}
header{
	position: relative;
}
header .bg1{
	position: absolute;
	left: 50%;
	z-index: -5;
}
header .bg2{
	display: block;
	position: absolute;
	left:50%;
	top:120px;
}
@media(max-width: 770px){
	header .bg2{
		display: none;
	}
}
.logo{
	width: 120px;
	height: 120px;
}
@media (min-width: 300px){
	.container {
		max-width: 500px;
	}
}

@media (min-width: 576px){
	.container {
		max-width: 540px;
	}
}
@media (min-width: 768px){
	.container {
		max-width: 720px;
	}
}
@media (min-width: 992px){
	.container {
		max-width: 960px;
	}
}
@media (min-width: 1200px){
	.container {
		max-width: 1140px;
	}
}

.container{
	width: 100%;
	padding-right:15px;
	padding-left:15px;
	margin-right: auto;
	margin-left: auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-right: -15px;
}
.col{
	flex-basis: 0;
	flex-grow: 1;
	max-width: 100%;
}
.center{
	text-align: center;
}
nav{
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.navbar-menu{
	list-style: none;
	padding-left:0;
	margin-bottom: 0;
}
@media(min-width: 992px){
	.d-lg-flex{
		display: flex;
	}
}
.navbar-menu>li{
	padding:0 16px;
	align-self: center;
}
.navbar-menu li a{
	position: relative;
	display: inline-block;
	outline: none;
	color: #fff;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 400;
}
.btn{
	border: none;
	display: inline-flex;
	align-items: center;
}
.btn,.-navbar{
	font-weight: 400px;
	font-size: 16px;
	margin-left: 10px;
	border-radius: 30px;
	background-color: #fff;
	color:#FD5A5A;
	padding: 10px 16px;
	position: relative;
	transition: all .3s;
	text-decoration: none;
}
@media(min-width: 300px){
	.d-none{
		display: none;
	}
	.sidebar-btn-menu{
		display: block;
		cursor: pointer;
	}
}
@media(min-width: 1000px){
	.d-none{
		display: block;
	}
	.sidebar-btn-menu{
		display: none;
	}
}

main{
	display: block;
}
section{
	padding: 3.75em 0;
}
.section-hero{
	min-height: 500px;
}
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
.col-md-4{
	position: relative;
	margin-bottom: 20px;
	width: 100%;
	padding-right:15px;
	padding-left:15px;
}
@media(min-width: 768px){
	.col-md-4{
		margin-bottom: 20px;
		flex:0 0 33.333333%;
		position: relative;

	}
}
@media(max-width: 768px){
	.col-md-6{
		position: relative;
		margin-bottom: 20px;
		width: 100%;
		padding-right:15px;
		padding-left:15px;
	}
}

input[type=submit].submit{
	font-family: 'Questrial', sans-serif;
	font-size: .9rem;
	text-decoration: none;
	background: rgb(80,19,19);
	background: linear-gradient(90deg, rgba(80,19,19,1) 0%, rgba(191,0,0,1) 0%, rgba(234,110,71,1) 100%);
	border: 1px solid white;
	color: white;
	padding: 10px 15px;
	border-radius: 30px;
	display: inline;
	margin-top: 10px;
	cursor: pointer;
	transition: transform .3s ease-out;
	-webkit-box-shadow: 0px 5px 3px -1px rgba(0,0,0,0.22);
	-moz-box-shadow: 0px 5px 3px -1px rgba(0,0,0,0.22);
	box-shadow: 0px 5px 3px -1px rgba(0,0,0,0.22);
}
input[type=submit].submit:hover{
	transition: .3s;
	-webkit-box-shadow: 0px 5px 3px -1px rgba(0,0,0,0.22);
	-moz-box-shadow: 0px 5px 3px -1px rgba(0,0,0,0.22);
	box-shadow: 0px 5px 3px -1px rgba(0,0,0,0.22);
	transform:translate(0,-5px);
}
hr{
	margin:10px 0; 
	border: 1px solid #e5e8ea;
}
a{
	text-decoration: none;
}
/*.back-portfolio{
	font-size: 1.5rem;
	position: fixed;
	top: 25vh;
	left: -15px;
	padding: 5px 20px;
	background: rgb(80,19,19);
	background: linear-gradient(90deg, rgba(80,19,19,1) 0%, rgba(3,156,151,1) 0%, rgba(37,246,184,1) 100%);
	border-radius: 20px;
	z-index: 5;	
}*/
.back-portfolio{
	background-color: #383838;
	padding: 5px;
}
.back-portfolio a{
	color: #fff;
}
.line-header{
	margin-top: 20px;
}
section.section-services{
	position: relative;
}
section.section-services .bg3{
	position: absolute;
	left:-20px;
	bottom: 0px;
	z-index: -5;
}
.service-card{
	padding:20px;
	box-shadow: 0 5px 20px 0 hsla(204,2%,52%,.1);
	height: 100%;
	margin: 0 0 20px;
	background-color: #fff;
}
.service-card>img{
	width: 100%;
	margin: 20px 0;
	height: 150px;
	object-fit: cover;
	object-position: bottom;
}
.service-card>p{
	margin: 0 0 15px;
	font-size: 1rem;
	line-height: 1.5;
}
.triangle {
	position: absolute;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 50px 0 0 50px;
	border-color: transparent transparent transparent  rgba(191,0,0,10%);
}

.section-about{
	position: relative;
}
.section-about .bg3{
	position: absolute;
	left:-20px;
	z-index: -5;
}
.about-card{
	padding:20px;
	box-shadow: 0 5px 20px 0 hsla(204,2%,52%,.1);
	background-color: #fff;
	height: 100%;
	width: 84%;
	margin:0 auto;
}
.about-card>p{
	line-height: 1.5;
}

section.section-contact{
	background-color: #f8fafb;
	margin-top: 20px;
}
section.section-contact{
	color:#000;
}
section.section-contact>p{
	line-height: 1.5;
}

footer{
	background-color: #353434;
	color: white;
	padding: 10px 0;
	font-size: .8rem;
}
.btn-to-top{
	position: fixed;
	right: 20px;
	bottom: 0;
	cursor: pointer;
	display: none;
	padding: 10px;
	background: rgb(80,19,19);
	background: linear-gradient(90deg, rgba(80,19,19,1) 0%, rgba(191,0,0,1) 0%, rgba(234,110,71,1) 100%);
}
.btn-to-top a{
	color: #fff;
	text-decoration: none;
	font-size: .9rem;
}










.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 20;
	top: 0;
	left: 0;
	background-color: rgb(0,0,0);
	/*background-color: rgba(0,0,0, 0.9);*/
	overflow-x: hidden;
	transition: 0.5s;
}

.overlay-content {
	position: relative;
	top: 25%;
	width: 100%;
	text-align: center;
	margin-top: 30px;
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
	color: #FD5A5A;
}

.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}
@media screen and (max-height: 450px) {
	.overlay a {font-size: 20px}
	.overlay .closebtn {
		font-size: 40px;
		top: 15px;
		right: 35px;
	}
}

/*for loading*/
.loading{
	position: relative;
	background-color: green;
	z-index: 50;
	height: 100vh;
	width: 100%;
}
.loading ul{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin: 0;
	padding: 0;
	display: flex;
}
.loading ul li{
	list-style: none;
	width: 20px;
	height: 20px;
	background:red;
	margin: 0 5px;
	border-radius: 50%;
	animation: animate 1.4s linear infinite;
}
@keyframes animate{
	0%{
		transform: translateY(0);
	}
	60%{
		transform: translateY(0);
	}
	80%{
		transform: translateY(-20px);
	}
	100%{
		transform: translateY(0);
	}
}
.loading ul li:nth-child(1){
	animation-delay: 0;
}
.loading ul li:nth-child(2){
	animation-delay: -1.2s;
}
.loading ul li:nth-child(3){
	animation-delay: -1s;
}
.loading ul li:nth-child(4){
	animation-delay: -.8s;
}
.loading ul li:nth-child(5){
	animation-delay: -.6s;
}
.loading.hidden {
	animation: fadeOut 1s;
	animation-fill-mode: none;
}
@keyframes fadeOut {
	100% {
		opacity: 0;
		display: none;
	}
}