:root {
  --head-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}
body {
  background-color: #171224;
  overflow: hidden;
}
canvas {
  display: block;
}

header {
  position: relative;
  height: var(--head-height);
  background: linear-gradient(90deg, #7948ea 0%, rgba(121, 72, 234, 0) 100%);
  display: flex;
  align-items: center;
  color: white;
  justify-content: space-around;
}
.logo {
  position: absolute;
  width: var(--head-height);
  top: calc(var(--head-height) / 2);
  left: 60px;
}
.menu {
  display: flex;
  gap: 50px;
}
.menu .active {
  background: #171224;
  padding: 2px 24px;
  border-radius: 24px;
  cursor: pointer;
}

.submenu {
  display: none;
  position: absolute;
  background: #404142d4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-left: -37px;
}
.submenu div {
  padding: 6px 25px;
  font-size: 14px;
}
.submenu div:hover {
  background: #ffffff;
  color: #7044d9;
}
.submenu .line {
  border-bottom: 1px solid #ffffff2b;
}

.active:hover .submenu {
  display: block;
}
.search {
  position: relative;
  margin-right: 30px;
}
.search input {
  width: 280px;
  height: 26px;
  border-radius: 20px;
}
.search img {
  position: absolute;
  right: 15px;
  transform: scale(0.8);
}

.black-corner1 {
  width: 60px;
  height: calc(var(--head-height) / 2);
  flex-shrink: 0;
  background-color: #171224;
  border-top-right-radius: 10px;
}
.black-corner2 {
  width: var(--head-height);
  height: calc(var(--head-height) / 2);
  flex-shrink: 0;
}
.black-corner3 {
  width: 100%;
  height: calc(var(--head-height) / 2);
  border-top-left-radius: 10px;
  background-color: #171224;
}
.corner-container {
  display: flex;
  background-color: #6f43d8;
}

.right-menu {
  display: flex;
  gap: 20px;
}
.right-menu .icon-wrapper {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: #452986;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.right-menu .icon-wrapper img {
  width: 16px;
}
.lang {
  padding: 0 14px;
}

.switch-bar {
  color: white;
  display: flex;
  background: #404142;
  width: 120px;
  margin: 0 auto;
  font-size: 14px;
  border-radius: 30px;
  height: 30px;
}
.switch-bar div {
  width: 60px;
  text-align: center;
  padding: 5px 0;
  border-radius: 30px;
  cursor: pointer;
}
.switch-bar .active {
  background: #7948ea;
  transition: all 0.3s;
}

main {
  height: calc(100vh - 135px);
}

.ar-menu-list {
  display: inline-flex;
  flex-direction: column;
  gap: 15px;

  position: fixed;
  left: 6%;
  top: 30%;
}
.circle-wrapper {
  width: 40px;
  height: 40px;
  background-color: #787878;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
}
.ar-menu-list .active,
.bottom-menu .active,
.mobile-footer-menu .active {
  background: #7948ea;
}
.circle-wrapper img {
  width: 24px;
}

.obj-scene {
  display: none;
}
.bottom-menu {
  position: fixed;
  left: 50px;
  bottom: 80px;

  display: inline-flex;
  flex-direction: column;
  gap: 15px;
}
.bottom-cards {
  position: fixed;
  bottom: 50px;
  left: 120px;
  height: 110px;
}
.bottom-info {
  width: 500px;
  background: #404142;
  border-radius: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-container {
  position: fixed;
  right: 4%;
  bottom: 20px;
}
.detail-container .title {
  font-size: 18px;
  color: white;
}

#prev,
#next {
  width: 40px;
  cursor: pointer;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.w450 {
  width: 380px;
}
.img160 {
  width: 130px;
  height: auto;
}
.img-360 {
  width: 80px;
  position: fixed;
  top: 30%;
  left: 55%;
}
.mobile {
  color: white;
  display: none;
  height: 100vh;
  background-color: #7948ea;
  position: relative;
}
.mobile header {
  position: absolute;
  background: #404142 !important;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  top: 60px;
  height: 80px;
  width: 100%;

  display: flex;
}

.mobile-webgl {
  position: absolute;
  top: 140px;
}
.mobile-notice {
  white-space: nowrap;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
}

.mobile footer {
  position: absolute;
  bottom: 0;
  height: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.mobile-footer-menu {
  background-color: #404142;
  height: 70px;
  width: 90%;
  border-radius: 35px;

  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.mobile-footer-menu img {
  width: 20px;
}

@media screen and (max-width: 480px) {
  .mobile {
    display: block;
  }
  .pc {
    display: none;
  }
}
