
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-y: scroll;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.titleImg {
  height: 80px;
}

.container h1 {
  color: #ffffff;
  font-size: 2.5rem;
}
.card-link {
  text-decoration: none;
  color: inherit;
}

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

::-webkit-scrollbar-thumb {
  background-color: #5e3629 !important; 
}

::-webkit-scrollbar-track {
  background: #5e362924 !important; 
}
.card-link:hover {
  color: inherit;
}

.card {
  background-color: #1e1e1e;
  border: none;
  color: #e0e0e0;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  width: 240px;
  margin-bottom: 1rem;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  background-color: #2a2a2a;
}
.card-title {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.card-title a {
  color: #76c7c0;
  text-decoration: none;
  font-weight: 600;
}
.card-title a:hover {
  color: #58a5a1;
}
.description {
  color: #b0b0b0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.project-name {
  color: #76c7c0;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
hr {
  border: 1px solid #494949;
  margin-top: 4px;
  margin-bottom: 20px;
  width: 40vw;
}
.status-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
}
.status-running {
  background-color: #4caf50;
}
.status-stopped {
  background-color: #f44336;
}
.status-unknown {
  background-color: #ffeb3b;
}
.card .status {
  font-size: 0.9rem;
}

.grouped-resources {
  overflow-x: hidden;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; /* Centers cards horizontally */
}

.card-container {
  display: inline-flex; /* Allows cards to take only as much space as needed */
}

@media (max-width: 1200px) {
  .row {
    margin-right: 0px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
     margin-right: 0px;
    }

  .row a:first-of-type {
    margin-left: 20px;
  }
}

@media (max-width: 576px) {
  .row {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    margin-right: 0px;
  }

  .row a:first-of-type {
    margin-left: 20px;
  }
}

@media (min-width: 768px) {
  .row .card-container:nth-child(1) {
  margin-left: 17px;
  }
}

.arrow-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: lightgray;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

.fp-watermark {
  display: none !important;
}

.fp-overflow {
  margin-top: 80px;
  margin-bottom: 80px;
  overflow-x: hidden;
}

.header-links {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.coolify-logo {
  height: 40px;
  width: auto;
  transition: transform 0.2s;
}

.coolify-logo:hover {
  transform: scale(1.1);
}

.github-link {
  color: #e0e0e0;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.github-link:hover {
  transform: scale(1.1);
  text-decoration: none;
}