/*  */

.bubble-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem;
  padding: 2rem;
  perspective: 1000px;
  width: 1000px; /* 使用完整寬度 */
}

/* 首先擴大容器寬度利用空間 */
.projects-section-div {
  width: 90%; /* 改為90%寬度 */
  max-width: 1800px; /* 設定最大寬度 */
  margin: 0 auto;
}

/* 加入更細緻的響應式斷點 */
@media (max-width: 1400px) {
  .bubble-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
  }
  .technical-pm-section .bookshelf {
    grid-template-columns: repeat(3, 1fr); /* 3個 */
  }
}

@media (max-width: 1024px) {
  .bubble-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 25px;
  }
  .technical-pm-section .bookshelf {
    grid-template-columns: repeat(2, 1fr); /* 2個 */
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .bubble-container {
    grid-template-columns: repeat(2, 1fr); /* 平板顯示2個 */
    gap: 20px;
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .bubble-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .memory-bubble {
    max-width: 80vw; /* 手機版限制最大寬度 */
    margin: 0 auto;
  }
  .technical-pm-section .bookshelf {
    grid-template-columns: repeat(1, 1fr); /* 1個 */
    gap: 30px;
  }
}
/* 為了避免在小螢幕上破版，添加響應式設計 */
@media (max-width: 1200px) {
  .bubble-container {
    grid-template-columns: repeat(3, 1fr); /* 中等螢幕顯示3個 */
    gap: 30px;
    padding: 30px;
  }
  .technical-pm-section .bookshelf {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .bubble-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
  }
}
.memory-bubble {
  position: relative;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  width: 100%; /* 使用容器完整寬度 */
  max-width: none; /* 移除最大寬度限制 */
}
@media (max-width: 480px) {
  .technical-pm-section .book-image-container {
    height: 80px;
  }
  .technical-pm-section .bookshelf {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
  }

  .technical-pm-section .book {
    height: 190px;
  }

  .technical-pm-section .book-title {
    font-size: 1.4rem;
  }
  .memory-bubble {
    max-width: 280px;
  }
  .system-filter {
    gap: 0.8rem;
  }

  .system-filter-btn {
    padding: 0.8rem 1.4rem;
    font-size: 1.2rem;
    margin: 0.2rem;
  }

  .bubble-container {
    grid-template-columns: repeat(1, 1fr); /* 手機顯示1個 */
    gap: 1.5rem;
  }

  .bubble-title {
    font-size: 1.2rem;
  }
}
.bubble {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 視頻容器調整 */
.video-container {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  overflow: hidden;
}

.video-thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bubble video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  will-change: opacity;
}
/* 標題樣式調整 */
.bubble-title {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.6rem; /* 更大的字體 */
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  width: 100%;
}

/* 互動效果 */
.memory-bubble:hover {
  transform: translateY(-5px);
}
/* .bubble-title {
  position: absolute;
  bottom: -40px;
  color: white;
  font-size: 1.25rem;
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity;
} */

.memory-bubble .tooltip {
  position: absolute;
  bottom: 120%; /* 調整到更上方的位置 */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 15px;
  z-index: 9999; /* 確保最高層級 */
}

/* Hover 效果 */
.memory-bubble:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateZ(50px); /* 確保tooltip在3D空間中的位置 */
}

/* 添加小箭頭 */
.memory-bubble .tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.7);
}

/* 確保氣泡本身的 z-index 較低 */
.bubble {
  position: relative;
  z-index: 1;
  transform-style: flat; /* 改為flat以避免3D層級問題 */
}

.memory-bubble:hover .bubble {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.memory-bubble:hover .video-container {
  transform: translateZ(50px) rotate(-8deg) scale(1.05);
}

.memory-bubble:hover .bubble-title {
  opacity: 1;
}
.memory-bubble:hover .video-thumbnail {
  transform: scale(1.1);
}
.memory-bubble.playing .video-thumbnail {
  opacity: 0;
}

.memory-bubble.playing .bubble video {
  opacity: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -15px, 0) rotate(2deg);
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px; /* 可根据需要调整 */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.95) translateY(20px);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-radius: 24px;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.active .modal-content {
  opacity: 1;
  transform: scale(1.4) translateY(0);
}

/* 確保視頻容器比例 */
.modal-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
}

.modal-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.modal-title {
  color: white;
  font-size: 1.8rem;
  text-align: center;
  margin-top: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: 0.5px;
}
/* 系統類型篩選按鈕樣式 */
.system-filter {
  display: flex;
  flex-wrap: wrap; /* 添加此行使按鈕可以換行 */
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 0 2rem;
}

.system-filter-btn {
  padding: 1.2rem 2.4rem;
  border-radius: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0.5rem; /* 添加按鈕間距 */
  flex: 0 1 auto; /* 讓按鈕可以自動調整大小 */
}

.system-filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.system-filter-btn:hover::before {
  left: 100%;
}

.system-filter-btn.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateZ(0) scale(1.1);
}

.close-button:active {
  transform: translateZ(0) scale(0.95);
}

/* 自訂滾動條樣式 */
/* 修改滾動條樣式，使其更加緊湊 */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  margin: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  transition: background 0.3s ease;
}

/* 響應式優化 */
@media (max-width: 768px) {
  .system-filter {
    gap: 1rem;
    padding: 0 1rem;
  }

  .system-filter-btn {
    padding: 1rem 1.8rem;
    font-size: 1.4rem;
    margin: 0.3rem;
  }

  .bubble-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
  }
  .modal-content {
    width: 95%;
    padding: 15px;
    max-height: 85vh; /* 移動設備稍微降低高度 */
  }

  .modal-video-container {
    border-radius: 12px;
  }

  .close-button {
    right: 10px;
    top: 10px;
  }
}

/* 防止背景滾動的樣式 */
body.modal-open {
  overflow: hidden;
}

@media (max-height: 600px) {
  .modal-content {
    max-height: 95vh;
  }
}

/* 調整容器寬度 */
.technical-pm-section .bookshelf-container {
  width: 55vw;
  /* max-width: 1800px; */
  margin: 0 auto;
  padding: 20px;
}

.technical-pm-section .header {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.technical-pm-section .category-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding: 10px;
}

.technical-pm-section .category-btn {
  position: relative;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.1),
    rgba(52, 152, 219, 0.05)
  );
  color: #fff;
  cursor: pointer;
  font-size: 1.6em;
  font-weight: 500;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.technical-pm-section .category-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0),
    rgba(52, 152, 219, 0.3)
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.technical-pm-section .category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2),
    0 10px 30px rgba(52, 152, 219, 0.15);
}

.technical-pm-section .category-btn:hover::before {
  transform: translateX(100%);
}

.technical-pm-section .category-btn.active {
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 1),
    rgba(41, 128, 185, 1)
  );
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3),
    0 10px 30px rgba(52, 152, 219, 0.2);
}

.technical-pm-section .category-btn:active {
  transform: translateY(1px);
}

.technical-pm-section .filter-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  /* max-width: 600px; */
  margin: 0 auto 20px;
}

.technical-pm-section .search-bar {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 12px 20px;
  border-radius: 15px;
  border: 2px solid rgba(52, 152, 219, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 2.8em;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.technical-pm-section .search-bar:focus {
  outline: none;
  border-color: rgba(52, 152, 219, 0.8);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.technical-pm-section .bookshelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 固定顯示4個 */
  gap: 60px; /* 增加間距 */
  padding: 20px;
  width: 100%;
  margin: 0 auto;
}
/* 調整書本尺寸 */
.technical-pm-section .book {
  height: 260px;
  width: 100%;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.technical-pm-section .book:hover {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25), 0 9px 20px 0 rgba(0, 0, 0, 0.45);
}

.technical-pm-section .book:hover .book-cover {
  transform: rotateY(-20deg);
}
.technical-pm-section .book-content {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.technical-pm-section .book-image-wrapper {
  margin: 15px -20px; /* 負margin使圖片容器延伸到邊緣 */
  position: relative;
  height: 120px;
  overflow: hidden;
}
.technical-pm-section .book::after,
.technical-pm-section .book::before {
  content: "";
  display: block;
  width: inherit;
  height: inherit;
  position: absolute;
  z-index: -1;
  top: 0;
  background: #fff2d1;
  border: 1px solid #e6e6e6;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.technical-pm-section .book::before {
  left: -3px;
}

.technical-pm-section .book::after {
  left: -6px;
}

.technical-pm-section .book-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform-origin: left;
  transition: transform 0.5s;
  overflow: hidden;
}

/* 調整文字顏色和陰影以增加對比度 */
.technical-pm-section .book-title {
  color: #e1e1e1; /* 淺色但不是純白 */
  font-size: 1.8rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* 加重陰影 */
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明背景 */
  padding: 5px 10px;
  border-radius: 5px;
}
.technical-pm-section .book-image-container {
  position: relative;
  height: 120px;
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
  transform: translateZ(20px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.technical-pm-section .book-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  transform: translateZ(20px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.technical-pm-section .book:hover .book-image {
  transform: translateZ(20px) scale(1.05);
}
.technical-pm-section .book-author {
  font-size: 0.9em;
  color: #7f8c8d;
  margin-bottom: 8px;
}

.technical-pm-section .book-category {
  background: rgba(52, 152, 219, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 1.4rem;
  display: inline-block;
  backdrop-filter: blur(5px);
  z-index: 2;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.technical-pm-section .book-spine {
  position: absolute;
  left: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.3),
    rgba(52, 152, 219, 0.1)
  );
  transform: translateX(-20px);
  border-radius: 3px 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-pm-section .viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}
.viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.viewer-content {
  flex: 1;
  overflow: hidden;
  padding: 0;
}

.viewer-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.close-btn:hover {
  color: #666;
}

#pdf-viewer {
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
}

#pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.technical-pm-section .viewer-header {
  width: 100%;
  padding: 15px;
  background: #2c3e50;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.technical-pm-section .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px 15px;
}

.technical-pm-section .viewer-content {
  flex: 1;
  width: 100%;
  height: calc(100% - 60px);
  background: white;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.technical-pm-section .pdf-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.technical-pm-section #pdf-viewer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #525659;
  overflow-y: auto;
  padding: 20px;
}

.technical-pm-section .pdf-page {
  margin: 10px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.technical-pm-section .pdf-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 62, 80, 0.9);
  padding: 10px 20px;
  border-radius: 20px;
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.technical-pm-section .pdf-controls button {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
}

.technical-pm-section .pdf-controls button:hover {
  background: #2980b9;
}

.technical-pm-section .pdf-controls button:disabled {
  background: #95a5a6;
  cursor: not-allowed;
}

.technical-pm-section .page-num {
  color: white;
  margin: 0 10px;
  line-height: 32px;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .technical-pm-section .book-image-container {
    height: 100px;
  }
  .technical-pm-section .book {
    width: 120px;
    height: 200px;
  }

  .technical-pm-section .book-title {
    font-size: 1.6rem;
  }

  .technical-pm-section .book-category {
    font-size: 0.7em;
  }
  .technical-pm-section .bookshelf {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
  }

  .technical-pm-section .book-author {
    font-size: 0.8em;
  }

  .technical-pm-section .category-filter {
    gap: 10px;
  }

  .technical-pm-section .category-btn {
    padding: 8px 16px;
    font-size: 1.4em;
  }

  .technical-pm-section .search-bar {
    font-size: 1.4em;
    padding: 10px 15px;
  }

  .technical-pm-section .pdf-controls {
    padding: 8px 15px;
  }

  .technical-pm-section .pdf-controls button {
    padding: 6px 12px;
    font-size: 0.8em;
  }
}
/*  */
#labelforsetting,
#labelforvisualmode,
#switchforvisualmode:checked + #labelforvisualmode {
  background-repeat: no-repeat;
  background-position: center;
}
#labelforsetting,
#labelforsound {
  height: 40px;
  background-size: 60%;
}
#preloader,
.invertapplied,
.invertsettinglabel {
  filter: invert(1);
}
#preloader,
noscript {
  width: 100%;
  height: 100%;
}
body {
  background-color: var(--color-black) !important;
}
body,
noscript {
  background-color: var(--color-dark-mode);
}
.main,
body {
  overflow-x: hidden;
}
#backtotopbutton article,
:root {
  font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
}
.eye,
.image-div,
.logo,
.navbar,
.project-box,
.resume-btn,
footer {
  overflow: hidden;
}
.cta,
.github-redirect,
.navbar-tabs-ul a {
  text-decoration: none;
}
#GmailLogo,
.sign svg path {
  fill: white;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background-color: transparent;
}
::-moz-selection {
  background: 0 0;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:root {
  cursor: default;
  --color-white: #fff;
  --color-black: #000;
  --color-dark-mode: #11111b;
  --color-light-mode: #ece7e1;
  --color-ddd-color: #ddd;
  --color-gray: #c4c4c4;
  --color-purple: #8000ff;
  --color-light-purple: #cf59e6;
  --color-light-blue: #6bc5f8;
  --color-navbarBorder-dark: #e2e2e207;
  --color-shadowDark: rgba(0, 0, 0, 0.137);
  --static-heading-gradient-blue: #b0f3f1;
  --static-heading-gradient-pink: #ffcfdf;
  --tech-stack-box-first-color: #1a1a29;
  --tech-stack-box-second-color: rgba(27, 27, 40, 0);
  --tech-stack-box-border-color: #292929;
}
#hello-friend,
.footer-bottom article,
.getintouch-heading article,
.language-speak article,
.navbar-tabs-ul li,
.two-words article {
  font-family: fira code;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #0a0a10;
}
::-webkit-scrollbar-thumb {
  background-color: #8000ff;
}
.cursor-inner {
  width: 8px;
  height: 8px;
  background-color: var(--color-light-blue);
}
.cursor-outer {
  width: 35px;
  height: 35px;
  border: 2px solid #fff;
}
.cursor-inner,
.cursor-outer {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}
.setting-container,
.settingactivate {
  transform-origin: left;
  transition-duration: 0.5s;
}
.cursor-inner.hover {
  width: 25px;
  height: 25px;
  transition: 0.2s;
  mix-blend-mode: difference;
}
.cursor-outer.hover {
  width: 50px;
  height: 50px;
  transition: 0.2s;
}
.activeThistab:before,
.navbar-tabs-ul li:hover:before {
  background-color: var(--color-white);
  height: 10px;
  width: 10px;
  left: -20px;
}
.light-mode {
  --color-dark-mode: #ece7e1;
  --color-black: #fff;
  --color-white: #000;
  --color-ddd-color: rgb(31, 31, 31);
  --color-navbarBorder-dark: #d1d6eb;
  --static-heading-gradient-blue: #0f7878;
  --static-heading-gradient-pink: #f09bb9;
  --color-shadowDark: #e2ddd7;
  --tech-stack-box-first-color: #e7e2db;
  --tech-stack-box-second-color: #ece7e100;
  --tech-stack-box-border-color: #dad5cf;
}
.setting-container {
  width: 60px;
  height: 50px;
  margin-left: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}
#labelforsetting {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background-image: url(src/svg/settings-svgrepo-com.svg);
  transition-duration: 0.5s;
  cursor: pointer;
}
.soundtogglebuttoncontainer,
.visualmodetogglebuttoncontainer {
  align-items: center;
  width: fit-content;
  transition-duration: 0.3s;
}
.settingactivate {
  width: 200px;
}
.visualmodetogglebuttoncontainer {
  height: fit-content;
  display: flex;
  justify-content: center;
  transform: translate(-50px) scale(0);
}
.visualmodeshow {
  transition-duration: 0.3s;
  transform: translate(0) scale(1);
}
#switchforsetting,
#switchforsound,
#switchforvisualmode,
.hamburger,
.mobiletogglemenu {
  display: none;
}
#switchforsetting:checked + #labelforsetting {
  transform: rotate(180deg);
  transition-duration: 0.5s;
}
#labelforvisualmode {
  position: relative;
  width: 40px;
  height: 40px;
  background-image: url(src/png/crescent-moon.png);
  background-size: 50%;
  transition-duration: 0.5s;
  cursor: pointer;
}
#switchforvisualmode:checked + #labelforvisualmode {
  transform: rotate(360deg);
  transition-duration: 0.5s;
  background-image: url(src/png/sun.png);
  background-size: 60%;
}
.soundtogglebuttoncontainer {
  height: fit-content;
  display: flex;
  justify-content: center;
  transform: translate(-130px) scale(0);
}
#labelforsound,
#preloader {
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
}
.soundmodeshow {
  transition-delay: 0.1s;
  transition-duration: 0.5s;
  display: inline-block;
  transform: translate(0) scale(1);
}
.logo,
.logo:hover {
  transition-duration: 1s;
}
#labelforsound {
  position: relative;
  justify-content: center;
  width: 40px;
  background-image: url(src/svg/Mute_Icon.svg);
  cursor: pointer;
  transition-duration: 0.5s;
}
#switchforsound:checked + #labelforsound {
  transition-duration: 0.5s;
  background-image: url(src/svg/Speaker_Icon.svg);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
header {
  width: 100%;
  height: 115px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#preloader {
  background-color: #fff;
  position: fixed;
  z-index: 99999;
  justify-content: center;
  overflow-y: hidden;
  background-image: url(src/svg/Pulse-0.4s-200px.svg);
  background-size: 10%;
}
.navbar,
noscript {
  display: flex;
  align-items: center;
  position: fixed;
}
#name,
.getintouch-heading article {
  background: -webkit-linear-gradient(
    135deg,
    var(--color-light-blue),
    var(--color-light-purple),
    var(--color-light-blue),
    var(--color-light-purple)
  );
  -webkit-text-fill-color: transparent;
}
noscript {
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  z-index: 999999;
}
.fakenavbar {
  height: 0;
  width: 0%;
  background-color: transparent;
}
.navbar {
  background-image: linear-gradient(
    to bottom right,
    var(--tech-stack-box-first-color),
    var(--tech-stack-box-second-color)
  );
  backdrop-filter: blur(10px);
  height: 80px;
  width: 80%;
  padding: 0 20px;
  justify-content: space-between;
  z-index: 999;
  border: 1px solid var(--color-navbarBorder-dark);
  border-radius: 50px;
}
.navbar-tabs,
.navbar-tabs-ul {
  height: 100%;
  align-items: center;
}
.logo,
.navbar-tabs-ul li {
  position: relative;
  display: flex;
}
.navbar-tabs {
  display: flex;
  width: 80%;
}
.navbar-tabs-ul {
  width: 100%;
  display: flex;
  list-style: none;
  justify-content: flex-end;
  gap: 80px;
  color: var(--color-white);
}
.navbar-tabs-ul li {
  width: fit-content;
  height: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.navbar-tabs-ul li:hover:before {
  content: "";
  position: absolute;
  border-radius: 5px;
  z-index: -1;
}
.navbar-tabs-ul a {
  color: var(--color-white);
  font-weight: 100;
}
.logo {
  width: 10%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.face,
.logo-top {
  width: 100%;
  align-items: center;
  display: flex;
}
.hey {
  color: #fff;
  position: absolute;
  font-size: 2.5rem;
  font-weight: 300;
  background-color: #20222e;
  padding: 5px 10px;
  border-radius: 20px;
  left: 120px;
  bottom: 80px;
  opacity: 0;
}
#hello-friend,
#work,
.about-info p,
.activeThistab,
.language-speak article {
  color: var(--color-white);
}
.blob,
.eye,
.pupil {
  border-radius: 50%;
}
.popup {
  animation: 3s linear pop-up;
}
@keyframes pop-up {
  from {
    bottom: -50px;
    left: 50px;
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.logo-top {
  height: 100%;
  justify-content: center;
  transform-origin: bottom;
  position: relative;
}
.activeThistab:before,
.face {
  content: "";
  position: absolute;
}
.logo-top img {
  height: 100%;
  z-index: 2;
}
.face {
  height: 74%;
  bottom: 0;
  justify-content: center;
  gap: 5px;
  z-index: 1;
  padding-left: 1px;
}
.eye {
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
.left-eye {
  box-shadow: -1px -2px 2px rgba(0, 0, 0, 0.589) inset;
}
.right-eye {
  box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.589) inset;
}
.pupil {
  width: 3.5px;
  height: 3.5px;
  background: #241010;
}
.logo:hover {
  transform: translateY(200px);
}
.activeThistab:before {
  border-radius: 50%;
  z-index: -1;
}
.dp::after,
.dp::before {
  height: 300px;
  z-index: -2;
  content: "";
}
.main {
  width: 100%;
  height: fit-content;
  position: relative;
}
.blob {
  position: absolute;
  right: -15%;
  top: 0;
  background-color: var(--color-light-purple);
  width: 600px;
  height: 100vh;
  filter: blur(300px);
  opacity: 0.3;
  animation: 1s linear infinite alternate-reverse breath;
}
@keyframes breath {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.5;
  }
}
.landing-page-container {
  width: 100%;
  height: calc(100vh - 115px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.text-content {
  display: flex;
  flex-direction: column;
  width: 60%;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
}
#hello-friend {
  font-size: 3.5rem;
  font-weight: 600;
  width: fit-content;
  display: flex;
  align-items: flex-end;
}
#name,
#work {
  font-size: 8rem;
  width: fit-content;
}
#name,
#work,
.letsTalkBtn-text {
  display: flex;
  font-weight: 700;
}
@-webkit-keyframes vibrate-1 {
  0%,
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
}
@keyframes vibrate-1 {
  0%,
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
}
#name {
  align-items: flex-start;
  background: linear-gradient(
    -45deg,
    var(--color-light-blue),
    var(--color-light-purple),
    var(--color-light-blue),
    var(--color-light-purple)
  );
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 400% 400%;
  -webkit-animation: 3s infinite gradient;
  animation: 3s infinite gradient;
}
@keyframes gradient {
  0%,
  100% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
#work {
  align-items: flex-start;
  flex-wrap: wrap;
}
#info-para,
.about-info p {
  font-weight: 400;
  font-size: 2rem;
}
#work div {
  display: flex;
  margin: 0 12px 0 0;
}
.jello:hover {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #03e6ff;
  -webkit-animation: 0.9s both jello-vertical;
  animation: 0.9s both jello-vertical;
}
#backtotopbutton,
.dp::after,
.dp::before,
.letsTalkBtn {
  background-color: transparent;
}
@-webkit-keyframes jello-vertical {
  0%,
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    -webkit-transform: scale3d(0.85, 1.15, 1);
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
}
@keyframes jello-vertical {
  0%,
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    -webkit-transform: scale3d(0.85, 1.15, 1);
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
}
#info-para {
  width: 75%;
  padding-top: 30px;
  color: var(--color-ddd-color);
  line-height: 20px;
}
.contact-btn-div {
  width: 100%;
  padding-top: 50px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.letsTalkBtn {
  position: relative;
  border: none;
  width: 180px;
  height: 40px;
  border-radius: 0;
  cursor: pointer;
  transition: 0.3s;
}
.letsTalkBtn-text {
  width: 100%;
  height: 100%;
  background-color: rgba(230, 230, 230, 0.466);
  border: none;
  border-radius: 7px;
  backdrop-filter: blur(5px);
  color: #000;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.8px;
}
.cta:hover span,
.text,
.tooltip {
  color: #fff;
}
.resume-btn,
.sign {
  align-items: center;
  transition-duration: 0.3s;
  display: flex;
}
.letsTalkBtn-BG {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(150deg, #71cbff, #8000ff);
  z-index: -1;
  left: 6px;
  top: 6px;
  border-radius: 7px;
  pointer-events: none;
  transition: 0.3s;
}
.letsTalkBtn:hover {
  transform: translateY(-2px) translateX(-2px);
}
.letsTalkBtn:hover .letsTalkBtn-BG {
  transform: translateY(2px) translateX(2px);
}
.letsTalkBtn:active {
  transform: translateY(7px) translateX(7px);
}
.letsTalkBtn:active .letsTalkBtn-BG {
  transform: translateY(-7px) translateX(-7px);
}
.resume-btn {
  margin-top: 25px;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background: linear-gradient(82.3deg, #965de9 10.8%, #6358ee 94.3%);
  position: relative;
}
.projects-heading-article,
.projectsHeadingP,
.section-heading-article,
.sectionHeadingP,
.skills-heading-article,
.skillsHeadingP {
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
  background-image: -webkit-linear-gradient(
    left,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
}
.dp::after,
.dp::before,
.text {
  position: absolute;
}
.sign {
  width: 100%;
  justify-content: center;
}
.sign svg {
  width: 17px;
}
.text {
  right: 0;
  width: 0%;
  opacity: 0;
  font-size: 1em;
  font-weight: 600;
  transition-duration: 0.3s;
}
.resume-btn:hover {
  width: 130px;
  border-radius: 40px;
  transition-duration: 0.3s;
}
.resume-btn:hover .sign {
  width: 30%;
  transition-duration: 0.3s;
  padding-left: 20px;
}
.resume-btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: 0.3s;
  padding-right: 10px;
}
.dp,
.dp::after,
.dp::before,
.dp:hover::after,
.dp:hover::before {
  transition-duration: 0.5s;
}
.resume-btn:active {
  transform: translate(2px, 2px);
}
.about-section-container {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 200px;
}
.about-section,
.projects-section-div,
.skills-section {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.projects-heading,
.section-heading,
.skills-heading {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dp img,
.dp::after,
.dp::before {
  width: 300px;
}
.projects-heading-article,
.section-heading-article,
.skills-heading-article {
  font-size: 3rem;
  font-family: fira code;
  font-weight: 500;
  background-image: linear-gradient(
    90deg,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.projectsHeadingP,
.sectionHeadingP,
.skillsHeadingP {
  width: 300px;
  height: 1px;
  background-image: linear-gradient(
    90deg,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
}
.info-dp-section {
  width: 100%;
  display: flex;
  margin-top: 30px;
}
.about-info {
  width: 60%;
  display: flex;
  flex-direction: column;
}
.about-info p {
  line-height: 25px;
}
.dp {
  width: 40%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.dp::before {
  box-shadow: 2px 2px 0 inset #8000ff, -2px -2px 0 inset transparent;
}
.dp::after {
  box-shadow: 2px 2px 0 inset transparent, -2px -2px 0 inset #8000ff;
}
.dp:hover::after {
  transform: translate(20px, 20px);
}
.dp:hover::before {
  transform: translate(-20px, -20px);
}
.skills-section-container {
  padding-top: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.language-speak,
.tech-stack-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
}
.language-speak {
  height: 50px;
  justify-content: center;
}
.language-speak article {
  font-size: 2rem;
  font-weight: 600;
}
.frontend-dev-section {
  width: 100%;
  margin-top: 50px;
}
.frontend-dev-heading {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: 900;
  height: 100px;
  letter-spacing: 5px;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
  background-image: -webkit-linear-gradient(
    left,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
  background-image: linear-gradient(
    90deg,
    var(--static-heading-gradient-blue),
    var(--static-heading-gradient-pink)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.project-box,
.tech-stack-box {
  background-image: linear-gradient(
    to bottom right,
    var(--tech-stack-box-first-color),
    var(--tech-stack-box-second-color)
  );
}
.tech-stack-wrapper {
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 50px;
}
.tech-stack-box,
.tooltip {
  align-items: center;
  display: flex;
}
.tech-stack-box {
  width: 160px;
  height: 160px;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid var(--tech-stack-box-border-color);
  position: relative;
}
.tech-stack-box img {
  width: 80%;
}
.tech-stack-box:hover .tooltip {
  opacity: 1;
  transition-duration: 0.3s;
}
.tooltip {
  position: absolute;
  top: -20px;
  opacity: 0;
  background: linear-gradient(
    to bottom right,
    var(--tech-stack-box-first-color),
    var(--tech-stack-box-second-color)
  );
  border: 1px solid var(--tech-stack-box-border-color);
  padding: 5px 10px;
  border-radius: 5px;
  justify-content: center;
  transition-duration: 0.2s;
  pointer-events: none;
  letter-spacing: 0.5px;
  font-size: 1.6rem;
  backdrop-filter: blur(5px);
  font-weight: 500;
}
.cta,
.cta span,
.cta svg,
.project-box,
footer {
  position: relative;
}
.projects-section-container {
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.project-boxes-div {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 50px;
}
.cta:hover:before,
.project-box-wrapper {
  width: 100%;
}
.project-box {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  transition-duration: 0.3s;
  border-radius: 30px;
  border: 1px solid var(--tech-stack-box-border-color);
}
.info-div {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 0 40px;
}
.faviconforProject {
  width: 30px;
  border-radius: 50%;
}
.faviconforProjectAquaregia {
  width: 20px;
}
.image-div {
  width: 50%;
  height: 100%;
  padding-top: 70px;
  padding-left: 10px;
  position: relative;
  min-height: 300px; /* 設置一個適合的高度 */
}
.image-div img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
.ProjectHeading {
  color: var(--color-white);
  font-size: 3.4rem;
  font-weight: 700;
}
.ProjectDescription {
  color: gray;
  font-size: 1.7rem;
  font-weight: 400;
}
.project-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.github-redirect {
  width: 50px;
}
.github-redirect img {
  width: 45px;
  height: auto;
  transition: 0.3s;
  filter: brightness(2);
}
.github-redirect:hover img {
  filter: brightness(4);
}
.cta {
  padding: 12px 18px;
  transition: 0.2s;
  border: none;
  background: 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.cta::before {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  border-radius: 50px;
  background: #2b2f4e;
  width: 45px;
  height: 45px;
  transition: 0.3s;
}
.cta span {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-light-blue);
}
.cta svg {
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--color-light-blue);
  stroke-width: 2;
  transform: translateX(-5px);
  transition: 0.3s;
}
.cta:hover svg {
  stroke: white;
  transform: translateX(0);
}
.cta:active {
  transform: scale(0.95);
}
#backtotopbutton {
  position: fixed;
  right: 10px;
  bottom: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  width: 3rem;
  height: 15rem;
  z-index: 101;
  text-align: center;
  transition: 0.4s;
  display: none;
}
#backtotopbutton article {
  font-size: 1.5rem;
  color: var(--color-white);
  font-weight: 400;
  writing-mode: vertical-rl;
  mix-blend-mode: difference;
}
#backtotopbutton:hover {
  transform: translate(0, -20px);
  text-decoration: line-through var(--color-white);
}
footer {
  width: 100%;
  height: fit-content;
  border-top: 1px solid var(--tech-stack-box-border-color);
}
.footer-background {
  width: 100%;
  height: 100vh;
  background-color: #0b0b0b;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}
.footer-blob {
  width: 100%;
  height: 200px;
  background-color: var(--color-light-purple);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.7;
}
.footer-foreground {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.footercontainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.two-words {
  color: #b3b3b3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}
.getintouch-heading,
.logos {
  height: 80px;
  width: 100%;
  display: flex;
}
.two-words article {
  font-size: 3rem;
}
.social-media-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.social-media-container a {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid #e2dede;
  position: relative;
  box-shadow: 0 0 0 #8000ff inset;
  transition-duration: 0.3s;
}
.getintouch-heading {
  align-items: center;
  justify-content: center;
}
.getintouch-heading article {
  font-size: 2rem;
  background: linear-gradient(
    -45deg,
    var(--color-light-blue),
    var(--color-light-purple),
    var(--color-light-blue),
    var(--color-light-purple)
  );
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 700;
}
.fa-copyright,
.footer-bottom article {
  font-size: 1.5rem;
  color: #b0b0b0;
}
.logos {
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.SocialHandle {
  fill: white;
  width: 60%;
}
#GmailLogo {
  height: 70%;
}
.social-media-container a:hover {
  box-shadow: 0 0 50px 100px #8000ff inset;
  transition-duration: 1s;
  border: none;
}
.social-media-container a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  border-radius: 50%;
  transform: scale(0);
  background-color: transparent;
  transition-duration: 0.3s;
  z-index: -1;
}
.social-media-container a:hover::before {
  transform: scale(1);
  transition-duration: 0.3s;
}
.footer-avatar-container {
  width: 220px;
  margin-top: 20px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.footer-avatar-img {
  width: 100%;
  z-index: 2;
}
.footer-avatar-face {
  position: absolute;
  width: 100%;
  height: 97%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-left: 5px;
}
.footer-avatar-eye {
  width: 50px;
  height: 50px;
  background-color: #dfd2d2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-pupil {
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 50%;
  border: 5px solid #413333;
  filter: blur(0.6px);
}
.footer-right-eye {
  box-shadow: 15px 15px 5px rgba(0, 0, 0, 0.233) inset,
    10px 10px 5px rgba(41, 33, 33, 0.644) inset;
  position: relative;
}
.footer-left-eye {
  box-shadow: -10px -15px 5px rgba(0, 0, 0, 0.349) inset;
  position: relative;
}
.footer-avatar-eye::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(214, 214, 214, 0.726);
  z-index: 2;
  filter: blur(0.2px);
  left: 15px;
  transform: rotate(45deg);
}
.footer-bottom {
  background-color: #0b0b0b;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  z-index: 3;
}
.tonechange {
  color: #000;
}
@media screen and (max-width: 1920px) {
  html {
    font-size: 60%;
  }
}
@media screen and (max-width: 1400px) {
  html {
    font-size: 60%;
  }
}
@media screen and (max-width: 1200px) {
  html {
    font-size: 60%;
  }
  .projects-section-div,
  .skills-section,
  .text-content {
    width: 80%;
  }
  .about-section {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .logo:hover {
    transform: translateY(200px);
    transition-duration: 1s;
  }
}
@media screen and (max-width: 1150px) {
  html {
    font-size: 60%;
  }
}
@media screen and (max-width: 998px) {
  #hamburger-button,
  .hamburger {
    background-color: transparent;
  }
  .mobile-navbar-tabs-ul a,
  .mobiletogglemenu {
    text-decoration: none;
  }
  .activeThismobiletab,
  .mobile-navbar-tabs-ul a {
    color: var(--color-white);
  }
  html {
    font-size: 55%;
  }
  .blob,
  .cursor-inner,
  .cursor-outer,
  .navbar-tabs-ul {
    display: none;
  }
  .stopscrolling {
    overflow: hidden;
  }
  .hamburger {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 115px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9998;
  }
  .activeThismobiletab:before,
  .burger-bar,
  .hamburger-animation1,
  .hamburger-animation2,
  .hamburger-animation3 {
    background-color: var(--color-white);
  }
  .hamburgerbase {
    width: 80%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
  }
  #hamburger-button {
    font-size: 3rem;
    font-weight: 800;
    width: 4.5rem;
    height: 3.5rem;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  #burger-bar1,
  #burger-bar2,
  #burger-bar3 {
    height: 3px;
    border-radius: 0;
    transition-duration: 0.3s;
  }
  #burger-bar1,
  #burger-bar3 {
    width: 60%;
  }
  #burger-bar2 {
    width: 100%;
  }
  .hamburger-animation1 {
    transform: rotate(45deg) scaleX(1.7);
    transition-duration: 0.3s;
    transform-origin: left;
  }
  .hamburger-animation2 {
    transform: scaleX(0);
  }
  .hamburger-animation3 {
    transform: rotateZ(-45deg) scaleX(1.7);
    transform-origin: left;
    transition-duration: 0.3s;
  }
  .mobiletogglemenu {
    background-color: transparent;
    z-index: 9990;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    list-style: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    transform: translate(1000px);
    transition-duration: 1s;
  }
  .show-toggle-menu {
    transform: translate(0);
    transition-duration: 0.6s;
  }
  .mobile-navbar-tabs-ul {
    background-color: var(--color-dark-mode);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.176);
  }
  .mobile-navbar-tabs-li {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    font-family: fira code;
    height: 30px;
    width: fit-content;
  }
  .about-info,
  .dp,
  .info-dp-section {
    width: 100%;
    display: flex;
  }
  .info-dp-section {
    flex-direction: column;
    margin-top: 30px;
    gap: 30px;
  }
  .about-info {
    flex-direction: column;
  }
  .dp {
    align-items: center;
    justify-content: center;
  }
  .activeThismobiletab:before {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    left: -20px;
    border-radius: 50%;
  }
  .projects-section-div {
    width: 80%;
  }
  .project-box {
    flex-direction: column;
    height: 800px;
  }
  .image-div,
  .info-div {
    width: 100%;
    height: 50%;
  }
  .image-div {
    padding: 0 0 0 80px;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 50%;
  }
  .text-content {
    padding-left: 0;
    width: 80%;
  }
  #hello-friend {
    height: 100px;
    font-size: 3.5rem;
  }
  #name,
  #work {
    font-size: 5.5rem;
  }
  #info-para,
  .language-name {
    width: 100%;
  }
  .contact-btn-div {
    height: 140px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
  }
  .setting-container {
    margin-left: 0;
  }
  .dp::after,
  .dp::before {
    display: none;
  }
  .logo {
    width: 18%;
  }
  .logo:hover {
    transform: translateY(200px);
    transition-duration: 1s;
  }
  .projects-section-div {
    width: 80%;
  }
  .project-boxes-div {
    padding: 40px 0;
  }
}
@media screen and (max-width: 500px) {
  html {
    font-size: 45%;
  }
  .hamburgerbase,
  .navbar {
    height: 70px;
  }
  #hamburger {
    margin-right: 20px;
    height: 115px;
    align-items: flex-end;
  }
  #hello-friend,
  .two-words article {
    font-size: 2.5rem;
  }
  .hey {
    left: 70px;
  }
  .logo:hover {
    transform: translateY(200px);
    transition-duration: 1s;
  }
  .landing-page-container {
    height: 85vh;
  }
  .text-content {
    justify-content: flex-start;
  }
  .project-box {
    height: 550px;
  }
  .info-div {
    height: 60%;
  }
  .image-div {
    height: 40%;
    padding-left: 50px;
  }
  .image-div img {
    border-top-left-radius: 10px;
  }
  .tech-stack-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .tech-stack-box {
    width: 100%;
    height: calc(76vw / 2);
  }
}
@media screen and (max-width: 430px) {
  html {
    font-size: 45%;
  }
  .about-section,
  .projects-section-div,
  .skills-section {
    width: 80%;
  }
  .info-div {
    padding: 0 30px;
  }
  .two-words article {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 375px) {
  html {
    font-size: 42%;
  }
  .dp img {
    width: 200px;
  }
  .two-words {
    height: 50px;
  }
  .two-words article {
    font-size: 2rem;
  }
  .footer-bottom article {
    font-size: 1.3rem;
  }
  .logos {
    gap: 20px;
  }
}
@media screen and (max-width: 300px) {
  html {
    font-size: 42%;
  }
  .language-name article {
    text-align: center;
  }
  .two-words {
    align-items: flex-end;
    height: 50px;
  }
  .two-words article {
    font-size: 1.5rem;
  }
  .footer-bottom article {
    font-size: 1rem;
  }
  .social-media-container a {
    width: 50px;
    height: 50px;
  }
  .logos {
    gap: 20px;
  }
}

/*  */
