@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@100;200;300;400;500;600;700&display=swap");

/* Reset & 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

/* 이미지 보호 설정 */
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

body {
  font-family: "IBM Plex Sans KR";
  line-height: 1.6;
  color: #000000;
  background-color: yellow;
}

/* 헤더 */
header {
  width: 25vw;
  height: 100vh;
  padding: 20px;
  background: #fff;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
}

header::after {
  content: "";
  display: block;
  width: 20px;
  height: 1.75vh;
  background: rgb(145, 145, 70);
  position: absolute;
  top: 45vh;
  left: 0vw;
}

header h1 {
  font-size: 21px/1;
  font-weight: 500;
}

header h1::before {
  content: "";
  display: block;
  width: 80vw;
  height: 1.75vh;
  background: #000;
  position: absolute;
  top: 45vh;
  left: 20vw;
}

header h1::after {
  content: "";
  display: block;
  width: 1.75vh;
  height: 100vh;
  background: #000;
  position: absolute;
  top: 0px;
  left: 45vw;
}

header p {
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

header ul:nth-of-type(1) {
  position: relative;
  top: 20vh;
  gap: 20px;
  justify-content: space-between;
  align-items: left;
}

header ul:nth-of-type(2) {
  position: absolute;
  bottom: 2vh;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
}

header ul span {
  font-size: smaller;
  margin-right: 1vw;
}

header .btnView {
  background: rgb(145, 145, 70);
  color: #fff;
  position: absolute;
  top: 45vh;
  width: 50px;
  height: 1.75vh;
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
}

header .btnView:hover {
  background: rgb(0, 0, 0);
  color: #fff;
}

.nav-links a {
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  font-weight: 900;
  color: rgb(145, 145, 70);
}

.contact a {
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.contact a:hover {
  color: rgb(145, 145, 70);
}

/* pc small */
@media (max-width: 1280px) {
  header h1 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
  }

  header p {
    font-size: 0.9rem;
  }

  header ul:nth-of-type(1) {
    position: absolute;
    top: 50vh;
    gap: 20px;
    justify-content: space-between;
    align-items: left;
    font-size: 0.9rem;
  }

  header ul:nth-of-type(2) {
    position: absolute;
    bottom: 2vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  header ul span {
    font-size: 0rem;
    margin-right: 3vw;
  }

  header .btnView {
    font-size: 0.7rem;
  }
}

/* tablet */
@media (max-width: 768px) {
  header h1 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
  }

  header ul span {
    margin-right: 2vw;
  }

  header .btnView {
    font-size: 0.9rem;
  }
}

/* mobile */
@media (max-width: 425px) {
  header {
    width: 25vw;
    height: 100vh;
    padding: 20px;
    background: yellow;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
  }

  header::after {
    content: "";
    display: block;
    width: 20px;
    height: 1.75vh;
    background: rgb(145, 145, 70);
    position: absolute;
    top: 45vh;
    left: 0vw;
  }

  header h1 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
  }

  header p {
    transform: translateX(-500%);
  }

  header ul {
    line-height: 2;
  }

  header ul:nth-of-type(1) {
    position: absolute;
    top: 50vh;
    gap: 20px;
    justify-content: space-between;
    align-items: left;
    font-size: 0.9rem;
  }

  header ul:nth-of-type(2) {
    position: absolute;
    bottom: 2vh;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-around;
  }

  header ul span {
    align-items: left;
    margin-right: 2vw;
    justify-content: space-around;
  }

  header .btnView {
    font-size: 0.8rem;
  }
}