body {
  background-color: rgba(247, 247, 247, 1);
  color: var(--text-color);
}

button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

button:hover {
  opacity: 0.7;
}

button.round {
  border-radius: 999px;
}

button.primary {
  min-width: 114px;
  background-color: var(--primary-color);
  color: #fff;
}

.w {
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
}

/* header */
header {
  position: sticky;
  top: 0;
  height: 65px;
  padding: 0 3.75%;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 1px #f2f3f5;
  z-index: 12;
}

header nav,
header .logo,
header h1,
header menu,
header li,
header a {
  height: 100%;
}

header h1 {
  margin: 0;
}

header a {
  display: block;
}

header nav {
  display: flex;
}

header nav::after {
  content: "";
  width: 125px;
}

header .logo a {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo a img {
  width: 125px;
}

header menu {
  margin: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

header menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

header menu li a:hover {
  color: var(--primary-color);
}

/* footer */
footer {
  padding: 60px;
  font-size: 14px;
  color: var(--secondary-text-color);
}

footer > div {
  display: flex;
  gap: 20px;
}

footer > div > div:nth-of-type(2) {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
