* {
  box-sizing: border-box;
  word-wrap: break-word;
  word-break: break-word;
}

:root {
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", sans-serif;
  --background: #efefef;
  --basic-normal-text: #3a3a3a;
  --basic-key-color: #a53e4c;
}

a {
  color: var(--basic-normal-text);
  text-decoration-line: none;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--basic-normal-text);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  word-wrap: break-word;
  word-break: break-word;
  width: 100vw;
  height: auto;
  background-color: var(--xcla-background);
}

.language-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.language-content.active {
  display: block;
}

.language-content.fade-in {
  opacity: 1;
}

.divider {
  border-top: 1px solid #ddd;
  margin: 1em 0;
}

header {
  width: 100vw;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header h1 {
  font-size: 48px;
  font-weight: 600;
  color: var(--basic-key-color);
}

header h3 {
  font-size: 36px;
}

header h4 {
  font-size: 14px;
}

main {
  width: 600px;
  margin: 0 auto;
  padding-top: 36px;
  text-align: center;
}

.language-selector {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  background-color: var(--basic-key-color);
  color: #efefef;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

main h3 {
  color: var(--basic-key-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

main p {
  font-size: 16px;
  line-height: 24px;
}

main a {
  display: block;
  border: 1px solid var(--basic-key-color);
  border-radius: 8px;
  padding: 10px 18px;
  color: var(--basic-key-color);
  font-size: 16px;
  font-weight: 600;
  margin-top: 32px;
}

main a:hover {
  color: var(--basic-normal-text);
  background-color: var(--basic-key-color);
  color: var(--background);
}

footer {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

footer img {
  width: 240px;
  height: auto;
  padding-top: 32px;
}

footer span {
  font-size: 14px;
}

@media (max-width: 768px) {
  main {
    width: 100vw;
    padding: 0 16px;
  }

  main h3 {
    margin-bottom: 12px;
  }

  main p {
    font-size: 14px;
    line-height: 24px;
  }

  button {
    width: 80px;
  }

  footer {
    width: 100vw;
    padding: 16px;
  }

  footer img {
    width: 200px;
    height: auto;
  }

  footer span {
    font-size: 10px;
  }
}
