body {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  background: #f0f0f0;
  color: #111;
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 450px;
  margin: 10px;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.main {
  width: 100%;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  max-width: 500px;
  margin: 0 auto;
}

.logo {
  text-align: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.menu {
  font-size: 22px;
  cursor: pointer;
}

.hero-image {
  width: 100%;
  height: 260px;
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-text-link {
  text-decoration: none;
  color: #111;
}

.hero-text {
  padding: 1px 25px;
  font-size: 20px;
}

.title {
  font-weight: 700;
  margin-bottom: 4px;
}

.subtitle {
  font-weight: 400;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 16px;
}

.card {
  background: #fff;
}

.img-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.2s ease;
  z-index: 1;
}

.img-box:hover::after {
  background-color: rgba(0, 0, 0, 0.4);
}

.img-box img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fit;
  display: block;
  transition: transform 0.3s ease;
}

.img-box:hover img {
  transform: scale(1.03);
}

.card p {
  font-size: 15px;
  margin: 4px 0;
  text-align: center;
  font-weight: 700;
}

.bottom {
  text-align: center;
}

.desc {
  line-height: 1.6;
  font-size: 18px;
  margin: 20px;
  text-align: center;
}

.team {
  margin: 20px;
  font-size: 15px;
}

.team p {
  color: black;
  font-style: italic;
  margin: 0;
  font-weight: bold;
}

.footer {
  font-size: 14px;
  color: #333;
  margin-top: 12px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  main {
    max-width: 450px;
  }

  .hero-image {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .hero-text {
    padding: 1px 25px;
    font-size: 16px;
  }

  .card p {
    font-size: 12px;
  }
}
