@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@200;300;400;500;600;800&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Prompt', sans-serif;
}

.container {
	max-width: 1170px;	/* กำหนดความกว้าง */
	margin: 0 auto;		/* จัดกึ่งกลางให้กับหน้าเว็บ element ที่อยู่ใน container จะอยู่ตรงกลาง */
}



/*--- nav bar ---*/
nav {
	background-color: #ad1457;
	color: #fff;
	height: 80px;
}

.nav-con {
	display: flex;
	justify-content: space-between;
	height: 80px;
	align-items: center;
}

ul.menu {
	display: flex;
	list-style: none;
}

ul.menu li { 
	margin: 0 1rem; /* บนล่าง ซ้ายขวา */
}

ul.menu li a {
	color: #fff;
	text-decoration: none;
}
/*--- nav bar ---*/



/*--- banner section ---*/
.banner {
	height: 600px;
	/*background-color: antiquewhite;*/
	display: flex;
	justify-content: center;
	align-items: center;
	background: url("exhibition-65/pic/IMG_0811.JPG");
	background-position: center;
	background-size: cover;
}

.widget-wrap {		/* bg ตัวหนังสือ */
	width: 1000px; 
	padding: 50px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.7);
}

.banner-info {
	text-align: center;
	color: #2D2D2B;
}

.banner-info h1 {
	font-size: 2.5rem;
	text-shadow: 2px 2px #6E7376;
}

.banner-info p {
	font-weight: 500;
	font-size: 1.5rem;
	text-shadow: 2px 2px 2px #757575;
}
/*--- banner section ---*/



/*--- blog section ---*/
.blog {
	background: #fce4ec;
	height: auto;
	padding: 2rem 0;
}
 
.blog-title {
	text-align: center;
}

.blog-title h2 {
	color: #2D2D2B;
	font-size: 2rem;
}

.blog-posts {
	margin: 2rem 2rem;
	display: grid;
	grid-template-columns: auto auto auto auto;
	grid-gap: 2rem;
}

.blog-posts img {
	width: 100%;
	cursor: pointer;
	transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.blog-posts img:hover {
	transform: scale(1.5);
}
/*--- blog section ---*/



/*--- footer section ---*/
footer {
	height: auto;
	background: #f8bbd0;
	padding: 3rem 3rem;
}

.footer-con {
	margin: 1rem 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 2rem;
	color: #2D2D2B;
}

.footer-items img{
	width: 30%;
	border-radius: 50%;
}

.footer-items h3 {
	margin-bottom: 1.5rem;
}

.footer-items ul {
	list-style: none;
}

.footer-items ul li{
	/*line-height: 30px;*/
	margin: 1rem 0;
	word-break: break-word;
}

.footer-items a {
	color: #2D2D2B;
	text-decoration: none;	
}

.footer-items .bi-houses,
.footer-items .bi-envelope,
.footer-items .bi-telephone-fill,
.footer-items .bi-facebook {
	color: #ad1457;
	margin: .5rem;
}
/*--- footer section ---*/




