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;
}

.jp {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
  color:#4e3d32;
  font-size: 36px;
  font-weight: 300;
  margin: 0px;
  letter-spacing: 0em;
}

h2 {
  color:#4e3d32;
  font-size: 24px;
  font-weight: 300;
  margin: 0 0 180px;
  letter-spacing: 0em;
}

body {
  margin: 0px;
  background-color:#e2d2c3;
}

::selection {
  color: #ffffff;
  background-color: #e2d2c3;
}

nav {
  /* 배치 방식 */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;

  /* 정렬 */
  justify-content: center;
  align-items: center;

  width: 20vw;
  height: 80vh;
  box-sizing: border-box;
  padding: 20px 10px;
  
  border: 2px solid #e2d2c3;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 0px 50px rgba(78, 61, 50, 0.2);
}

.link {
  flex-direction: column;
  display: flex;
  gap: 24px;

  list-style: none;

  width: 95%;
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0em;
}

.link a {
  text-decoration: none;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #4e3d32;
  padding: 10px 10px;

  border: 2px solid #e2d2c3;
  border-radius: 12px;
  background-color: #ffffff;
}

.link-list:hover,
.link-list:focus {
  color: #ffffff;
  background-color: #e2d2c3;
}

.link-list {
  transition: all 0.1s ease;
}

h3 a {
  text-decoration: none;
  color: #4e3d32;

  font-size: 24px;
  font-weight: 300;
  margin: 0 0 20px;
  letter-spacing: 0em;
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
}

h3 a:visited {
  color: #c4bdb8;
}

/* Mobile */
@media screen and (max-width: 768px) {
  nav {
    position: relative;
    top: auto;
    left: auto;
    transform: none;

    width: calc(100% - 32px);
    max-width: 420px;
    height: auto;
    min-height: 80vh;

    margin: 10vh auto;
    padding: 36px 24px;

    box-sizing: border-box;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 100px;
  }

  .link {
    width: 100%;
    gap: 16px;
    font-size: 24px;
  }

  .link a {
    padding: 12px 10px;
  }

  h3 {
    margin: 32px 0 0;
    text-align: center;
  }

  h3 a {
    position: static;
    transform: none;
    display: inline-block;

    font-size: 16px;
    margin: 0;
    overflow-wrap: anywhere;
  }
}

/* Small mobile */
@media screen and (max-width: 380px) {
  nav {
    width: calc(100% - 24px);
    padding: 28px 16px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 18px;
    margin-bottom: 72px;
  }

  .link {
    font-size: 21px;
    gap: 12px;
  }

  .link a {
    padding: 10px 8px;
  }

  h3 a {
    font-size: 14px;
  }
}

/* Short screens in landscape mode */
@media screen and (max-height: 500px) and (max-width: 768px) {
  nav {
    min-height: 0;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  h2 {
    margin-bottom: 40px;
  }
}