@import url("https://fonts.cdnfonts.com/css/sweet-sans-pro");

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

a {
  text-decoration: none;
  color: var(--font-color-base);
}

ul,
li {
  list-style-type: none;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Sweet Sans Pro", sans-serif;
}

body {
  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none;
}

#wrap {
  position: relative;
  width: 100%;
  height: 100%;
  -ms-overflow-style: none;
}

#wrap::-webkit-scrollbar {
  display: none;
}

.rock-salt {
  font-family: "Rock Salt", cursive;
}

.dancing-script {
  font-family: "Dancing Script", cursive;
}

/* 기본 헤더 스타일 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  transition: all 0.4s ease-out;
}

.header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 35px 30px 0;
  position: relative;
  z-index: 10001;
  transition: all 0.4s ease-out;
}

.header .logo {
  font-size: 0;
}

.menu {
  text-align: right;
}

.menu p {
  margin-bottom: 5px;
}

.menu p a {
  font-size: 20px;
  color: #fff;
  transition: all 0.5s;
}

.menu p a:hover {
  color: #ff00ce;
}

main {
  text-align: center;
  position: relative;
  background-color: #000;
}

/* 로딩 스크린 전체를 덮는 스타일 */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner_text .contact_text {
  font-size: 20px;
  color: #fff;
  text-align: right;
  transition: all 0.5s;
}

.banner_text .contact_text:hover {
  color: #ff00ce;
}

/* 로딩 스피너 스타일 */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.pc-display {
  display: block;
}

.m-display {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 페이지 로드 완료 시 로딩 화면 숨김 */
body.loaded #loading-screen {
  display: none;
}

@media all and (max-width: 1000px) {
  .pc-display {
    display: none;
  }

  .m-display {
    display: block;
  }

  .header {
    padding: 20px;
  }

  .menu p {
    margin-bottom: 3px;
  }

  .menu p a {
    font-size: 16px;
  }
}
