@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;700&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Anuphan", sans-serif !important;
	scroll-behavior: smooth;
	list-style: none;
	text-decoration: none !important;
}
header{
	width: 80%;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	border-radius: 0 0 10px 10px;
	margin: 0 auto;
}
.logo a{
	color: #000;
	font-weight: 700;
	font-size: 2.0rem;
}
nav{
	margin-top: 17px
}
nav .logo{
	display: none;
}
nav ul{
	display: flex;
}
nav ul li a{
	color: #000;
	display: block;
	margin: 0 2px;
	font-size: 1.1rem;
	padding: 10px 20px;
	font-weight: 500;
	border-radius: 1.5rem;
}
nav ul li a:hover{
	color: #fff;
	transition-duration: 0.3s;
	background: #2A4F96;
}
.hamburger{
	display: none;
	height: fit-content;
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 1.5rem;
	transition: 0.3s;
}
.hamburger:hover{
	background: #e0e0e0;
}
.hamburger div {
	width: 30px;
	height: 2px;
	margin: 6px 0;
	background: #000;
}
@media only screen and (max-width: 1100px) {
	header{
		width: 90%;
		padding: 0 20px;
	}
	nav{
		position: absolute;
		left: -300px;
		top: 0;
		z-index: 999;
		width: 280px;
		height: 100vh;
		background-color: #fff;
		transition: 0.3s;
		box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
	}
	#nav_check:checked ~ nav{
		left: 0;
	}
	nav .logo{
		display: block;
		height: 70px;
		display: flex;
		align-items: center;
		margin-left: 30px;
	}
	nav ul li a{
		margin-bottom: 5px;
		padding: 10px 15px;
		border-radius: 5px;
	}
	nav ul{
		display: block;
		padding: 0 20px;
		margin-top: 30px;
	}
	.hamburger{
		display: block;
	}
}

section{
	padding: 90px 13%;
}
.home{
	width: 100%;
	min-height: 80vh;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1.5rem;
	align-items: center;
}
.home-img img{
	max-width: 100%;
	width: 600px;
	height: auto;
	margin-top: -30px;
}
.home-text h1{
	font-size: 3.0rem;
	font-weight: 700;
	margin-top: -80px;
	text-align: center;
}

.explain{
	width: 100%;
	min-height: 80vh;
	margin-top: -150px;
}
.explain p{
	color: #707070;
	line-height: 1.7;
}
.explain-2{
	margin-top: 30px;
}

.types{
	margin-top: -100px;
}
.heading h2{
	font-size: 2.0rem;
	font-weight: 700;
	letter-spacing: 1px;
	margin-top: -100px;
}
.heading h4{
	font-size: 1.0rem;
	font-weight: 400;
	margin-top: 1.0rem;
	color: #707070;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.symptoms{
	margin-top: 50px;
}
.col{
	background-color: #A3BEE4;
	border-radius: 0.8rem;
	padding: 20px;
	margin-right: 20px;
}
.psychological-symptom{
	text-align: left;
	color: #fff;
}
.physical-symptom{
	text-align: left;
	color: #fff;
}

.about{
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	grid-gap: 1.5rem;
	align-items: center;
	margin-top: -50px;
}
.about-img img{
	max-width: 100%;
	width: 600px;
	height: auto;
	margin-left: -0.88rem;
}
.about-text h2{
	font-size: 2.0rem;
	font-weight: 700;
	letter-spacing: 1px;
	margin: 1.0rem 0 0rem 0.8rem;
}
.about-text p{
	color: #707070;
	line-height: 1.7;
	margin: 1.8rem 0 1.8rem 0.8rem;
	font-weight: 400;
}
.behavior{
	color: #707070;
	font-weight: 400;
	margin-top: -10px;
}


.test{
	padding: 70px 0;
	text-align: center;
	width: 66%;
	margin: 5px auto;
	border-radius: 0.8rem;
	border-style: dashed;
	border-color: #2A4F96;
	border-width: medium;
}
.test h4{
	color: #707070;
	font-weight: 400;
	font-size: 1.1rem;
	margin-top: 0.5rem;
}
.test h2{
	font-size: 2.0rem;
	color: #000;
	font-weight: 700;
}
.cta-btn{
	display: inline-block;
	padding: 10px 20px;
	border: #000 solid 1.5px;
	border-radius: 1.5rem;
	color: #000;
	margin: 1.0rem 0rem 0rem 0rem;
}
.cta-btn:hover{
	transform: scale(1.1) translateY(5px);
	transition: 0.3s;
	background-color: #2A4F96;
	color: #fff;
	border: none;
}

#contact{
	margin-top: 50px;
}
.main{
	display: flex;
	flex-wrap: wrap;
}
.footer{
	padding: 10px 0;
}
.col01{
	width: 25%;
}
.col01 h4{
	font-size: 1.1rem;
	margin-bottom: 25px;
	position: relative;
}
.col01 h4::before{
	content: "";
	position: absolute;
	height: 2px;
	width: 50px;
	left: 0;
	bottom: -8px;
	background: #2A4F96;
}
.col01 ul li:not(last-child) {
	margin-bottom: 15px;
}
.col01 ul li a{
	color: #707070;
	display: block;
	transition: 0.4s;
	margin-left: -30px;
}
.col01 ul li a:hover{
	color: #2A4F96;
	transform: translateX(10px);
}
.col01 .social{
	width: 220px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.col01 .social a{
	height: 40px;
	width: 40px;
	background: #D8D8D8;
	color: #000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	border-radius: 50%;
	transition: 0.4s;
}
.col01 .social a:hover{
	background: #2A4F96;
	color: #fff;
	transform: scale(1.2);
}

@media (max-width: 1560px) {
	header{
	padding: 15px 40px;
	}
	:root {
		--big-font:3.5rem;
		--h1-font:2.0rem;
	}
}

@media (max-width: 1140px) {
	section{
		padding: 50px 8%;
	}
	#menu-icon{
		display: initial;
		color: #000;
	}
	header .navbar{
		position: absolute;
		top: -400px;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		text-align: center;
		background: #707070;
		transition: 0.3s;
	}
	header .navbar .active{
		top: 70px;
	}
	.navbar a{
		padding: 1.5rem;
		display: block;
	}
	.col01{
		width: 50%;
		margin-bottom: 10px;
	}
}

@media (max-width: 720px) {
	header{
		padding: 10px 16px;
	}
	.home{
		grid-template-columns: 1fr;
		text-align: center;
	}
	.about{
		grid-template-columns: 1fr;
		text-align: center;
	}
	.about-img{
		order: 2;
	}
	section{
		padding: 100px 7%;
	}
}

@media (max-width: 575px) {
	.col01{
		width: 100%;
	}
}


