/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	vertical-align: middle;
	max-width: 100%;
}

a {
	text-decoration: none;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Noto Sans Thai', sans-serif;
	font-weight: 300;
	font-size: 16px;
	background-color: #F3FAFC;
	background-image: url(../img/bg-top.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
	font-weight: 500;
}

.btn {
	background-color: #f8a700;
	color: #fff;
}

.catelog-box {
	padding: 40px;
}

.catelog-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media ( min-width: 600px ) {
	.catelog-list {
		grid-template-columns: repeat(2,1fr);
	}
}

@media ( min-width: 900px ) {
	.catelog-list {
		grid-template-columns: repeat(3,1fr);
	}
}

@media ( min-width: 1200px ) {
	.catelog-list {
		grid-template-columns: repeat( 4, 1fr );
	}
}

@media ( min-width: 1500px ) {
	.catelog-list {
		grid-template-columns: repeat( auto-fill, minmax(300px, 1fr) );
	}
}

.catelog-item {
	text-align: center;
	background: #fff;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	padding-bottom: 32px;
}

.catelog-item .cover {
	margin-bottom: 16px;
}

.catelog-item .title {
	font-size: 1.25rem;
	line-height: 1.4;
	padding-inline: 8px;
}

.catelog-item .title a {
	color: #f8a700;
	transition: all 0.5s ease;
	text-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
		0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.catelog-item .title a:hover {
	color: #000;
}

.catelog-item .button {
	margin-top: 32px;
}

.catelog-item .button a {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 4px;
	transition: all 0.5s ease;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.catelog-item .button .btn:hover {
	background-color: #000;
}
