@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Dosis:wght@200..800&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Dosis:wght@200..800&family=EB+Garamond:ital,wght@0,400..800;1,400..800&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=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  text-decoration: none;
}

nav {
  background-color: #fff;
}

nav .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .box .icon-box {
  width: 25%;
}

nav .box .icon-box img {
  width: 100%;
  height: auto;
}

nav .box ul {
  gap: 2rem;
}

nav .box ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav .box ul li>span {
  width: 0;
  height: 2px;
  background: #cd9e56;
  transition: all 0.3s linear;
}

nav .box ul li:hover span {
  width: 100%;
}

nav .box ul a {
  transition: all 0.2s linear;
  text-decoration: none;
  color: black;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0 0 5px 0;
}

nav .box ul a:hover {
  color: #cd9e56;
}

header.header {
  height: 100vh;
}

header.header .header_item {
  background: url("../img/page_m.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

header.header .header_item .main_text h2 {
  font-size: 45px;
  line-height: 1.3;
  font-family: "EB Garamond", sans-serif;
  color: #000;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  text-shadow: 5px 5px 2px #f7f7f7;
}

header.header .header_item .read_more {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
}

header.header .header_item .read_more .read_item {
  transition: all 0.2s linear;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background: #D1C3B6;
  border: none;
  outline: none;
  border-radius: 1rem;
  color: #535049;
  text-decoration: none;
}

header.header .header_item .read_more .read_item:hover {
  transform: scale(1.1);
}

header.header .header_item .read_more .read_item i {
  padding-right: 10px;
}

header.header .header_item .read_more .read_item h6 {
  margin: 0;
}

.info-box {
  background: #DAD5D1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px #ccc;
}

.info-box .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-box .box .img-box {
  width: 45%;
}

.info-box .box .img-box img {
  width: 100%;
  border-radius: 3rem 0 3rem 0;
  box-shadow: 5px -5px 20px 0 #b5b5b5;
}

.info-box .box .text-box h2 {
  font-family: "Arvo";
  font-size: 3rem;
  color: #535049;
  font-weight: 600;
  text-shadow: 4px 4px 3px #a7a7a7;
  text-transform: capitalize;
}

.info-box .box .text-box p {
  font-family: "Dosis";
  font-size: 1.05rem;
  color: #000;
  font-weight: 500;
  text-align: justify;
  text-transform: capitalize;
}

.information {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.information .title {
  text-align: center;
}

.information .title h2 {
  font-size: 3rem;
  color: #2b385d;
  font-family: "Arvo";
}

.information .card-box .next-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.information .card-box .next-box .text-box {
  text-align: justify;
  align-self: center;
}

.information .card-box .next-box .text-box .title-box {
  align-items: center;
  margin: 2rem;
}

.information .card-box .next-box .text-box .title-box h3 {
  color: #000;
  font-size: 2rem;
}

.information .card-box .next-box .carousel {
  position: relative;
  width: 550px;
  height: 400px;
  overflow: hidden;
  box-shadow: 2px 2px 10px #ccc;
  background: #fff;
  padding: 0;
}

.information .card-box .next-box .carousel .carousel-images {
  display: flex;
  transition: all 0.5s ease;
  width: 590px;
}

.information .card-box .next-box .carousel .carousel-images img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.information .card-box .next-box .carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

.information .card-box .next-box .carousel button.prev {
  left: 10px;
}

.information .card-box .next-box .carousel button.next {
  right: 10px;
}

.news {
  padding-top: 2rem;
  height: 100vh;
  margin-bottom: 5rem;
}

.news .container .title {
  text-align: center;
  margin-bottom: 2rem;
}

.news .container .title h1 {
  font-size: 3rem;
  font-family: "Kanit";
  font-weight: 600;
  letter-spacing: 5px;
  word-spacing: 5px;
  color: #2b385d;
}

.news .container .box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.map-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #DAD5D1;
}

.map-box h2 {
  color: #2b385d;
  font-size: 3rem;
  font-family: "Dosis";
  margin: 3rem 0 2rem 0;
  font-weight: 700;
}

.map-box span {
  padding-bottom: 3rem;
}

.about-box {
  height: 300px;
  align-content: center;
}

.about-box .container .title {
  margin: 2rem 1rem;
}

.about-box .container .title h2 {
  color: black;
  font-family: "Poppins";
  font-size: 50px;
}

.about-box .container .text {
  margin: 2rem 1rem;
}

.about-box .container .text p {
  text-align: justify;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  color: black;
}

footer {
  background-color: #2c3e50;
  color: #fff;
  padding-top: 40px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 0px;
  width: 200px;
  height: 200px;
  background: rgba(231, 76, 60, 0.3);
  border-radius: 50%;
  z-index: 0;
}

footer::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0px;
  width: 300px;
  height: 300px;
  background: rgba(231, 76, 60, 0.3);
  border-radius: 50%;
  z-index: 0;
}

footer .footer-container {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  text-align: start;
}

footer .footer-container .footer-section {
  flex: 1;
  margin: 20px;
}

footer .footer-container .footer-section h3 {
  color: #e74c3c;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

footer .footer-container .footer-section p,
footer .footer-container .footer-section ul,
footer .footer-container .footer-section li {
  font-size: 1.2rem;
  line-height: 1.6;
}

footer .footer-container .footer-section ul {
  list-style: none;
}

footer .footer-container .footer-section ul li a {
  text-decoration: none;
  color: #fff;
  margin-bottom: 10px;
  display: block;
  font-size: 1.2rem;
}

footer .footer-container .footer-section ul li a:hover {
  color: #e74c3c;
  transition: color 0.3s ease;
}

footer .footer-container .footer-section p {
  font-size: 1.1rem;
}

footer .footer-section.about p {
  font-size: 1.3rem;
}

footer .footer-section.contact p {
  font-size: 1.2rem;
}

footer .footer-section.contact p i {
  margin-right: 10px;
  margin-bottom: 20px;
  color: #e74c3c;
  font-size: 1.5rem;
}

footer .footer-bottom {
  background-color: #233140;
  padding: 15px;
  font-size: 1rem;
  color: #ccc;
  margin-top: 20px;
}

.header-1 {
  background: url("../img/img.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80vh;
  color: white;
  text-align: left;
  padding: 50px;
  font-size: 2em;
  display: flex;
  align-items: center;
}

.header-1 .header-content {
  margin-left: 20px;
}

.header-1 .header-content .main-title {
  font-size: 3em;
  font-weight: bold;
}

.header-1 .header-content .sub-title {
  font-size: 1.2em;
  margin-top: 10px;
  font-weight: 400;
}

.news-section {
  padding: 20px;
}

.news-section h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
  text-align: center;
}

.news-section .news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-section .news-cards .card {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.2em;
}

.page {
  text-align: center;
  background: url("../img/img-org.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 85vh;
  align-content: center;
  justify-items: center;
}

.page .text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page .text-box .h1 span {
  font-size: 15rem;
  color: #8fa8a8;
  margin: 0;
  padding: 0;
  font-family: "Roboto";
  font-weight: 800;
  line-height: 10px;
}

.page .text-box .h1 p {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  font-family: Bold;
  font-weight: 700;
  color: #274c5b;
  text-align: end;
}

.page p {
  font-size: 1rem;
  font-family: Bold;
  font-weight: 700;
  color: #274c5b;
  text-align: center;
}

.page .btn-box {
  display: flex;
  justify-content: end;
  align-items: end;
}

.page .btn-box div {
  padding: 1rem 4rem;
  margin-top: 2rem;
  border-radius: 10px;
  background-color: #274c5b;
  color: #fff;
  outline: none;
  border: none;
  font-family: "dosis";
  font-size: 1.2rem;
  text-align: center;
}

.page .btn-box div:active {
  padding: 1.2rem 4.2rem;
  transition: all 0.2s linear;
  background-color: #274c5b;
}

.page .btn-box div:active a {
  color: #fff;
}

.page .btn-box div i {
  padding: 5px;
  border-radius: 50%;
  background-color: #335b6b;
  font-size: 10px;
  margin-left: 20px;
}

.news-title {
  margin-top: 5rem;
  text-align: center;
}

.news-title h2 {
  font-size: 3rem;
  color: #2c3e50;
  font-weight: 600;
  font-family: "arvo";
  text-align: center;
  letter-spacing: 10px;
}

.news .news-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.news .news-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.news .news-card h2 {
  font-size: 1.5rem;
  margin-top: 10px;
  font-family: "dosis";
}

.news .news-card p {
  font-size: 1rem;
  color: #555;
}

.news .news-card a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
}

.news .news-card:hover {
  transform: translateY(-5px);
}

.page-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 3rem;
  gap: 20px;
  height: auto;
}

.log-box {
  height: 100vh;
  padding: 30px;
  background: url("../img/login.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.log-box .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.log-box .container .box {
  z-index: 1;
}

.log-box .container .box .register_item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.log-box .container .box h2 {
  color: #fff;
  font-size: 3rem;
  margin: 2rem;
}

.log-box .container .box .form-group {
  margin-bottom: 15px;
}

.log-box .container .box .form-group input {
  width: 300px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.log-box .container .box .form-group input:focus {
  border-color: #4a90e2;
  outline: none;
}

.log-box .container .box a {
  color: #fff;
}

.log-box .container .box a i {
  color: #fff;
  font-size: 1rem;
  margin-right: 0.1rem;
  text-decoration: underline;
  padding-bottom: 10px;
  letter-spacing: 10px;
}

.log-box .container .box a i:hover {
  color: #007bff;
}

.log-box .container .box .submit-btn {
  width: 200px;
  padding: 12px;
  background-color: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0.5rem 0;
}

.log-box .container .box .submit-btn:hover {
  background-color: #2275d7;
  cursor: pointer;
}

.log-box .container .box .submit-btn .submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #4a90e2;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.log-box .container .box .toggle-button {
  color: #fff;
  cursor: pointer;
  margin-top: 15px;
  font-size: 14px;
  text-decoration: underline;
}

.log-box .container .box .toggle-button:hover {
  color: #007bff;
}

.log-box .container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(31, 39, 50, 0.8117647059);
  width: 100%;
  height: 100%;
  z-index: 0;
}

.header_l {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 15px 0;
}

.header_l .container {
  width: 90%;
  max-width: 1000px;
  margin: 20px auto;
}

.header_l .description {
  text-align: center;
  margin-bottom: 20px;
}

.header_l .search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.header_l .search-bar input,
.header_l .search-bar select {
  padding: 10px;
  font-size: 16px;
  flex: 1;
}

.header_l .search-bar button {
  padding: 10px 15px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.header_l .search-bar button:hover {
  background-color: #45a049;
}

.header_l .book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  list-style-type: none;
  padding: 0;
}

.header_l .book-item {
  background-color: white;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.header_l .book-title {
  font-size: 18px;
  font-weight: bold;
}

.header_l .book-author {
  color: #666;
}

.header_l .book-genre {
  font-size: 14px;
  font-style: italic;
  color: #777;
}

/*# sourceMappingURL=style.css.map */