/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
* {
	box-sizing: border-box;
}
html {
	width: 100%;
	height: 100%;
	scroll-behavior: smooth;
}
body {
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: "Kanit";
}
#logo {
	position: fixed;
	top: 120px;
	width: 14%;
	text-align: center;
	z-index: 110;
}
#nav-ham {
	position: absolute;
	top: 26px;
	right: 4%;
	z-index: 101;
	display: none;
}
#nav-close {
	position: absolute;
	top: 26px;
	right: 4%;
	display: none;
	z-index: 101;
	display: none;
}
#nav-l {
	position: fixed;
	top: 83px;
	right: 0%;
	width: 14%;
	text-align: center;
	display: grid;
	justify-items: center;
}
#nav-s {
	position: fixed;
	top: -71px;
	width: 100%;
	height: 71px;
	background-color: white;
	border-bottom: thin solid hsla(0, 0%, 91%, 1.00);
	z-index: 100;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
}
.nav-item {
	font-family: "Bebas Neue";
	width: fit-content;
	padding: 5px;
	border-bottom: thin solid #00AEEB;
}
.nav-item a {
	text-decoration: none;
	color: #333;
}
.nav-item a:hover {
	color: #00AEEB;
}
h1 {
	font-family: "Bebas Neue";
	font-size: 42px;
	border-bottom: thick solid #00AEEB;
	padding: 0px;
}
h2 {
	font-family: "Bebas Neue";
	font-size: 32px;
	padding: 0px;
}
h3 {
	font-family: "Bebas Neue";
	padding: 0px;
}
.page-grid {
	display: grid;
	grid-template-columns: 14% 72% 14%;
	border-bottom: thin solid hsla(0, 0%, 91%, 1.00);
	margin-bottom: 27px;
}
.page-head {
	border-right: thin solid hsla(0, 0%, 91%, 1.00);
	background-position: center;
	background-size: cover;
}
.page-head-overlay {
	padding: 100px;
}
.page-row {
	border-top: thin solid hsla(0, 0%, 91%, 1.00);
}
.page-col-3 {
	display: grid;
	grid-template-columns: 33.33fr 33.33fr 33.33fr;
}
.page-col-2 {
	display: grid;
	grid-template-columns: 50% 50%;
}
.page-col-1 {
	display: grid;
	grid-template-columns: 100%;
}
.page-row .grid-item {
	text-align: center;
	border-right: thin solid hsla(0, 0%, 91%, 1.00);
}
.page-border-l {
	border-right: thin solid hsla(0, 0%, 91%, 1.00);
}
.page-border-r {
}
.port-grid {
	display: grid;
	grid-gap: 15px;
}
.port-col-3 {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: 33.33fr 33.33fr 33.33fr;
}
.port-item {
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
}
.motto {
	width: 100%;
	padding: 35px 0px;
	font-family: "Bebas Neue";
	text-align: center;
	color: #00AEEB;
}
.motto-bar-grid {
	grid-column: span 3;
	display: grid;
	grid-template-columns: 20% 20% 20% 20% 20%;
}
.motto-bar-grid div {
	padding-top: 3px;
	font-family: "Bebas Neue";
	font-size: 14px;
	text-align: center;
	color: white;
}
.footer-grid {
	display: grid;
	grid-template-columns: 14fr 72fr 14fr;
}
.footer-row {
	width: 100%;
}
.footer-col-3 {
	display: grid;
	grid-template-columns: 33.33fr 33.33fr 33.33fr;
}
.footer-grid .grid-item {
	padding: 20px 0px;
	background-color: #00AEEB;
	color: white;
	text-align: center;
}
.footer-grid a {
	text-decoration: none;
	color: white;
}
.span-col-2 {
	grid-column: span 2;
}
.span-col-3 {
	grid-column: span 3;
}
.txt-40 {
	font-size: 40px;
}
.txt-20 {
	font-size: 20px;
}
.txt-16 {
	font-size: 16px;
}
.txt-14 {
	font-size: 14px;
}
.txt-w100 {
	font-weight: 100;
}
.txt-w200 {
	font-weight: 200;
}
.container-center {
	display: grid;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.home-grid {
	position: fixed;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 101% 0% 0%;
	align-items: center;
	justify-items: center;
	animation-name: home;
	animation-delay: 2s;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
}
.home-logo-container {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-rows: 50% 50%;
	align-items: center;
	justify-items: center;
}
.home-logo {
	display: grid;
	justify-items: center;
	align-items: center;
	width: 100%;
	height: 100%;
	animation-name: home-logo;
	animation-duration: 1.5s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
}
.home-motto {
	display: grid;
	justify-items: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 10px;
	background-position: center;
	background-size: cover;
	background-image: url("../images/home.jpg");
	color: white;
	font-family: "Bebas Neue";
	font-size: 40px;
	text-align: center;
	text-shadow: 1px 1px 8px #333;
}
.home-nav-container {
	width: 100%;
	height: 100%;
	background-color: #444;
	display: grid;
	align-items: center;
	justify-items: center;
}
.home-nav {
	text-align: center;
	display: grid;
	justify-items: center;
}
.home-nav .nav-item {
	font-family: "Bebas Neue";
	font-size: 32px;
	width: fit-content;
	padding: 5px;
	border-bottom: thin solid #00AEEB;
}
.home-nav .nav-item a {
	text-decoration: none;
	color: #FFF;
}
.home-nav .nav-item a:hover {
	color: #00AEEB;
}
#home-copy {
	position: absolute;
	bottom: 10px;
	color: #FFF;
	opacity: 0.5;
	font-size: 12px;
}
#contact-container {
	position: fixed;
	bottom: -200%;
	width: 100%;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
}
@keyframes home {
	from {
		grid-template-columns: 100% 0% 0%;
	}
	to {
		grid-template-columns: 25% 25% 50%;
	}
}
@keyframes home-logo {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes show-contact {
	from {
		bottom: -200%;
	}
	to {
		bottom: 0px;
	}
}
@keyframes hide-contact {
	from {
		bottom: 0px;
	}
	to {
		bottom: -200%;
	}
}
@keyframes show-nav {
	from {
		top: -200%;
	}
	to {
		top: 0px;
	}
}
@keyframes hide-nav {
	from {
		top: 0px;
	}
	to {
		top: -200%;
	}
}
@media only screen and (max-width: 768px) {
	#logo {
		top: 15px;
		left: 0%;
	}
	#logo img {
		height: 40px;
	}
	#nav-ham {
		display: block;
	}
	#nav-l {
		top: -200%;
		right: 0px;
		width: 100%;
		height: 100%;
		text-align: center;
		display: grid;
		align-content: center;
		background-color: #CCC;
		font-size: 48px;
		animation-duration: 0.5s;
		animation-fill-mode: forwards;
		animation-timing-function: ease-in-out;
	}
	#nav-s {
		top: 0px;
	}
	.page-grid {
		width: 100%;
		grid-template-columns: 4fr 92fr 4fr;
		margin-top: 70px;
		margin-bottom: 27px;
	}
	.page-col-3 {
		grid-template-columns: 100%;
	}
	.page-col-2 {
		grid-template-columns: 100%;
	}
	.page-col-1 {
		grid-template-columns: 100%;
	}
	.footer-grid {
		grid-template-columns: 4fr 92fr 4fr;
	}
	.footer-col-3 {
		grid-template-columns: 100%;
	}
	.home-grid {
		grid-template-columns: 100%;
		grid-template-rows: 102% 0% 0%;
		align-items: center;
		justify-items: center;
	}
	.home-motto {
		font-size: 26px;
	}
	.home-nav-container {
		padding-bottom: 30px;
	}
	@keyframes home {
	from {
		grid-template-rows: 102% 0% 0%;
	}
	to {
		grid-template-rows: 20% 20% 60%;
	}
}
}
@media only screen and (max-width: 430px) {
	.port-col-3 {
		grid-template-columns: 50fr 50fr;
	}
}