/*-------------
 	General
-------------*/

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html{
	font: normal 16px sarabun, sans-serif;
	color: #555;
}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;

	opacity: 0.9;
}

a:hover{
	opacity: 1;
}

a.btn{
	color: #fff;
	border-radius: 4px;
	text-transform: uppercase;
	background-color: #9896B3;
	font-weight: 800;
	text-align: center;
}
input[type=submit]{
    padding:5px 15px; 
    background:#ccc; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}

hr{
	width: 150px;
	height: 2px;
	background-color: #8495B0;
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 125px 100px;
}

@media (max-width: 1000px){

	section{
		padding: 100px 50px;
	}

}

@media (max-width: 600px){

	section{
		padding: 60px 30px;
	}

}

section h3.title{
	color: #414a4f;
	font: bold 32px 'Sarabun', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}

section p{
	max-width: 800px;
	text-align: center;
	margin-bottom: 35px;
	padding: 0 20px;
	line-height: 2;
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


/*-------------
 	Header
-------------*/

header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	padding: 35px 100px 0;
}

header h2{
	font-family: 'Sarabun', sans-serif;
	color: #88B394;
	font-size: 20px;
}

header nav{
	display: flex;
}

header nav li{
	margin: 0 15px;
}

header nav li:first-child{
	margin-left: 0;	
}

header nav li:last-child{
	margin-right: 0;	
}



@media (max-width: 1000px){
	header{
		padding: 20px 50px;
	}
}


@media (max-width: 700px){
	header{
		flex-direction: column;		
	}

	header h2{
		margin-bottom: 15px;
	}
}



/*----------------
 	Hero Section
----------------*/

.brand{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	margin: 20px;
}

.hero{
	position: relative;
	justify-content: center;
	min-height: 100vh;
	color: #1d1914;
	text-align: center;
}

.buy{
	color:#fff;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.7em;
	display: inline-block;
	border:  1px solid ;
	padding: 5px 10px;
	padding: 5px 10px;
	margin: 10px;
	background-color:#8495B0;
	border-radius: 5px;
	box-shadow: 5px 10px;
}

.hero .background-image{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	/* background: linear-gradient(to bottom, #1d70a3, #fff); */
	background:#fef9f0;
	z-index: -1;
}


.hero h1{
	font: bold 50px 'Sarabun', sans-serif;
	margin-bottom: 15px;
	
}

.hero h3{
	font: bold 25px 'Sarabun', sans-serif;
	margin-bottom: 40px;
	color: #1d1914;
}

.hero a.btn{
	padding: 20px 46px;
}

.logo{
	max-width: 60px;
	display: inline-block;
}

@media (max-width: 800px){

	.logo{
		max-width: 50px;

	}

	.buy{
		margin: 25px;
	}

	.hero{
		min-height: 600px;
	}

	.hero h1{
		font-size: 40px;
		line-height: 1em;
	}

	.hero h2{
		margin-bottom: 10px;
	}

	.hero h3{
		font-size: 24px;
	}

	.hero a.btn{
		padding: 15px 40px;
	}

}



/*----------------------
 	Features Section
----------------------*/

.features{
	background-color: #fff;
}

.features p{
	text-align: center;
	width: 100%;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}


@media (max-width: 1000px){

	.features .grid li{
		flex-basis: 70%;
		margin-bottom: 65px;
	}

	.features .grid li:last-child{
		margin-bottom: 0;
	}

}


@media (max-width: 600px){

	.features .grid li{
		flex-basis: 100%;
	}

}



/*--------------------
 	Reviews Section
--------------------*/

.reviews{
	background-color: #fff;
}

.reviews .quote{
	text-align: center;
	width: 80%;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}

.reviews .author{
    font-size: 18px;
    margin-bottom: 50px;
}

.reviews .author:last-child{
    margin-bottom: 0;
}

@media (max-width: 1000px){

	.reviews .quote{
		font-size: 20px;
	}

	.reviews .author{
	    font-size: 16px;
	}

}



/*---------------------
 	Contact Section
---------------------*/

.contact{
	background-color: #f7f7f7;
}

.contact form{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	max-width: 800px;
	width: 80%;
}

.contact form input{
	padding: 15px;
	flex: 1;
	margin-right: 30px;
	font-size: 18px;
	color: #555;
}

.contact form .btn{
	padding: 18px 42px;
}


@media (max-width: 800px){

	.contact form input{
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}

}




/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	background-color: #414a4f;
	padding: 60px 0;
}

footer ul{
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

footer ul li{
	margin: 0 8px;	
}

footer ul li:first-child{
	margin-left: 0;	
}

footer ul li:last-child{
	margin-right: 0;	
}

footer p{
	text-transform: uppercase;
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	margin-bottom: 10px;
}

footer p a{
	color: #fff;
}

@media (max-width: 700px){

	.arrow{
		display:none;
	}

	.logo{
		max-width: 50px;
		margin-top: 20px;
	}

	.brand{
		margin-top: 10px;
		padding: 0;
	
	}
	
	h1{
		margin-top: 80px;
		font-size: 10px;
		
	}

	footer{
		padding: 30px 15px;
	}

}



#underline {
    margin: 0 auto 5px;
    background-image: url('data:image/svg+xml,%3Csvg   xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" viewBox="0 0 6 4" width="12" height="10"%3E%3Cpath fill="none" stroke="darkseagreen" stroke-width="2" stroke-linecap="square" d="M0 1 A 2 2 0 0 1 3 1 M3 1 A 2 2 0 0 0 6 1"/%3E%3C/svg%3E');
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: 0.3em auto;
    animation: scrollBackground linear infinite 0.5s;
}
@keyframes scrollBackground {
	from {
	  background-position: 0.3em 100%;
	}
	to {
	  background-position: 0em 100%;
	}
  }

  .wave-bottom {
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIwIDE1MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PGcgZmlsbD0iI0ZGRkZGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTkyMCA5Mi40MWMtMTcxLjgyMS00Ny4wMDgtMzAwLjM1NC02My4zOTYtMzg1LjU5OC00OS4xNjItMTI3Ljg2NyAyMS4zNS0yNTUuNzM0IDY0LjA1MS0zODMuNiA0OS43NzNDMTAyMi45MzMgNzkuMjc3IDg5NS4wNjcgNy4yMTkgNzY3LjIuNTQ3IDYzOS4zMzQtNi4xMjUgNTExLjQ2NyA0OS45MiAzODMuNiA3OC44NzdjLTEyNy44NjcgMjguNDIyLTI1NS43MzQgMjguNDIyLTMxOS42NjggMjguNDIyTDAgMTEzdjM3aDE5MjBWOTIuNDF6IiBvcGFjaXR5PSIuMTQ5Ii8+PHBhdGggZD0iTTAgOTIuNDFjMTcxLjgyMS00Ny4wMDggMzAwLjM1NC02My4zOTYgMzg1LjU5OC00OS4xNjIgMTI3Ljg2NyAyMS4zNSAyNTUuNzM0IDY0LjA1MSAzODMuNiA0OS43NzNDODk3LjA2NyA3OS4yNzcgMTAyNC45MzMgNy4yMTkgMTE1Mi44LjU0N2MxMjcuODY3LTYuNjcyIDI1NS43MzQgNDkuMzczIDM4My42IDc4LjMzIDEyNy44NjcgMjguNDIyIDI1NS43MzQgMjguNDIyIDMxOS42NjggMjguNDIySDE5MjBWMTUwSDBWOTIuNDF6IiBvcGFjaXR5PSIuMjk2Ii8+PHBhdGggZD0iTTAgMTEyYzE3MS44MjEtMzEuMDMyIDMwMC4zNTQtNDEuODUgMzg1LjU5OC0zMi40NTcgMTI3Ljg2NyAxNC4wOTIgMjU1LjczNCA0Mi4yNzQgMzgzLjYgMzIuODUgMTI3Ljg2OC05LjA3IDI1NS43MzQtNTYuNjI5IDM4My42MDEtNjEuMDMyIDEyNy44NjctNC40MDQgMjU1LjczNCAzMi41ODYgMzgzLjYgNTEuNjk3IDEyNy44NjcgMTguNzYgMjU1LjczNCAxOC43NiAzMTkuNjY4IDE4Ljc2SDE5MjBWMTUwSDB2LTM4eiIvPjwvZz48L3N2Zz4=);
    width: 100%;
    height: 100px;
    background-size: 100% 100px;
}

small{
	font-size: 12px;
	margin-top: 15px;
	text-align: center;
	line-height: 1.5em;
}

.square{
	border: 1px;
	border-style: solid;
	border-color: #5e6a707c;
	margin: 20px auto;
	padding: 20px;
	border-style: dashed;
}