@import url("https://cdn.jsdelivr.net/gh/waping-kr/fonts/Waping.woff");
* {
  outline: none;
  box-sizing: border-box;
}

@font-face {
  font-family: "Waping";
  src: url("https://cdn.jsdelivr.net/gh/waping-kr/fonts/Waping.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
}

* {
  font-family: -apple-system, BlinkMacSystemFont, "Waping", sans-serif,
    "Apple Gothic", "Apple SD Gothic Neo" !important;
}
:root {
  --theme-bg-color: rgba(0, 0, 0, 0.4);
  --border-color: rgba(35, 35, 36, 0.78);
  --theme-color: #f9fafb;
  --inactive-color: rgba(237, 237, 236, 0.78);
  --body-font: "Poppins", sans-serif;
  --hover-menu-bg: rgba(12 15 25 / 30%);
  --content-title-color: #999ba5;
  --content-bg: rgb(146 151 179 / 13%);
  --button-inactive: rgb(249 250 251 / 55%);
  --dropdown-bg: #21242d;
  --dropdown-hover: rgb(42 46 60);
  --popup-bg: rgb(22 25 37);
  --shadow-color: #ffffff;
  --search-bg: #14162b;
  --overlay-bg: rgba(36, 39, 59, 0.3);
  --scrollbar-bg: rgb(1 2 3 / 40%);
}

body {
  background-color: #0e0e0e;
  font-family: var(--body-font);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2em;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  transition: background-color 0.7s, color 0.7s;
}

.side-title {
  color: rgba(237, 237, 236, 0.78);
  margin-bottom: 14px;
}

.dark-light svg {
  color: #fff;
}

.dark-light {
  background-color: #000000;
}

.star {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(rgba(255, 255, 255, 0), white);
  opacity: 0.8;
  filter: blur(1px);
  transform-origin: top left;
}

.lefttext {
  display: flex;
  position: fixed;
  top: 200px;
  left: 270px;
  padding: 100px 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  color: white;
}

@keyframes parabolic1 {
  0% {
    transform: translate(-50vw, -50vh) rotate(-45deg);
  }
  100% {
    transform: translate(50vw, 100vh) rotate(-45deg);
  }
}

@keyframes parabolic2 {
  0% {
    transform: translate(-50vw, -45vh) rotate(-45deg);
  }
  100% {
    transform: translate(50vw, 105vh) rotate(-45deg);
  }
}

@keyframes parabolic3 {
  0% {
    transform: translate(-50vw, -40vh) rotate(-45deg);
  }
  100% {
    transform: translate(50vw, 110vh) rotate(-45deg);
  }
}

@keyframes parabolic4 {
  0% {
    transform: translate(-50vw, -35vh) rotate(-45deg);
  }
  100% {
    transform: translate(50vw, 115vh) rotate(-45deg);
  }
}

/* 별똥별 여러 개 생성 */
.star:nth-child(1) {
  top: 0%;
  left: 0%;
  animation: parabolic1 5s infinite linear;
}

.star:nth-child(2) {
  top: 50%;
  left: 10%;
  animation: parabolic2 5s infinite linear;
}

.star:nth-child(3) {
  top: 70%;
  left: 20%;
  animation: parabolic3 5s infinite linear;
}

.star:nth-child(4) {
  top: 20%;
  left: 30%;
  animation: parabolic4 5s infinite linear;
}
.star:nth-child(5) {
  top: -20%;
  left: 30%;
  animation: parabolic4 5s infinite linear;
}

.dark-light {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

body.dark-mode .lefttext {
  color: white;
}
.category-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 15px;
  background: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
}

.category-btn {
  padding: 8px 16px;
  background: var(--content-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--theme-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.category-btn:hover {
  background: var(--hover-menu-bg);
  border-color: var(--theme-color);
  transform: translateY(-2px);
}

.category-btn.active {
  background: #3a6df0;
  border-color: #3a6df0;
  color: white;
  box-shadow: 0 4px 15px rgba(58, 109, 240, 0.4);
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
  .category-navigation {
    padding: 10px;
    gap: 8px;
  }
  
  .category-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .category-navigation {
    flex-direction: column;
    align-items: stretch;
  }
  
  .category-btn {
    text-align: center;
    border-radius: 8px;
  }
}
.app-card-select {
  /* 셀렉트 박스의 전체 스타일을 지정합니다. */
  flex-direction: column;
  width: calc(33.3% - 20px);
  font-size: 16px;
  flex-grow: 1; /* 변경된 부분 */
  background-color: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  padding: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
  -webkit-appearance: none; /* Safari와 같은 일부 브라우저에서도 적용되도록 합니다. */
}

.app-card-select option {
  /* 각 옵션의 스타일을 지정합니다. */
  padding: 10px;
  background-color: var(--content-bg); /* 배경색을 원하는 색으로 지정합니다. */
  color: grey;
  cursor: pointer;
  font-size: 16px;
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  body {
    padding: 0.8em;
  }
}
.video-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  /* background: linear-gradient(360deg, rgba(0, 255, 0, 0.72) 0%, rgba(0, 124, 19, 0.45) 100%);
  backdrop-filter: saturate(2);*/
}

.lefttext {
  display: flex;
  position: fixed;
  top: 200px;
  left: 270px;
  padding: 100px 0;
  width: 100%;
  height: 100%;

  flex-direction: column;
  color: rgb(86, 81, 81);
}

.video-bg {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* background: inherit;  */
  filter: hue-rotate(225deg) saturate(1);
}

/* 225 - > 파랑 초록 , 180 - > 초록 , 갈색 */

img {
  max-width: 100%;
}
.content-section-history {
  display: flex;
  flex-wrap: wrap; /* 너비를 벗어나면 다음 줄로 넘어가도록 설정 */
  align-items: flex-start; /* 각 행의 아이템이 위쪽에 정렬되도록 설정 */
  flex: 1;
  margin-bottom: 900px;
}

.content-section-title-history {
  flex: 1; /* 각 요소가 동일한 너비를 가지도록 함 */
  display: inline-block;
  color: var(--content-title-color);
  font-weight: bold;
  vertical-align: top;
  margin-right: 15px;
  margin-bottom: 15px;
}

.app-card-history {
  flex: 1;
  font-size: 16px;
  display: inline-block;
  background-color: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  padding: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 15px;
  margin-right: 15px;
  width: calc(25% - 15px); /* 기본 너비 설정 */
}

.app-card-history:hover {
  overflow: auto;
}

.context-menu {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  z-index: 10000;
  min-width: 150px;
  display: none;
}

.context-menu-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.context-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.context-menu-item.delete {
  color: #e74c3c;
}

.context-menu-item.delete:hover {
  background-color: rgba(231, 76, 60, 0.2);
}

.context-menu-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 태블릿 크기 */
@media screen and (max-width: 1024px) {
  .app-card-history {
    width: calc(33.33% - 15px);
    font-size: 14px;
  }
}

/* 모바일 크기 */
@media screen and (max-width: 768px) {
  .app-card-history {
    width: calc(50% - 15px);
    font-size: 12px;
  }
}

/* 작은 모바일 크기 */
@media screen and (max-width: 480px) {
  .app-card-history {
    width: 100%;
    margin-right: 0;
    font-size: 12px;
  }
}

.mobile-menu-icon {
  position: fixed;
  bottom: 50px;
  right: 30px;
  color: #ffffff;
  background-color: var(--dropdown-bg);
  box-shadow: -1px 3px 8px -1px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 50%;
  z-index: 3;
  cursor: pointer;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.music-play {
  position: fixed;
  bottom: 50px;
  right: 30px;
  background-color: var(--dropdown-bg);
  box-shadow: -1px 3px 8px -1px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 50%;
  z-index: 3;
  cursor: pointer;
}
.music-play svg {
  width: 24px;
  flex-shrink: 0;
  fill: #ffffff;
  stroke: #ffffff;
  transition: 0.5s;
}
#playable {
  /* 추가한 스타일 */
  /* display: flex; */
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
}

.light-mode .music-play svg {
  fill: transparent;
  stroke: var(--theme-color);
}
.light-mode .profile-img {
  border: 2px solid var(--theme-bg-color);
}
.light-mode .content-section ul {
  background-color: var(--theme-bg-color);
}
.light-mode .pop-up__title {
  border-color: var(--theme-color);
}
.light-mode .dropdown.is-active ul {
  background-color: rgba(255, 255, 255, 0.94);
}

/* body.light-mode:before,
body.light-mode .video-bg:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.45) 100%
  );
  backdrop-filter: saturate(3);
} */
.discord-messages {
  color: #fff;
  background-color: #36393e;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  line-height: 170%;
  border-radius: 17px;
}
.discord-message {
  color: #dcddde;
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  margin: 1em 0;
  padding: 0.25em 1em 0;
}
.discord-message .discord-message-content {
  display: flex;
  width: 100%;
  line-height: 160%;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.discord-message .discord-author-avatar {
  margin-top: 1px;
  margin-right: 16px;
  min-width: 40px;
}
.discord-message .discord-author-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.discord-message .discord-message-body {
  position: relative;
  width: 100%;
}
.discord-message .discord-author-info {
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
}
.discord-message .discord-author-info .discord-author-username {
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.discord-message .discord-author-info .discord-author-bot-tag {
  background-color: #5865f2;
  font-size: 0.65em;
  margin-left: 5px;
  padding: 3px 4px;
  border-radius: 3px;
  line-height: 100%;
  text-transform: uppercase;
}
.discord-message .discord-message-content .discord-message-timestamp {
  color: #72767d;
  font-size: 12px;
  margin-left: 3px;
}
.discord-embed {
  color: #dcddde;
  display: flex;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 150%;
}
.discord-embed .discord-embed-left-border {
  background-color: #202225;
  flex-shrink: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.discord-embed .discord-embed-container {
  background-color: #2f3136;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  padding: 8px 16px 16px;
  border: 1px solid rgba(46, 48, 54, 0.6);
  border-radius: 0 4px 4px 0;
}
.discord-embed .discord-embed-content {
  display: flex;
}
.discord-embed .discord-embed-content .discord-embed-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}
.discord-embed .discord-embed-content .discord-embed-description {
  margin-top: 8px;
}
.discord-embed-description {
  border: none;
  background-color: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  resize: none;
  white-space: pre-wrap; /* 줄바꿈과 공백 유지 */
  word-wrap: break-word; /* 긴 단어 줄바꿈 */
  overflow-wrap: break-word; /* 최신 브라우저 지원 */
}
.loginapp {
  background-color: var(--theme-bg-color);
  width: 50%; /* 최대 너비를 1500픽셀로 설정 */
  max-height: 700px;
  height: 100vh;
  right: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: fixed;
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 15px;
  font-weight: 500;
}

.circle {
  width: 8px;
  height: 8px;
  background-color: #d9d9d9;
  border-radius: 50%;
  margin-right: 10px;
}

.app {
  background-color: var(--theme-bg-color);
  max-width: 1250px;
  max-height: 860px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 15px;
  font-weight: 500;
}

/* .header-title {

} */
.header {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-content: space-between;
  height: 58px;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  white-space: nowrap;
}
.header-left {
  width: 240px; /* left-side와 동일한 너비 */
  display: flex;
  gap: 10px;
  color: var(--theme-color);
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid var(--border-color);
  height: 100%;
}

.header-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 30px;
}

.header-right {
  padding: 0 30px;
  display: flex;
  align-items: center;
}

/* 기존 .header-menu 스타일 유지 (수정 없음) */
.header-menu {
  display: flex;
  align-items: center;
}
.header-menu a {
  padding: 20px 30px;
  text-decoration: none;
  color: var(--inactive-color);
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}
.header-menu a.is-active,
.header-menu a:hover {
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
}

@media screen and (max-width: 480px) {
  .header {
    padding: 0 16px;
  }
}
.header-menu {
  display: flex;
  align-items: center;
}
.header-menu a {
  padding: 20px 30px;
  text-decoration: none;
  color: var(--inactive-color);
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}
.header-menu a.is-active,
.header-menu a:hover {
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
}

.notify {
  position: relative;
}
.notify:before {
  content: "";
  position: absolute;
  background-color: #3a6df0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  right: 20px;
  top: 16px;
}
/* @media screen and (max-width: 1055px) {
  .notify {
    display: none;
  }
} */

.search-bar {
  height: 40px;
  display: flex;
  width: 100%;
  max-width: 400px;
  padding-left: 16px;
  border-radius: 4px;
}
.search-bar input {
  width: 100%;
  height: 100%;
  border: none;
  background-color: var(--search-bg);
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  padding: 0 20px 0 40px;
  box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 16px 48%;
  color: var(--theme-color);
}
.search-bar input::placeholder {
  font-family: var(--body-font);
  color: var(--inactive-color);
  font-size: 15px;
  font-weight: 500;
}

.header-profile {
  flex-shrink: 0;
  margin-right: 200px; /* 오른쪽 여백을 조절합니다. */
}
.header-profile svg {
  width: 22px;
  color: #f9fafb;
  flex-shrink: 0;
}

.notification {
  position: relative;
}
.notification-number {
  position: absolute;
  background-color: #3a6df0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  right: -6px;
  top: -6px;
}
.notification + svg {
  margin-left: 22px;
}
@media screen and (max-width: 945px) {
  .notification + svg {
    display: none;
  }
}

.dark-light svg {
  width: 24px;
  height: 24px;
  color: #000;
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(#595a5a);
  margin-left: 22px;
}

.rotating {
  animation: rotate 7s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.wide .header-menu,
.wide .header-profile {
  display: none;
}
.wide .search-bar {
  max-width: 600px;
  margin: auto;
  transition: 0.4s;
  box-shadow: 0 0 0 1px var(--border-color);
  padding-left: 0;
}
.wide .menu-circle {
  margin-right: 0;
}

.wrapper {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

.left-side {
  flex-basis: 240px;
  border-right: 1px solid var(--border-color);
  padding: 26px;
  overflow: auto;
  flex-shrink: 0;
}

.side-wrapper + .side-wrapper {
  margin-top: 20px;
}

.side-title {
  color: var(--inactive-color);
  margin-bottom: 14px;
}

.side-menu {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.side-menu a {
  text-decoration: none;
  color: var(--theme-color);
  display: flex;
  align-items: center;
  font-weight: 400;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  transition: 0.3s;
}
.side-menu a:hover {
  background-color: var(--hover-menu-bg);
}
.side-menu svg {
  width: 16px;
  margin-right: 8px;
}

.updates {
  position: relative;
  top: 0;
  right: 0;
  margin-left: auto;
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.main-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  height: 58px;
  flex-shrink: 0;
}
.main-header .header-menu {
  margin-left: 150px;
}
@media screen and (max-width: 1055px) {
  .main-header .header-menu {
    margin: auto;
  }
}
.main-header .header-menu a {
  padding: 20px 24px;
}

.main-container {
  display: flex;
  flex-direction: column;
  /* flex-grow: 1; */
  padding: auto;
}

.menu-link-main {
  text-decoration: none;
  color: var(--theme-color);
  padding: 0 30px;
}
@media screen and (max-width: 1055px) {
  .menu-link-main {
    display: none;
  }
}

@media screen and (max-width: 510px) {
  .content-wrapper {
    padding: 20px;
  }
}
.content-section-title-text {
  color: var(--content-title-color);
  margin-bottom: 27px;
  font-weight: bold;
  font-size: 20px;
}
.content-wrapper-header {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  /* background-image: url("https://www.transparenttextures.com/patterns/cubes.png"), linear-gradient(to right top, #cf4af3, #e73bd7, #f631bc, #fd31a2, #ff3a8b, #ff4b78, #ff5e68, #ff705c, #ff8c51, #ffaa49, #ffc848, #ffe652); */
  border-radius: 14px;
  padding: 25px 40px;
}
img {
  border-radius: 15px; /* 모서리 둥글게 설정 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 그림자 추가 */
  width: 1000px;
  height: 300px; /* 비율에 맞게 높이 자동 조절 */
}
.content-wrapper.overlay {
  pointer-events: none;
  transition: 0.3s;
  background-color: var(--overlay-bg);
}

.overlay-app {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: all;
  background-color: rgba(36, 39, 59, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.overlay-app.is-active {
  visibility: visible;
  opacity: 1;
}

.img-content {
  font-weight: 500;
  font-size: 17px;
  display: flex;
  align-items: center;
  margin: 0;
}
.img-content svg {
  width: 28px;
  margin-right: 14px;
}

.content-text {
  font-weight: 400;
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7em;
  color: #ebecec;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-wrapper-context {
  max-width: 350px;
}

.content-button {
  background-color: #4d22c5;
  border: none;
  padding: 8px 26px;
  color: #fff;
  border-radius: 7px;
  margin-top: 16px;
  cursor: pointer;
  transition: margin-left 1s ease; /* 마진 왼쪽 속성에 대한 1초 동안의 전환 효과를 추가합니다. */
  white-space: nowrap;
  display: inline-block;
  margin-left: 0; /* 초기 위치를 왼쪽 끝으로 설정합니다. */
}

.content-wrapper-img {
  width: 186px;
  object-fit: cover;
  margin-top: -25px;
  object-position: center;
}
@media screen and (max-width: 570px) {
  .content-wrapper-img {
    width: 110px;
  }
}

.content-section {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.content-section-title {
  color: var(--content-title-color);
  margin-bottom: 14px;
  font-weight: bold;
}
.content-section ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: space-around;
  background-color: var(--content-bg);
  padding-left: 0;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  cursor: pointer;
}
.content-section ul li {
  list-style: none;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  font-size: 16px;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  transition: 0.3s;
}
.content-section ul li:hover {
  background-color: var(--theme-bg-color);
}
.content-section ul li:hover:first-child {
  border-radius: 13px 13px 0 0;
}
.content-section ul li:hover:last-child {
  border-radius: 0 0 13px 13px;
}
.content-section ul li + li {
  border-top: 1px solid var(--border-color);
}
.content-section ul svg {
  width: 28px;
  border-radius: 6px;
  margin-right: 16px;
  flex-shrink: 0;
}

.balance-text {
  color: white; /* 글자 색을 흰색으로 설정합니다. */
  font-weight: bold; /* 글자를 굵게 설정합니다. */
  margin: 327px;
}
.products {
  display: flex;
  align-items: center;
  width: 875px;
  height: auto;
  white-space: break-all;
}

.products p {
  overflow-y: auto; /* 수직 스크롤을 추가하여 넘치면 스크롤이 나타남 */
  white-space: pre-line; /* 줄바꿈을 적용 */
}

.productss p {
  white-space: break-all;
}

p {
  margin: 0; /* 문단의 마진을 초기화하여 불필요한 여백을 없앱니다. */
  word-wrap: break-word; /* 긴 단어를 여러 줄에 걸쳐 나누어 줄바꿈합니다. */
  white-space: break-all;
  letter-spacing: 1px;
}
@media screen and (max-width: 480px) {
  .products {
    width: 120px;
  }
}

.status {
  margin-left: auto;
  width: 140px;
  font-size: 15px;
  position: relative;
}
@media screen and (max-width: 700px) {
  .status {
    display: none;
  }
}
.status-circle {
  width: 6px;
  height: 6px;
  background-color: #396df0;
  position: absolute;
  border-radius: 50%;
  top: 4px;
  left: -20px;
}
.status-circle.green {
  background-color: #3bf083;
}
.status-button {
  font-size: 15px;
  margin-top: 0;
  padding: 6px 24px;
}
@media screen and (max-width: 390px) {
  .status-button {
    padding: 6px 14px;
  }
}
.status-button.open {
  background: none;
  color: var(--button-inactive);
  border: 1px solid var(--button-inactive);
}
.status-button:not(.open):hover {
  color: #fff;
  border-color: #fff;
}

.content-button:not(.open):hover {
  background: #1e59f1;
}

.menu {
  width: 5px;
  height: 5px;
  background-color: var(--button-inactive);
  border-radius: 50%;
  box-shadow: 7px 0 0 0 var(--button-inactive),
    14px 0 0 0 var(--button-inactive);
  margin: 0 12px;
}

.dropdown {
  position: relative;
  height: 53px;
  width: 40px;
  top: -24px;
  display: flex;
  left: -5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.dropdown ul {
  position: absolute;
  background: var(--dropdown-bg);
  height: 110px;
  width: 120px;
  right: 0;
  top: 20px;
  pointer-events: none;
  opacity: 0;
  transform: translatey(10px);
  transition: all 0.4s ease;
}
.dropdown ul li a {
  text-decoration: none;
  color: var(--theme-color);
  font-size: 12px;
}

.dropdown.is-active ul {
  opacity: 1;
  pointer-events: all;
  transform: translatey(25px);
}
.dropdown.is-active ul li:hover {
  background-color: var(--dropdown-hover);
}

.button-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 187px;
  margin-left: auto;
}
@media screen and (max-width: 480px) {
  .button-wrapper {
    width: auto;
  }
}

.pop-up {
  position: absolute;
  padding: 30px 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
  z-index: 10;
  background-color: var(--popup-bg);
  width: 500px;
  visibility: hidden;
  opacity: 0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  white-space: normal;
}
@media screen and (max-width: 570px) {
  .pop-up {
    width: 100%;
  }
}
.pop-up.visible {
  visibility: visible;
  opacity: 1;
}
.pop-up__title {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pop-up__subtitle {
  white-space: normal;
  margin: 20px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8em;
}
.pop-up__subtitle a {
  color: var(--theme-color);
}

.content-button-wrapper .content-button.status-button.open.close {
  width: auto;
}

.content-section .close {
  margin-right: 0;
  width: 24px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
}
.checkbox-wrapper + .checkbox-wrapper {
  margin: 20px 0 40px;
}

.checkbox {
  display: none;
}

.checkbox + label {
  display: flex;
  align-items: center;
}
.checkbox + label:before {
  content: "";
  margin-right: 10px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--theme-color);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox:checked + label:before {
  background-color: #3a6df0;
  border-color: #3a6df0;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3e%3cpath d='M20 6L9 17l-5-5'/%3e%3c/svg%3e");
  background-position: 50%;
  background-size: 12px;
  background-repeat: no-repeat;
}

.content-button-wrapper {
  margin-top: auto;
  margin-left: auto;
}
.content-button-wrapper .open {
  margin-right: 8px;
}

.app-card-cultureland {
  /* display: flex; */
  flex-direction: column;
  width: 136px;
  font-size: 16px;
  /* flex-grow: 1; */
  background-color: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  padding: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
  margin-left: 20px;
}

.app-card-cultureland:first-child {
  margin-left: 0; /* 첫 번째 요소에는 마진을 주지 않음 */
}

.apps-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0px;
}

@media screen and (max-width: 1024px) {
  .apps-card {
    justify-content: space-between;
  }
}

@media screen and (max-width: 768px) {
  .apps-card {
    flex-direction: column;
    align-items: stretch;
  }
}

.app-card {
  /* display: flex; */
  flex-direction: column;
  width: calc(33.3% - 20px);
  font-size: 16px;
  flex-grow: 1; /* 변경된 부분 */
  background-color: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  padding: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
}

.app-modal-content {
  /* display: flex; */
  flex-direction: column;

  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */

  font-size: 16px;
  flex-grow: 1; /* 변경된 부분 */
  background-color: rgb(24, 25, 32);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
}

.product-card {
  /* display: flex; */
  flex-direction: column;
  width: calc(33.3% - 20px);
  height: 400px;
  font-size: 16px;
  flex-grow: 1; /* 변경된 부분 */
  background-color: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  padding: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
  resize: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  color: var(--theme-color);
  padding: 20px 40px;
  height: 100%;
  overflow: hidden;
  flex-grow: 1;
  background-color: var(--theme-bg-color);
}

.content-wrapper-bank {
  display: flex;
  flex-direction: column;
  color: var(--theme-color);
  padding: 20px 40px;
  height: 100%;
  overflow: hidden;
  flex-grow: 1;
  background-color: var(--theme-bg-color);
  padding-right: 410px;
}

.content-wrapper-store {
  display: flex;
  flex-direction: column;
  color: var(--theme-color);
  padding: 20px 40px;
  height: 100%;
  overflow: hidden;
  flex-grow: 1;
  background-color: var(--theme-bg-color);
}

.apps-card-store {
  gap: 40px; /* 각 .app-card-store 사이의 간격 조절 */
  display: flex;
  flex-wrap: wrap; /* 가로로 나열하면서 필요한 경우 자동으로 다음 줄로 내려감 */
  overflow-x: auto; /* 가로 스크롤이 필요한 경우 스크롤을 보이도록 설정 */
}

.app-card-store {
  flex-grow: 1;
  flex-basis: 0;
  font-size: 16px;
  background-color: var(--content-bg);
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  padding: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  /* margin-left: 15px; */
  box-sizing: border-box; /* 패딩과 테두리를 포함한 전체 크기를 설정 */
}

.app-card-store:first-child {
  margin-left: 0; /* 첫 번째 요소에는 마진을 주지 않음 */
}

.app-card-store span {
  display: flex;
  align-items: center;
}

.app-card-store .button-content {
  margin-right: 15px; /* 텍스트와 버튼 사이의 간격 조절 */
}

/*  */

.app-card:hover {
  transform: scale(1.02);
  background-color: var(--theme-bg-color);
}
.app-card svg {
  width: 28px;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
}
.app-card + .app-card {
  margin-left: 20px;
}
.app-card span {
  display: flex;
  align-items: center;
}
.app-card__subtext {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6em;
  margin-top: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.app-card-buttons {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-top: 16px;
}

@media screen and (max-width: 1023px) {
  .app {
    height: 675px;
    margin-right: 20px;
  }
  .lefttext {
    top: 720px; /* 수직 가운데 정렬 */
    left: 50px; /* 수평 가운데 정렬 */
  }

  .loginapp {
    width: 90%;
    left: 20px;
    height: 100%;
  }
  .login-button {
    width: 282px;
  }
  .login-image img {
    display: none;
  }
  .reg-image img {
    display: none;
  }
  .reg-button {
    width: 282px;
  }
  .content-section-title-history {
    margin-right: 20px;
  }
  .app-card-history {
    font-size: 12px;
    overflow: auto;
    width: 100px;
  }
  .content-section-history .apps-card {
    display: flex;
    overflow-x: auto;
  }
  .app-card-cultureland {
    margin-left: 0px;
    margin-top: 5px;
    overflow: auto;
  }
  .content-section-title {
    display: flex;
    width: 200px;
  }
  .break-all {
    font-size: 11px;
  }
  .apps-card-store {
    flex-wrap: nowrap;
    width: auto;
  }
  .content-wrapper-header {
    padding: 20px;
  }
  .content-wrapper-header img {
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 244px;
    height: 79px;
  }
  .balance-text {
    color: white;
    font-weight: bold;
    margin: 33px;
  }
  .left-side {
    display: none;
  }
  .music-play {
    display: none;
  }
  .mobile-menu-icon {
    display: block;
  }
  .apps-card {
    display: block;
  }
  .app-card {
    width: 280px;
  }
  .product-card {
    /* display: flex; */
    flex-direction: column;
    width: 280px;
    height: 400px;
    font-size: 16px;
    flex-grow: 1; /* 변경된 부분 */
    background-color: var(--content-bg);
    border-radius: 14px;
    border: 1px solid var(--theme-bg-color);
    padding: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    overflow: hidden;
    resize: none;
  }
  .app-card + .app-card {
    margin-left: 0px;
    margin-top: 20px;
  }
  .menu-link {
    display: none;
  }
  .profile-img {
    display: none;
  }
  .balance-text {
    margin: -124px;
  }
}

@media screen and (max-width: 1024px) and (max-height: 600px) {
  .app-card {
    width: calc(50% - 20px);
  }
  .content-wrapper-header img {
    height: 202px;
  }
  .app-card:last-child {
    margin-top: -3px;
    margin-left: 15px;
  }
  .content-wrapper-bank {
    padding-top: 0px;
    padding-right: 410px;
  }
  .balance-text {
    color: white;
    font-weight: bold;
    margin: 39px;
  }

  .product-card {
    /* display: flex; */
    flex-direction: column;
    width: calc(50% - 20px);
    height: 400px;
    font-size: 16px;
    flex-grow: 1; /* 변경된 부분 */
    background-color: var(--content-bg);
    border-radius: 14px;
    border: 1px solid var(--theme-bg-color);
    padding: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    overflow: hidden;
    resize: none;
  }
}

::-webkit-scrollbar {
  width: 6px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
  border-radius: 10px;
}
