* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  min-height: 100vh;
  background-color: #1a1a1a;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  padding-top: 77px;
  padding-bottom: 248px;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(84, 84, 84, 0.48);
  z-index: 9;
}
.header-content,
.footer-content,
.main-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
}
.logo-area {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: rgba(255, 255, 255, .87);
  white-space: nowrap;
  text-decoration: none;
  margin: 0;
}
.logo-area img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.hero-area {
  text-align: center;
  margin-bottom: 50px;
}
.main-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-text-fill-color: transparent;
  background: -webkit-linear-gradient(315deg, rgb(66, 211, 146) 25%, rgb(100, 126, 255)) text;
  color: rgba(66, 211, 146, 0.25);
  padding: 0 40px;
  margin-bottom: 20px;
}
.main-desc {
  font-size: 24px;
  color: rgba(235, 235, 235, .6);
  line-height: 1.5;
  padding: 0 80px;
}
.search-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 26px auto 0;
}
.search-input {
  width: 100%;
  padding: 10px;
  padding-right: 34px;
  border-radius: 10px;
  font-size: 18px;
  color: rgba(255, 255, 255, .87);
  outline: none;
  box-sizing: border-box;
  background: linear-gradient(#2f2f2f, #2f2f2f) padding-box, linear-gradient(rgba(235, 235, 235, .6), rgba(235, 235, 235, .6)) border-box;
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
  border-image: initial;
}
.search-input:focus {
  background: linear-gradient(#2f2f2f, #2f2f2f) padding-box, linear-gradient(45deg, #42d392, #647eff) border-box;
}
.search-button {
  position: absolute;
  top: 2px;
  right: 0;
  padding: 9px;
  background-color: transparent;
  border: none;
  font-size: 18px;
  pointer-events: none;
}
.search-icon {
  width: 22px;
  height: 22px;
  color: rgba(235, 235, 235, .6);
}

.category-section + .category-section {
  margin-top: 40px;
}
.category-section h2 {
  font-size: 28px;
  color: rgba(255, 255, 255, .87);
  margin-bottom: 20px;
}
.card-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  background-color: #242424;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  font-size: 18px;
  color: rgba(255, 255, 255, .87);
  transition: transform 0.2s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
}

.card .img-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.img-box >img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-title {
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.5;
  padding-right: 30px;
}
.card-description {
  font-size: 16px;
  color: rgba(235, 235, 235, .6);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-date {
  font-size: 12px;
  color: rgba(235, 235, 235, .6);
  margin-top: 8px;
}
.link-detail {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, .87);
}
.link-website {
  position: absolute;
  right: 10px;
  top: 5px;
  margin-top: 56.25%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(235, 235, 235, .6);
  padding: 10px;
  transition: color 0.3s ease;
}
.link-website:hover {
  color: #ffffff;
}
.link-website >svg {
  width: 100%;
  height: 100%;
}

.no-results {
  text-align: center;
  padding: 20px;
  color: rgba(235, 235, 235, .6);
  font-size: 20px;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #242424;
  padding: 30px;
}
.footer-content {
  color: rgba(255, 255, 255, .87);
  font-size: 16px;
  text-align: center;
  margin-top: 12px;
}
.footer-desc {
  color: rgba(235, 235, 235, .6);
  line-height: 1.3;
  max-width: 500px;
  width: 100%;
  margin: 10px auto 0;
}

@media (max-width: 1200px) {
  .main-content,
  .header-content,
  .footer-content {
    padding: 0 30px;
  }
  .main-title,
  .main-desc {
    padding: 0;
  }
}
@media (min-width: 676px) {
  .card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .card-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}






.main-content.detail {
  max-width: 1024px;
}
.nav {
  display: flex;
  align-items: center;
  list-style: none;
  color: rgba(235, 235, 235, .6);
}
.nav li+li {
  margin-left: 6px;
}
.nav .nav-home {
  color: rgba(235, 235, 235, .6);
  text-decoration: none;
}
.nav-home >svg,
.nav-current >svg {
  width: 26px;
  height: 26px;
}
.nav .nav-home,
.nav .nav-current {
  display: inline-flex;
  align-items: center;
}
.nav .nav-text {
  font-size: 18px;
  line-height: 30px;
  margin-left: 6px;
}
.nav .nav-text.hide {
  display: none;
}
.nav-home:hover >svg {
  color: rgba(255, 255, 255, .87);
}

.info-container {
  width: 90%;
  text-align: center;
  margin: 50px auto 0;
}
.info-container .title {
  color: rgba(255, 255, 255, .87);
  line-height: 1.3;
  font-size: 28px;
}
.info-container .desc {
  color: rgba(235, 235, 235, .6);
  line-height: 1.3;
  font-size: 22px;
  margin-top: 12px;
}
.info-container .link {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  text-decoration: none;
  border-radius: 8px;
  background-color: #2f2f2f;
  font-size: 18px;
  color: rgba(255, 255, 255, .87);
  margin-top: 24px;
}
.info-container .link >svg {
  width: 24px;
  height: 24%;
  margin-right: 6px;
}
.info-container .show-imgs {
  margin-top: 30px;
}
.info-container .show-imgs >img {
  width: 100%;
  object-fit: contain;
}

.more-text {
  margin-top: 50px;
}
.more-text .text-block {
  text-align: left;
  margin-bottom: 50px;
}
.more-text .b-title {
  line-height: 1.3;
  font-size: 24px;
  color: rgba(255, 255, 255, .87);
}
.more-text .b-desc {
  line-height: 1.5;
  font-size: 20px;
  color: rgba(235, 235, 235, .6);
  margin-top: 30px;
}
.more-text .b-desc+.b-desc {
  margin-top: 20px;
}