ul{list-style: none;} /* 리스트 앞에 . 제거*/
li{list-style: none;}
a{text-decoration: none;} /* 링크에 밑줄 제거*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    
  }

  body{ overflow-x: hidden; }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 125px;
  background-color: #FF94A4;
  z-index: 1000;
  display: flex;
  justify-content: space-between; /* .logo와 #main-navigation 사이에 공간을 분배 */
  align-items: center; /* 수직 가운데 정렬 */
  padding: 0 20px; /* 좌우 여백 추가 */
}

.logo{
  width: 150px;
  margin-left: 30px;
}

#main-navigation {
  display: flex; /* flexbox 적용 */
  justify-content: center; /* 메뉴 항목들을 수평으로 정렬 */
  align-items: center; /* 메뉴 항목들을 수직으로 정렬 */
  height: 100%;
  width: 800px;
  margin-bottom: 10px;
  margin-right:50px;
}
        
.outer-menu-item {
/* 메뉴바 우측정렬 */
  display: flex;
  width: 135px;
  height: 65px;
  align-items: center; 
  justify-content: center;
  margin-top: 15px;
  margin-right: 10px;
  float: right;  
  position: relative;
  color:white;
  font-family: 'EF_hyunydororong', Arial, sans-serif;
  font-size: 20px;
}      

.outer-menu-item:hover .inner-menu {
display: block;
}

.outer-menu-item:hover {
background: #FFB7C2;
color: white
}

.menu-title {
  display: block;
  height: 30px; line-height: 30px;
  text-align: center;
  padding: 5px 20px;
}

* {
  box-sizing: content-box; /*  설정한 width와 height 값이 곧 요소 내부의 콘텐츠 크기 */
}

ul {
  list-style-position: inside;
  padding-left: 0;
}

.inner-menu {
display: none;
position: absolute;
background: #ff4a65;
color: white;
z-index: 1200;
text-align: left;
left: 0; 
top: 100%;
width: 100%;
margin:0; padding:0;
}

/* inner-menu-item 기본 스타일 */
.inner-menu-item > a {
display: block;
width: 100%;
padding: 5px 0;
height: 40px;
line-height: 30px;
text-align: center;
align-items: center; 
justify-content: center;
background-color: #fbeec8;
color: #FF94A4;
}

/* inner-menu-item hover 시 스타일 */
.inner-menu-item > a:hover {
background:#FF94A4;
color: white;
}

footer{
  position: relative;
  height: 290px;
  background-color: #FF94A4;
}

.logo2{
    position: absolute;
    width: 90px;
    left: 60px; top:50px;
}


.footer-text{
    position: absolute;
    font-size: 13px; text-align: left;
    left:60px; top: 120px;
    color: white;
}

.footer-text2{
    position: absolute;
    font-size: 14.5px; text-align: left;
    left:60px; top: 145px;
    color: white;
}

.sns_container {
  position: absolute;
  right: 80px;
  top: 55px;
  display: flex;
  gap: 30px;
}
.sns_container img {
  width: 26px;
  height: auto;
  object-fit: contain;
}

/* 여기부터 콘텐츠 */  

.content {
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #000000;
}

.yellow-container{
    position: relative;
    display: flex; 
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: #FFFBF1;
}

.pink-container{
  position: relative;
  display: flex; 
  flex-direction: column;
  width: 100%;
  min-height: 120vh;
  background: #FFCDD4;
}


h2{
    font-family:'Ownglyph_meetme-Rg';
    font-size: 34px; font-weight: 100;
    line-height: 45px;
    color:#6C4B48;
    padding:20px; padding-left: 150px; padding-right: 40px;
    margin-top: 200px; margin-bottom:20px;
    z-index: 1;
  }

  .pink{
    font-family:'Ownglyph_meetme-Rg';
    font-size: 38px; font-weight: 100;
    color:#FF94A4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:20px;
    margin-top: 30px; 
  }

  .brown{
    font-family:'Ownglyph_meetme-Rg';
    font-size: 38px; font-weight: 100;
    color:#6C4B48;
    position:absolute;
    top:35px;
    text-align: center;
    padding:0; padding-left: 35px;
    z-index: 1;
  }

h4{
    font-family:'Ownglyph_meetme-Rg';
    font-size: 25px; font-weight: 100;
    color:#927878;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center;
    line-height: 40px;
    padding:10px;
    margin-top: 20px;  
}

.icon-mini1{
    position: absolute;
    width: 80px;
    height: auto;
    left:100px; top:140px;
}

.icon-mini2{
    position: absolute;
    width: 90px;
    height: auto;
    left:140px; top:260px;
    z-index: 0;
}

.icon-mini3{
    position: absolute;
    width: 200px;
    height: auto;
    left:320px; top:360px;
}

.icon-mini4{
    position: absolute;
    width: 50px;
    height: auto;
    left:485px; top:270px;
}

.icon-wave{
    position: absolute;
    width: 50px;
    height: auto;
    left:80px; top:215px;

}

.left{
    position: relative;
    display: flex; 
    flex-direction: column;
    justify-content: center; /* 수직 중앙 정렬 */
    align-items: center; /* 수평 중앙 정렬 */
    width: 800px;
    height: 600px;
    left:50px; bottom:0px;  
}

.icon-back{
    position: absolute;
    width: 800px;
    height: auto;
    z-index: 0; 
    bottom:10px;
}

.chi1{
    position: absolute;
    width: 260px;
    height: auto;
    left:580px; bottom:-20px;  
}

.chi2{
    position: absolute;
    width: 65px;
    height: auto;
    left:270px; top:220px;
}


.image-container {
    position: relative;
    width: 200px; /* 이미지 크기 설정 */
    height: 150px; /* 이미지 크기 설정 */
    margin: 50px auto; /* 중앙 정렬 */
  }
  
  .license1 {
    position: absolute;
    top: 55px;
    left: -10px;
    width: 160px;
    height: 100%;
    transition: transform 0.5s ease; 
  }

  .license2 {
    position: absolute;
    top: 80px;
    left: 20px;
    width: 160px;
    height: 100%;
    transition: transform 0.5s ease; /* 부드러운 애니메이션 */
  }
  
  .left {
    z-index: 2; 
 
  }
  
  .right {
    z-index: 1; /* 아래에 있는 이미지 */
  }
  
  .image-container:hover .left {
    transform: translateX(-90px) translateY(10px) rotate(-20deg); 
  }
  
  .image-container:hover .right {
    transform: translateX(90px) translateY(-10px) rotate(20deg);
  }

  
  @keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .book{
    width: 600px;
    position: absolute;
    top: -80px;
    right: 120px;
    z-index: 800;
  }

  .brown2{
    font-family:'Ownglyph_meetme-Rg';
    font-size: 40px; font-weight: 100;
    color:#6C4B48;
    position:absolute;
    top: -185px;
    right: 250px;
    text-align: center;
    padding:0;
    z-index: 900;
  }

  .eraser{
    width:120px;
    position: absolute;
    top: 50px;
    right: 750px;
    z-index: 900;
  }

  .pencile{
    width: 100px;
    position: absolute;
    top: -200px;
    right: 80px;
    z-index: 900;
    animation: moveLeftRight 6s infinite alternate;  
}

@keyframes moveLeftRight {
    0% {
      right: 80px; /* 시작 위치 */
    }
    50% {
      right: 500px; /* 오른쪽으로 600px 이동 */
    }
    100% {
      right: 80px; /* 다시 왼쪽으로 돌아옴 */
    }
  }

  .chiikawa {
    width: 600px;
    position: absolute;
    top: 210px;
    right: 130px;
    animation: float 2s ease-in-out infinite; 
  }
  
  @keyframes shadow {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.6)
    }
    100% {
      transform: scale(1);
    }
  }

.shadow {  
    width: 200px;
    position: absolute;
    top: 450px;
    right: 120px;
    animation: shadow 2s ease-in-out infinite;
    z-index: 3;
}

.shadow2 {  
    width: 200px;
    position: absolute;
    top: 450px;
    right: 325px;
    animation: shadow 2s ease-in-out infinite;
    z-index: 2;
}
 
.shadow3 {  
    width: 200px;
    position: absolute;
    top: 450px;
    right: 525px;
    animation: shadow 2s ease-in-out infinite;
    z-index: 1;
}
    

.rightbox{
    position: absolute;
    width: 700px;
    height: 450px;
    background-color: #FFFBF1;
    border-radius: 40px;
    right:80px; bottom:80px;   
}

.bg{
  position: absolute;
  width: 100%;
  top:90%;
  z-index: 1;
}
.bgchi{
  position: absolute;
  width:53%;
  top:190px;
  left:23%;
  z-index: 700;
}
.brlogo{
  position: absolute;
  width:10%;
  top:290px;
  left:45%;
  z-index: 850;
}

.youtube {
  position: absolute;
  top: 58%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  height: 315px;
  width: 560px;
  z-index: 800;
  border-radius: 30px;
  border: 9px solid #FF94A4;
}

.flagleft {
  position: absolute;
  width: 40%;
  left: 0; 
  top: 0;
  z-index: 900; 
  animation: leftflag 1s forwards; 
}

.flagright {
  position: absolute; 
  width: 40%; 
  right: 0; 
  top: 0;
  z-index: 900; 
  animation: rightflag 1s forwards; 
}


@keyframes leftflag {
  0% {
    transform:translateX(0%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform:translateX(-30%) translateY(25%) rotate(0deg);
    opacity: 1;
  }
}

@keyframes rightflag {
  0% {
    transform:translateX(0%) translateY(-100%) rotate(-45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform:translateX(30%) translateY(20%) rotate(0deg);
    opacity: 1;
  }
}



.mag1{
  position: absolute;
  top:430px;
  left:18%;
  width:110px;
  z-index: 900;
  rotate: 30deg;
}
.mag2{
  position: absolute;
  top:720px;
  left:30%;
  width:100px;
  z-index: 900;
  rotate: -30deg;
}
.mag3{
  position: absolute;
  top:500px;
  left:75%;
  width:110px;
  z-index: 900;
  rotate: -10deg;
}

@keyframes swing {
  0% {
    transform: rotate(-15deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(-15deg);
  }
}

.mag1, .mag2, .mag3 {
  animation: swing 2s infinite ease-in-out;
}


.blink1{
  position: absolute;
  width:60px;
  top:700px;
  left:19%;
  z-index: 900;
}

.blink2{
  position: absolute;
  width:60px;
  top:260px;
  left:75%;
  z-index: 900;
}


@keyframes blink {
  0% {
    scale: 1; opacity: 0.3; 
  }
  50% {
    scale: 1.2; opacity: 1;
  }
  100% {
    scale: 1; opacity: 0.3; 
  }
}



.blink1, .blink2 {
  animation: blink 1s infinite ease-in-out;
}