@charset "utf-8";
@import url('font.css');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: #030303;
}
body {
  font-family: 'Paperozi', sans-serif;
  color: #030303;
}
/* 모바일버튼영역 */
.mb-btn {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 101;
  display:none;
}

.mb-btn .line {
  display: block;
  width: 30px;
  height: 5px;
  background-color: #030303;
  margin: 5px;
  border-radius: 5px;
  transition: 1s;
}
.mb-btn .line.line-top {}
.mb-btn .line.line-middle {
  width: 20px;
}
.mb-btn .line.line-bottom {
  width: 10px;
}
/* X버튼으로 변형 */
.mb-btn.on .line.line-top {
  transform: translateY(10px) rotate(45deg);
}
.mb-btn.on .line.line-middle {
  /* width: 0; */
  opacity: 0;
}
.mb-btn.on .line.line-bottom {
  width: 30px;
  transform: translateY(-10px) rotate(-45deg);
}

/* 모바일메뉴영역 */
.mb-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  padding: 50px;
  background-color: #fff;
  z-index:100;
  transition: 0.6s;
}
.mb-nav.on {
  right: 0;
}
.mb-nav .pic {
  width: 100%;
  text-align: center;
  margin-top: 25px;
}
.mb-nav .pic img {
  border-radius: 50%;
  margin-bottom: 1em;
}
.mb-nav .pic p {
  color: #030303;
  font-weight: bold;
  font-size: 1em;
}

.mb-nav .mb-menu {
  margin-top: 50px;
  font-size: 1.15em;
}
.mb-nav .mb-menu li {
  padding: 20px 0;
  border-bottom: 1px solid #030303;
}
.mb-nav .mb-menu li a {}
.mb-nav .mb-menu li a i {
  margin-right: 20px;
}
/* 마스크영역 */
.window-mask {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(0,0,0,0.6);
  display:none;
}
/* 다크모드버튼(mobile) */
.dark-btn {
  position: fixed;
  right: 20px;
  bottom: 80px;
  padding: 10px 15px;
  background-color: #333;
  cursor:pointer;
  z-index: 99;
  border-radius: 5px;
  display: none;
}
.dark-btn a {
  display: block;
}
.dark-btn a i {
  font-size: 24px;
  color: #fff;
}
/* 헤더영역 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}
.header .header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo {}
.header .logo a {}
.header .logo a p {
  font-family: "Dream-Orphans";
  color: #1078FF;
}

.header nav {
  flex-basis: 50%;
}
.header nav ul {
  display: flex;
  justify-content: space-between;
}
.header nav ul li {
  position: relative;
}
.header nav ul li a {
  color: #333;
}
.header nav ul li.on a {
  font-weight: 700;
}
.header nav ul li::after {
  content:'';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #333;
  transition: 1s;
  transform: scaleX(0);
}
.header nav ul li.on::after,
.header nav ul li:hover::after {
  transform: scaleX(1);
}
.header .etc {}
.header .etc > ul {
  display: flex;
  gap: 15px;
}
.header .etc > ul > li {
  position: relative;
}
.header .etc > ul > li > a {}
.header .etc > ul > li > a i {
  font-size: 1.5em;
}
.header .etc > ul > li ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 5px;
  height: 0;
  overflow:hidden;
  box-shadow: 1px 2px 4px 0px rgba(0,0,0,.15);
  transition: 0.5s;

}
.header .etc > ul > li:last-child:hover ul {
  height: 85px;
}
.header .etc > ul > li ul li {
  padding: 15px 20px 0;
}
.header .etc > ul > li ul li a {
  white-space:nowrap;
}
/* ======= 메인영역 ======= */
.content {}
.content .title-wrap {
  margin: 100px auto 0;
  padding: 25px 0;
}
.content .title-wrap .title {}
.content .title-wrap .title h3 {
  position: relative;
  text-align: center;
  font-size: 2em;
}
/* ======= 푸터영역 ======= */
.footer {
  position: absolute;
  bottom: 0;
  padding: 25px 0;
  width: 100%;
  background-color: #fff;
}
.footer p {
  text-align: center;
  color: #7f7f7f;
  letter-spacing: -0.5px;
}
/* ====== 반응형 ====== */
@media screen and (max-width: 1240px) {
  .header .header-wrap {
    width: 96%;
  }
  .content .title-wrap {
   width: 96%;
  }
}
@media screen and (max-width: 640px) {
  .header nav {
    display: none;
  }
  .header .etc {
    display: none;
  }
  .mb-btn {
    display:block;
  }
  .dark-btn {
    display: block;
  }
  .content .title-wrap {    
    margin: 140px auto 50px;
    padding: 15px 0 20px;    
    border-radius: 5px;    
  }
  .content .title-wrap .title h3 {
    font-size: 25.6px;
  }
  .content .title-wrap .title h3::after {
    width: 7%;
  }
}