@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2")
    format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2")
    format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2")
    format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2")
    format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2")
    format("woff2");
  font-weight: 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
  font-family: Pretendard;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #ebebeb;
  overflow: hidden;
}

/* 모바일 화면크기 - 아이폰 17 기준 */
.app {
  width: 402px;
  height: 100dvh;
  margin: 0 auto;
  position: relative;
  background: #fff;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 430px) {
  .app {
    max-width: 390px;
    margin: 0 auto;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
  }
}

/* 공통 헤더 */
.header {
  height: 56px;
  padding: 0px 20px;
  display: flex;
  align-items: center;

  border-bottom: 1px solid #eeeeee;
  gap: 10px;
  position: relative;

  flex-shrink: 0;
}

.header h1 {
  position: absolute;
  left: 52px;

  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.head-left-img {
  position: absolute;
  left: 20px;
  width: 24px;
  height: 24px;
}

.head-right-img {
  right: 20px;
  width: 24px;
  height: 24px;
}

.head-left a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

/* a 안에 들어간 이미지도 기존 이미지랑 똑같이 */
.head-left a .head-left-img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
