/* 공통 초기화 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 기본 설정 */
ul, li {
  list-style: none; /* 리스트 스타일 제거 */
}
a {
  text-decoration: none; /* 링크 밑줄 제거 */
}

/* 헤더 스타일 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 125px;
  background-color: #FF94A4;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.logo {
  width: 150px;
  margin-left: 30px;
}

/* 네비게이션 */
#main-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 800px;
  margin-right: 50px;
}

.outer-menu-item {
  display: flex;
  width: 135px;
  height: 65px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  position: relative;
  color: white;
  font-family: 'EF_hyunydororong', Arial, sans-serif;
  font-size: 20px;
}
.outer-menu-item:hover {
  background: #FFB7C2;
  color: white;
}

/* 드롭다운 메뉴 */
.inner-menu {
  display: none;
  position: absolute;
  background: #ff4a65;
  color: white;
  text-align: left;
  left: 0;
  top: 100%;
  width: 100%;
}
.outer-menu-item:hover .inner-menu {
  display: block;
}
.inner-menu-item > a {
  display: block;
  padding: 5px 0;
  height: 40px;
  text-align: center;
  background-color: #fbeec8;
  color: #FF94A4;
}
.inner-menu-item > a:hover {
  background: #FF94A4;
  color: white;
}


content {
  background-color: #ffffff;
  padding-top: 150px;
  min-height: 100vh;
  display: flex;
  position: relative;
}


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

.nagano {
  width: 350px;
  position: absolute;
  top: 350px;
  left: 150px;
  animation: float 2s ease-in-out infinite; 
}


@keyframes shadow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9)
  }
  100% {
    transform: scale(1);
  }
}

.shadow {  width: 200px;
  position: absolute;
  top: 700px;
  left: 230px;
  animation: shadow 2s ease-in-out infinite;}

.speech{  width: 200px;
  position: absolute;
  top: 260px;
  left: 450px;}

.container1 {
  background-color: #B2B2B2;
  position: absolute;
  top: 400px;
  left: 700px;
  width: 900px;
  height: 430px;
  border-radius: 15px;
  box-shadow: 4px 5px 10px #FF94A4;
  z-index: 10;
}

.container2 {
  background-color: #FFFAED;
  position: absolute;
  top: 25px;
  left: 25px;
  width: 850px;
  height: 380px;
  border-radius: 10px;
  z-index: 20;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  align-content: center;
}

.clip{width: 300px;
  position: absolute;
  top: 330px;
  left: 1000px;
z-index: 30;}

/* 텍스트 스타일 */
.aboutnagano{
  font-family: 'EF_hyunydororong';
  font-size: 20px;
  line-height: 1.6;
  color: #FDA0AB;
  position: absolute;
  top: 30px;
  left: 20px;
  padding: 40px;
  line-height: 40px;
}

/* 메모 기본 상태 */
.memo1,
.memo2 {
  position: absolute;
  transition: transform 0.3s ease-in-out;
}

.memo1 {
  width: 700px;
  transform: rotate(-7deg);
  right: 220px;
  top: 230px;
  z-index: 4;
}

.memo2 {
  width: 500px;
  transform: rotate(13deg); 
  right: 100px;
  top: 200px;
  z-index: 3;
}

/* hover 상태 */
.memo1:hover:not(.popup-active),
.memo2:hover:not(.popup-active) {
  transform: translateY(-10px) rotate(var(--initial-rotation)); 
  transition: transform 0.3s ease-in-out;
}

/* 팝업 활성화 상태 */
.popup-active {
  transform: rotate(0deg) scale(1.2); 
  z-index: 999; 
  transition: transform 0.3s ease-in-out;
}




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;
}