@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Bebas+Neue&family=Carrois+Gothic&family=DM+Serif+Text:ital@0;1&family=Lilita+One&family=Noto+Sans+KR:wght@597&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");

@media (max-width: 950px) {
  .navbar {
    position: relative !important;
    display: flex !important;
    justify-content: center;
  }
  .nav-list {
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin-top: 40px !important;
    gap: 50px;
    margin-left: 0px !important;
  }
  .name {
    display: none;
  }
  .contact {
    padding: 140px 100px 100px 100px !important;
  }
  .photo {
    height: 100% !important;
  }
  .reserve {
    padding: 50px !important;
  }
}
@media (max-width: 480px) {
  .contact {
    padding: 140px 50px 50px 50px !important;
  }
  .nav-list {
    gap: 30px;
  }
  .inform-1 h4 {
    font-size: 25px !important;
  }
  .inform-1 p {
    font-size: 17px !important;
  }
  .email-i {
    font-size: 17px !important;
  }
  .reserve {
    padding: 30px 50px 0 50px !important;
  }
}
.head {
  position: relative;
  height: auto;
  overflow: hidden;
}
body {
  margin: 0;
}

.photo {
  position: absolute;
  background-image: url("file/dancep/IMG_5568.JPG");
  background-position: center center; /* 이미지를 중앙으로 정렬 */
  background-repeat: no-repeat; /* 이미지를 반복하지 않음 */
  background-size: cover; /* 고정된 크기 */
  width: 100%; /* 전체 너비 */
  height: 105%; /* 전체 높이 */
  z-index: 0; /* 다른 요소보다 뒤에 오도록 설정 */
  background-attachment: fixed; /* 스크롤 시 배경 고정 */
}
.navbar .nav-item.active a {
  color: black; /* 강조하고 싶은 색상 */
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
  padding: 0;
}
/* 로고 스타일 */
.logo {
  z-index: 20; /* 비디오보다 위에 나타나게 설정 */
  height: 50px;
  width: 100%;
  display: flex;
  position: fixed;
  align-items: center;
  animation: fadeIn 3s ease-out; /* 애니메이션 효과 */
  height: 60px;
  justify-content: center;
  background-color: rgb(49, 83, 83, 0.5);
  padding: 5px;
}
.icon {
  display: flex; /* 또는 display: grid; */
  gap: 10px;
  right: 50px;
  position: absolute;
}
@keyframes fadeIn {
  0% {
    opacity: 0; /* 처음에는 투명 */
  }
  100% {
    opacity: 1; /* 완전히 보임 */
  }
}
.navbar {
  width: auto;
  position: absolute;
  z-index: 20;
}
.name {
  font-size: 35px; /* 텍스트 크기를 로고 크기에 맞게 설정 */
  color: white;
  margin-left: 10px; /* 로고와 텍스트 사이 간격 */
  font-weight: bold;
  font-family: "Oswald", serif;
}

.nav-list {
  position: absolute;
  justify-items: flex-start;
  line-height: 1.3;
  margin-top: 25vw;
  margin-left: 6vw;
}

.nav-item a {
  text-decoration: none;
  color: rgb(254, 254, 254);
  font-weight: bold;
  font-size: clamp(23px, 4.5vw, 70px);
  margin-bottom: 0px;
  display: inline-block;
  position: relative;
  font-family: "DM Serif Text", serif;
}
.nav-item a:hover {
  transform: scale(1.1);
}

.nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: rgb(236, 236, 236);
  transition: width 0.5s ease-in-out;
}

.nav-item a:hover::after {
  width: 100%;
}

/* 콘택트*/
.contact {
  position: relative;
  padding: 140px 150px 100px 450px;
  box-sizing: border-box;

  z-index: 10;
}
.inform {
  background-color: rgba(240, 248, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;

  margin-top: 50px;
}
.icons {
  display: flex;
  gap: 25px;
  justify-content: center;
  padding: 50px;
}

.icons a:hover {
  scale: 1.1;
}
.inform-1 h4 {
  font-size: 30px;
  font-family: "Oswald", serif;
}
.inform-1 p {
  font-size: 20px;
  font-family: "Carrois Gothic", serif;
  color: rgb(89, 87, 87);
}
.email-i {
  font-family: "Carrois Gothic", serif;
  font-size: 20px;
}
/*푸터*/
.reserve {
  position: relative;
  padding: 0px 100px 0px 100px;
  text-align: center;
  font-family: "Carrois Gothic", serif;
  color: rgb(145, 142, 142);
  font-size: clamp(10px, 1vw, 18px);
}
.footerhr {
  margin-bottom: 20px;
  background-color: rgb(145, 142, 142);
}
