@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: 480px) {
  .about img {
    width: 350px !important;
  }
  .about {
    padding: 50px !important;
  }
  .second {
    padding: 0 !important;
  }
}
@media (max-width: 950px) {
  .name {
    display: none;
  }
  .head video {
    margin-top: 70px !important;
  }
  .about .about-1 {
    flex-direction: column; /* 수직 정렬 */
  }
  .about-1 .about-2 p {
    font-size: 16px !important;
  }
  .reserve {
    padding: 50px !important;
  }
}
.dm-serif-text-regular {
  font-family: "DM Serif Text", serif;
  font-style: normal;
}

.head {
  position: relative;
  height: auto;
  overflow: hidden;
}
body {
  margin: 0;
}
/* 비디오 스타일 */
.head video {
  width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
  padding: 0;
}
.navbar .nav-item.active a {
  color: white;
}
/* 로고 스타일 */
.logo {
  z-index: 10; /* 비디오보다 위에 나타나게 설정 */
  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: 10;
}
.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: gray;
  font-weight: bold;
  font-size: clamp(25px, 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: whitesmoke;
  transition: width 0.5s ease-in-out;
}

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

/* 첫번째 섹션*/
.about {
  padding: 100px;
}
.about img {
  width: 500px;
}
.about-1 {
  display: flex;
  gap: 70px;
  align-items: center;
}
.about-2 p {
  font-size: 1.2vw;
  margin-top: 0;
  line-height: 1.7;
  font-family: "Carrois Gothic", serif;
}
.second {
  padding-left: 100px;
  padding-right: 100px;
  background-color: whitesmoke;
  font-family: "Carrois Gothic", serif;
}
.history {
  padding: 50px;
}
.second h5 {
  font-size: 15px;
  margin-bottom: 0;
}
.second ul {
  font-size: clamp(13px, 1.5vw, 18px);
  line-height: 1.6;
}
/*푸터*/
.reserve {
  background-color: whitesmoke;
  padding: 50px 100px 50px 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);
}
