@import url("https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Battambang", cursive;
}

.hidden {
  display: none !important;
}

.main {
  min-height: 100vh;
}

.header {
  background-color: #004587;
  height: 150px;
  text-align: center;
  color: white;
  padding: 20px 0;
}

.tab-bar {
  display: flex;
  height: 60px;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}

.tab-bar .tab-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 40px;
  margin: 0 10px;
  background-color: #009ed6;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.tab-bar .tab-item:hover {
  background-color: #ee712a;
}

.tab-bar .tab-item a {
  text-decoration: none;
  color: white;
  text-align: center;
}

.bigbook {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.section-grade-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-bottom: 100px;
}

.bigbook a {
  text-decoration: none;
  color: #004587;
}

.bigbook a:hover {
  color: #ee712a;
}

.bigbook .items {
  width: 340px;
  height: 260px;
  background-color: #004587;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 6px;
  text-align: center;
  margin: 60px 10px;
  border-radius: 4px;
  border: 1px solid #004587;
}

.bigbook .items img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.bigbook .items img:hover {
  border: 2px solid #ee712a;
}

.bigbook .items p {
  color: #004587;
  font-size: 1.5rem;
}

span {
  font-weight: 400;
  font-size: 0.8rem;
  color: white;
  background-color: #004587;
  width: 120px;
  height: 60px;
  padding: 0 4px;
  border-radius: 2px;
}

.bold-text {
  font-weight: 700;
  color: #004587;
  background-color: transparent;
}

@media screen and (max-width: 1300px) {
  .bigbook .items {
    width: 280px;
  }
}
