@font-face {
  font-family: 'S-CoreDream-3Light';
  font-family: 'S-CoreDream-3Light';src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OTEnjoystoriesBA';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/OTEnjoystoriesBA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'InriaSerif-b';
  src: url('/fonts/InriaSerif-Bold.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DX영화자막';
  src: url('/fonts/DXMSUBTITLESM-KSCPC-EUC-H.TTF');
  font-weight: normal;
  font-style: normal;
}

:root{
  --first-color: #05202bf1;
  --second-color: #aac9cbde;
  --third-color: #ffffffbd;

  --text-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  --bpx-shadow: 0 5px 25px rgb(0, 0, 0 / 20%)
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'S-CoreDream-3Light';
}

body {
  min-height: 100vh;
  background: #fff;
}

/*header*/
header{
  z-index: 999;
  position: fixed;
  width: 100%;
  height: calc(5rem + 1rem);
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
}

header .nav-bar{
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  transition: 0.3s ease;
}

.nav-close-btn, .nav-menu-btn{
  display: none;
}

.logo{
  display: inline-block;
  padding: 5px 0;
  height: 85px;
  line-height: 85px;
  cursor: pointer
}

.header-logo{
  height: 60px;
  vertical-align: middle;
  margin-bottom: 4px
}

.navigation .nav-items a{
  color: var(--first-color);
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  text-shadow: var(--text-shadow);
  padding: 2px 15px;
  border-radius: 10px;
  transition: .3s ease;
  transition-property: background;
  background: var(--third-color);
}

.navigation .nav-items a i{
  display: none;
}

.navigation .nav-items a:not(:last-child){
  margin-right: 45px;
}

.navigation .nav-items a:hover{
  font-size: 1.15em;
}

/* main section */
.content{
  z-index: 20;
  position: relative;
  padding: 0 200px 100px 200px;
}

.content2{
  z-index: 20;
  position: relative;
  margin-bottom: 100px;
}

.content h2{
  font-family: 'OTEnjoystoriesBA';
  color: #000;
  text-align: right;
  font-size: 7em;
  font-weight: 900;
  margin-top: 200px;
  margin-bottom: 30px;
  line-height: 1.3em;
}

.content p{
  font-family: 'DX영화자막';
  color: #000;
  font-size: 1.3em;
  line-height: 1.7em;
  text-align: justify;
  justify-content: center;
  margin: 30px auto;
}

h1.jongno{
  font-family: 'InriaSerif-b';
  font-size: 6em;
  margin-top: 20px;
}

h1.suwon{
  font-family: 'InriaSerif-b';
  font-size: 6em;
  margin-top: 20px;
  text-align: right;
}

.helf.title {
  width: 70%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 70%;
  height: 70%; /* 비율을 유지하며 높이 자동 설정 */
}

.helf {
  width: 50%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 50%;
  height: 50%; /* 비율을 유지하며 높이 자동 설정 */
}

.full {
  width: 100%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 100%;
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
  margin-top: 30px;
}

.full.jongno {
  width: 70%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 100%;
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
  margin-top: 30px;
  left: 0;
}

.photo-text{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px auto;
}


.designer p{
  color: var(--first-color);
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  text-shadow: var(--text-shadow);
  padding: 15px;
  text-align: center;
}

.rect1{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 250px;
  right: 0;
}

.rect2{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 1650px;
  left: 0;
}

.rect3{
  z-index: 10;
  position: absolute;
  scale: 90%;
  top: 4000px;
  right: 0;
}

.rect4{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 5500px;
  left: 0;
}



/*media queries*/
@media screen and (max-width: 1080px){
  header .nav-bar{
    padding: 0 20px;
  }

  /*navigation menu*/
  .nav-menu-btn{
    display: block;
    color: var(--first-color);
    font-size: 1.5em;
    cursor: pointer;
  }

  .nav-close-btn{
    display: block;
    color: var(--first-color);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.3em;
    margin: 10px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .navigation{
    z-index: 99999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
  }

  .navigation.active{
    visibility: visible;
    opacity: 1;
  }

  .navigation .nav-items{
    position: relative;
    background: #ffffffee;
    width: 400px;
    max-width: 400px;
    display: grid;
    place-content: center;
    margin: 20px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--bpx-shadow);
    transform: translateY(-200px);
    transition: 0.3s ease;
  }

  .navigation.active .nav-items{
    transform: translateY(0);
  }

  .navigation .nav-items a{
    color: var(--first-color);
    font-size: 1em;
    margin: 15px 50px;
    transition: 0.3s ease;
    background: none;
  }

  .navigation .nav-items a i{
    display: inline-block;
    font-size: 1.3em;
    margin-right: 10px;
  }

    /*main*/
    .content{
      padding: 0 100px 30px 100px;
    }
    .content2{
      margin-bottom: 20px;
    }
  
    .content h2{
      font-size: 5em;
      margin-top: 150px;
    }
  
    .content p{
      font-size: 1em;
    }
  
    .rect1 {
      scale: 40%;
      top: 50px;
      left: -300px;
    }
  
    .rect2 {
      scale: 40%;
      top: 150px;
      left: -500px;
    }
  
    .rect3 {
      z-index: 10;
      position: absolute;
      scale: 30%;
      top: 1600px;
      left: -300px;
    }
  
    .rect4 {
      z-index: 10;
      position: absolute;
      scale: 40%;
      top: 2300px;
      left: -500px;
    }
  
    h1.jongno{
      font-size: 2.2em;
    }
    h1.suwon{
      font-size: 2.2em;
      margin-bottom: 20px;
    }
  
    .photo-text{
      flex-direction: column;
      margin: 0;
      gap: 20px;
    }
  
    .helf{
      width: 80%;
      max-width: 80%;
      height: 80%;
      margin: auto;
    }
}

@media screen and (max-width: 700px){
  header .nav-bar{
    padding: 0 20px;
  }

  /*navigation menu*/
  .nav-menu-btn{
    display: block;
    color: var(--first-color);
    font-size: 1.5em;
    cursor: pointer;
  }

  .nav-close-btn{
    display: block;
    color: var(--first-color);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.3em;
    margin: 10px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .navigation{
    z-index: 99999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
  }

  .navigation.active{
    visibility: visible;
    opacity: 1;
  }

  .navigation .nav-items{
    position: relative;
    background: #ffffffee;
    width: 400px;
    max-width: 400px;
    display: grid;
    place-content: center;
    margin: 20px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--bpx-shadow);
    transform: translateY(-200px);
    transition: 0.3s ease;
  }

  .navigation.active .nav-items{
    transform: translateY(0);
  }

  .navigation .nav-items a{
    color: var(--first-color);
    font-size: 1em;
    margin: 15px;
    transition: 0.3s ease;
    background: none;
  }

  .navigation .nav-items a i{
    display: inline-block;
    font-size: 1.3em;
    margin-right: 10px;
  }

  /*main*/
  .content{
    padding: 0 30px 30px 30px;
  }
  .content2{
    margin-bottom: 20px;
  }

  .content h2{
    font-size: 3em;
    margin-top: 150px;
  }

  .content p{
    font-size: .7em;
  }

  .rect1 {
    scale: 40%;
    top: 50px;
    left: -300px;
  }

  .rect2 {
    scale: 40%;
    top: 150px;
    left: -500px;
  }

  .rect3 {
    z-index: 10;
    position: absolute;
    scale: 30%;
    top: 1600px;
    left: -300px;
  }

  .rect4 {
    z-index: 10;
    position: absolute;
    scale: 40%;
    top: 2300px;
    left: -500px;
  }

  h1.jongno{
    font-size: 2em;
  }
  h1.suwon{
    font-size: 2em;
    margin-bottom: 20px;
  }

  .photo-text{
    flex-direction: column;
    margin: 0;
    gap: 20px;
  }

  .helf{
    width: 80%;
    max-width: 80%;
    height: 80%;
    margin: auto;
  }

  .designer p{
    font-size: .7em;
  }
}