@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;
}

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

/* 헤더 */
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 {
  line-height: 1.25;
  font-weight: 500;
}

header h1 a {
  color: rgb(145, 145, 70);
  font-size: 21px/1;
}

header h1 a:hover {
  color: #000;
}

header h1::before {
  content: "";
  display: block;
  width: 7.5vw;
  height: 1.75vh;
  background: #000;
  position: absolute;
  top: 45vh;
  right: -75vw;
}

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

header p {
  color: rgb(145, 145, 70);
  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: small;
  text-align: center;
}

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

.nav-links a {
  color: rgb(145, 145, 70);
  font-weight: 500;
  transition: color 0.3s;
}

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

.contact a {
  color: rgb(145, 145, 70);
  font-weight: 500;
  transition: color 0.3s;
}

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

main section div {
  display: block;
  position: absolute;
  top: 20vh;
  left: 25vw;
  width: 45vw;
  height: 50vh;
}

main section div p {
  font-size: 1rem;
}

main section div a {
  color: #000;
}

main section div a:hover {
  color: rgb(145, 145, 70);
  font-weight: 500;
  transition: color 0.3s;
}

/* pc small */
@media (max-width: 1024px) {
  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;
  }

  main section div p {
    font-size: 0.9rem;
  }
}

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

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

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

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

  main section div {
    display: block;
    position: absolute;
    top: 20vh;
    left: 25vw;
    width: 50vw;
    height: 50vh;
  }
}

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

  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;
  }

  main section div {
    display: block;
    position: absolute;
    top: 20vh;
    left: 25vw;
    width: 70vw;
    height: 50vh;
  }

  main section div p {
    font-size: 0.9rem;
  }
}