:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e67e22;
  --dark-color: #2c3e50;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff63;
  --gradient-start: rgba(52, 152, 219, 0.1);
  --gradient-end: rgba(230, 126, 34, 0.1);
  --header-bg: rgba(44, 62, 80, 0.85);
  --footer-bg: rgba(44, 62, 80, 0.85);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  min-height: 100vh;
  background-image: url("../assets/main/background-desktop.svg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  pointer-events: none;
  z-index: 0;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.header h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  background: linear-gradient(135deg, #fff, #ffe6b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
  width: 40px;
  height: 40px;
}
.icon-btn:hover {
  background-color: rgba(230, 126, 34, 0.8);
  transform: translateY(-2px);
}
.icon-btn:hover .tooltip {
  opacity: 1;
}

.icon-img {
  width: 24px;
  height: 24px;
}

.tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark-color);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 101;
}

.main-layout {
  display: flex;
  flex: 1;
  gap: 1rem;
  padding: 1rem;
}

.sidebar {
  flex: 0 0 280px;
  background-color: transparent;
}

.left-sidebar {
  display: flex;
  flex-direction: column;
}

.preview-container {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: sticky;
  top: 90px;
}

#project-preview-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-height: 200px;
  -o-object-fit: contain;
     object-fit: contain;
}

#preview-images-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#preview-images-container img {
  max-width: 100%;
  border-radius: 8px;
}

#preview-images-container,
#preview-images-container img,
#popup-img {
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

.right-sidebar {
  position: relative;
}

.description-container {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.description-container h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.description-container p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-color);
}

.preview-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 200;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.preview-popup.active {
  display: flex;
}

.preview-popup img {
  max-width: 90vw;
  max-height: 90vh;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.main-content {
  flex: 1;
  padding: 0 1rem;
}

.content-header {
  margin-bottom: 2rem;
}

.search-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.3882352941);
  backdrop-filter: blur(5px);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-bar {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s;
  background-color: white;
}
.search-bar:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.project-count {
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  padding: 0.5rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  color: white;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: fadeIn 0.4s ease-out forwards;
}
.project-card:hover {
  transform: scale(0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.project-card:active {
  transform: scale(0.94);
}
.project-card:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}
.project-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
  word-break: break-word;
}

.project-card.selected {
  border: 2px solid var(--secondary-color);
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
  transform: scale(0.95);
}

.project-icon {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.custom-icon {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer {
  background: var(--footer-bg);
  backdrop-filter: blur(12px);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.share-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.share-container span {
  font-size: 0.9rem;
  opacity: 0.9;
}
.share-container a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s;
}
.share-container a:hover {
  transform: translateY(-2px);
}
.share-container a:hover .share-icon {
  opacity: 1;
  transform: scale(1.1);
}

.share-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
  .main-content {
    padding: 0;
  }
  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .main-layout {
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .search-section {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .project-count {
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  body {
    background-image: url("../assets/main/background-mobile.svg");
  }
  .header {
    padding: 0.75rem 1rem;
  }
  .header h1 {
    font-size: 1.2rem;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
  }
  .icon-img {
    width: 20px;
    height: 20px;
  }
  .main-layout {
    flex-direction: column;
    padding: 0.75rem;
  }
  .main-content {
    padding: 0;
  }
  .search-section {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .project-count {
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  .project-card {
    height: 160px;
    padding: 1rem;
  }
  .project-card h3 {
    font-size: 0.9rem;
  }
  .custom-icon {
    width: 36px;
    height: 36px;
  }
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  .footer p {
    font-size: 0.8rem;
  }
  .share-icon {
    width: 20px;
    height: 20px;
  }
}/*# sourceMappingURL=main.css.map */