@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.6/variable/pretendardvariable-dynamic-subset.css");
@import url("reset.css");
@import url("content.css");

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

html,
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;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: #f9f9f9;
}

.header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  background-color: white;
}

.header--wrapper img {
  height: 1rem;
}

.header--wrapper i {
  margin-right: 0.8rem;
}

.header--wrapper {
  font-weight: 700;
}

.header--search i {
  font-size: 1.2rem;
}

.header--search i:first-child {
  margin-right: 0.8rem;
}

.header--title {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Noto Sans KR";
  margin-left: 0.6rem;
}

.contents {
  position: relative;
  top: -96px;
  padding: 0 1rem;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile--background {
  width: 100%;
  height: 70vw;
}

.profile--avatar {
  display: block;
  width: 9rem;
  height: 9rem;
  border: 10px solid white;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -khtml-border-radius: 50%;
}

.profile--background,
.profile--avatar {
  background-size: cover;
  background-position: center;
}

.profile--name {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.profile--status,
.profile--contact {
  font-size: 0.9rem;
  color: #696969;
  margin-bottom: 0.5rem;
}

.profile--place {
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #696969;
}

.profile--place i {
  font-size: 0.9rem;
  margin-right: 0.1rem;
}

.btn {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.btn button {
  width: 48%;
  border-radius: 20px;
  border: 1px solid #e8e8e8;
  height: 2.1rem;
  font-weight: 700;
}

.btn button:first-child {
  background-color: #0057ff;
  color: white;
  border: 1px solid #0057ff;
}

.nav {
  padding: 0.3rem 0;
  margin: 0;
  display: flex;
  justify-content: center;
  list-style: none;
  color: #696969;
  font-weight: 700;
}

.nav li {
  padding: 9px 18px;
  font-size: 0.9rem;
  border-radius: 100px;
}

.nav li:last-child {
  margin-right: 0;
}

.nav--now {
  background-color: #191919;
  color: white;
}

.works {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
}

.works li > a {
  margin-bottom: 0.7rem;
  display: flex;
}

.works--subtitle {
  color: #696969;
}

/* common - works tag */

.works--title {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  /* text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap; */
}

.works--detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* info */

.info {
  margin-top: 1rem;
  line-height: 1.5;
  color: #696969;
}

.info > li > strong {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #191919;
}

.info > li {
  margin-top: 2rem;
}

.info--contacts {
  display: flex;
  flex-wrap: wrap;
}

.info--contacts a i {
  color: #696969;
  margin-right: 1rem;
  font-size: 2rem;
}

@media screen and (max-width: 320px) {
  /* for Galaxy Fold 2 */
  .works {
    padding: 1.5rem 0;
  }
}

@media screen and (max-width: 670px) {
  /* for Galaxy Fold 2 */
  .works--tags {
    width: 11rem;
  }
}
