@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: 'GowunDodum';
  src: url('/fonts/GowunDodum-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ownglyph_ryurue-Rg';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2405-2@1.0/Ownglyph_ryurue-Rg.woff2') format('woff2');
  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: 10;
  position: relative;
  padding: 200px 200px 100px 200px;
  background: #fff;
}

.content h2{
  font-family: 'GowunDodum';
  color: #000;
  text-align: center;
  font-size: 3em;
  font-weight: 600;
  margin-top: 70px;
  margin-bottom: 70px;
  line-height: 1.3em;
}

.content p{
  font-family: 'GowunDodum';
  color: #000;
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: left;
  margin-bottom: 50px;
  font-weight: 400;
}

.content b{
  font-family: 'GowunDodum';
  color: #000;
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: left;
  margin-bottom: 50px;
  font-weight: 400;
}

.photos {
  display: flex;
  gap: 40px; /* 이미지 간의 간격 설정 */
  justify-content: center;
  margin-bottom: 50px;
}

.wave {
  width: 100%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
}

.photo1 {
  width: 48%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 100%;
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
}

.photo3 {
  width: 100%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 100%;
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
}

.content p a{
  font-size: 3em;
  font-family: 'Ownglyph_ryurue-Rg';
}

.sun{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 250px;
  left: 50px;
}

.tree{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 350px;
  right: 50px;
}

.car{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 640px;
  right: 500px;
}

.door{
  z-index: 10;
  position: absolute;
  scale: 70%;
  top: 1600px;
  right: 80px;
}

.question{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 2700px;
  right: 500px;
}

.flower{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 3200px;
  right: 50px;
}

.flower2{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 3530px;
  left: 450px;
}

.wave2{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 3610px;
  left: 100px;
}

.girl{
  z-index: 10;
  position: absolute;
  scale: 80%;
  top: 3500px;
  right: 100px;
}

.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;
}

/*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: 100px 100px 100px 100px;
    }
  
    .content h2{
      font-size: 2em;
      margin-top: 10px;
      margin-bottom: 70px;
    }
  
    .content p{
      font-size: 1em;
    }
  
    .photos{
      gap: 20px;
    }
  
    .sun{
      scale: 20%;
      top: 60px;
      left: -70px;
    }
    
    .tree{
      scale: 20%;
      top: 70px;
      right: 0px;
    }
    
    .car{
      scale: 20%;
      top: 440px;
      right: 0px;
    }
    
    .door{
      scale: 20%;
      top: 980px;
      right: 0px;
    }
    
    .question{
      display: none;
    }
    
    .flower{
      z-index: 10;
      position: absolute;
      scale: 20%;
      top: 1700px;
      right: 50px;
    }
    
    .flower2{
      z-index: 10;
      position: absolute;
      scale: 20%;
      top: 2400px;
      left: 150px;
    }
    
    .wave2{
      z-index: 10;
      position: absolute;
      scale: 40%;
      top: 2450px;
      left: -150px;
    }
    
    .girl{
      z-index: 10;
      position: absolute;
      scale: 20%;
      top: 2000px;
      right: -100px;
    }
}

@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: 100px 30px 30px 30px;
  }

  .content h2{
    font-size: 1.5em;
    margin-top: 10px;
    margin-bottom: 70px;
  }

  .content p{
    font-size: .8em;
  }

  .photos{
    gap: 20px;
  }

  .sun{
    scale: 20%;
    top: 60px;
    left: -70px;
  }
  
  .tree{
    scale: 20%;
    top: 70px;
    right: -70px;
  }
  
  .car{
    scale: 20%;
    top: 440px;
    right: 0px;
  }
  
  .door{
    scale: 20%;
    top: 980px;
    right: -90px;
  }
  
  .question{
    display: none;
  }
  
  .flower{
    z-index: 10;
    position: absolute;
    scale: 20%;
    top: 1700px;
    right: -40px;
  }
  
  .flower2{
    z-index: 10;
    position: absolute;
    scale: 20%;
    top: 1900px;
    left: 150px;
  }
  
  .wave2{
    z-index: 10;
    position: absolute;
    scale: 40%;
    top: 1950px;
    left: -150px;
  }
  
  .girl{
    z-index: 10;
    position: absolute;
    scale: 20%;
    top: 1800px;
    right: -200px;
  }
  
  .designer p{
    font-size: .7em;
  }
}