@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: '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: #F5F3EB url('/sudoja_photo/sat1/bk.png') center center;
}

/*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;
}

.content h2{
  font-family: 'Ownglyph_ryurue-Rg';
  color: #000;
  text-align: center;
  font-size: 4em;
  font-weight: 600;
  margin-top: 100px;
  margin-bottom: 70px;
  line-height: 1.3em;
}

.content p{
  font-family: 'Ownglyph_ryurue-Rg';
  color: #000;
  font-size: 2em;
  line-height: 1.5em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 400;
}

.content p.last{
  font-family: 'Ownglyph_ryurue-Rg';
  color: #000;
  font-size: 2.4em;
  line-height: 1.5em;
  text-align: center;
  margin-bottom: 0;
  font-weight: 400;
}

.photos {
  display: flex;
  gap: 40px; /* 이미지 간의 간격 설정 */
  justify-content: center;
  margin-bottom: 50px;
}

.photo1 {
  width: 55%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 100%;
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
}

.photo3 {
  width: 120%; /* 이미지의 너비를 컨테이너의 너비로 설정 */
  max-width: 113%;
  height: auto; /* 비율을 유지하며 높이 자동 설정 */
}

.flowers{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 150px;
  right: 200px;
}

.flower1{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 630px;
  left: 100px;
}

.flower2{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 1200px;
  right: 50px;
}

.blotch{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 1350px;
  left: 0;
}

.cloud{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 1700px;
  right: 0;
}

.grass{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 2300px;
  left: 50px;
}

.flower3{
  z-index: 10;
  position: absolute;
  scale: 200%;
  top: 2700px;
  left: 200px;
}

.people{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 3150px;
  right: 50px;
}

.moon{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 3700px;
  left: 50px;
}

.star{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 3500px;
  right: 50px;
}

.cloud2{
  z-index: 10;
  position: absolute;
  scale: 100%;
  top: 4100px;
  right: 20px;
}

.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: 0 100px 0 100px;
  }

  .content h2{
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .content p{
    font-size: 1.5em;
  }

  .content p.last{
    font-size: 1.5em;
    margin-bottom: 80px;
  }

  img.title{
    width: 100%;
    margin: 150px auto 0;
  }

  .photos{
    gap: 20px;
    flex-direction: column;
  }

  .photo1 {
    width: 100%;
    max-width: 80%;
    margin: 0 auto 0;
  }

  .photo3{
    max-width: 100%;
  }

  .flowers{
    scale: 70%;
    top: 100px;
    right: 0;
  }

  .flower1{
    scale: 40%;
    top: 450px;
    left: -50px;
  }
  
  .flower2{
    scale: 40%;
    top: 750px;
    right: 0px;
  }
  
  .blotch{
    scale: 40%;
    top: 1150px;
    left: -110px;
  }
  
  .cloud{
    scale: 40%;
    top: 1500px;
    right: -80px;
  }
  
  .grass{
    scale: 40%;
    top: 1900px;
    left: 0;
  }
  
  .flower3{
    scale: 40%;
    top: 2200px;
    left: 0;
  }
  
  .people{
    display: none;
  }
  
  .moon{
    scale: 40%;
    top: 2700px;
    left: -50px;
  }
  
  .star{
    scale: 40%;
    top: 2500px;
    right: 30px;
  }
  
  .cloud2{
    display: none;
  }
}

@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 0 30px;
  }

  .content h2{
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .content p{
    font-size: 1.3em;
  }

  .content p.last{
    font-size: 1.3em;
    margin-bottom: 80px;
  }

  img.title{
    width: 100%;
    margin: 150px auto 0;
  }

  .photos{
    gap: 20px;
    flex-direction: column;
  }

  .photo1 {
    width: 100%;
    max-width: 80%;
    margin: 0 auto 0;
  }

  .photo3{
    max-width: 100%;
  }

  .flowers{
    scale: 70%;
    top: 100px;
    right: 0;
  }

  .flower1{
    scale: 40%;
    top: 450px;
    left: -50px;
  }
  
  .flower2{
    scale: 40%;
    top: 750px;
    right: 0px;
  }
  
  .blotch{
    scale: 40%;
    top: 1150px;
    left: -110px;
  }
  
  .cloud{
    scale: 40%;
    top: 1500px;
    right: -80px;
  }
  
  .grass{
    scale: 40%;
    top: 1900px;
    left: 0;
  }
  
  .flower3{
    scale: 40%;
    top: 2200px;
    left: 0;
  }
  
  .people{
    display: none;
  }
  
  .moon{
    scale: 40%;
    top: 2700px;
    left: -50px;
  }
  
  .star{
    scale: 40%;
    top: 2500px;
    right: 30px;
  }
  
  .cloud2{
    display: none;
  }

  .designer p{
    font-size: .7em;
  }
}