/* Global styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

h1 {
  margin: 0;
  padding: 20px;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Card styles */
.card {
  position: relative;
  background-color: #1d1d1f;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  min-height: 265px; 
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.card-body {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: rgba(0, 0, 0, 0.435);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 15px;
  z-index: 1;
  box-sizing: border-box;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.card-description {
  font-size: 14px;
  color: #86868b;
}


/* Footer styles */
.social-footer {
  background-color: #161617; 
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.developers {
  text-align: center;
  margin: 20px 0;
}

.developers a {
  display: inline-flex;
  align-items: center;
  margin: 10px;
  padding: 8px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  background-color: #2575fc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.developers a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  background-color: #1a5fb4;
}

.developers a img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.developers a[href*="t.me"] {
  background-color: #0088cc;
}

.developers a[href*="t.me"]:hover {
  background-color: #006699;
}

.developers a[href*="github.com"] {
  background-color: #1e1e1e;
}

.developers a[href*="github.com"]:hover {
  background-color: #333333;
}

.developers a[href*="github.com"] img {
  filter: invert(1);
}

/* Animation styles */
.fade-page {
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.social-text {
  color: #6e6e73;
  margin-top: 20px;
  padding: 0 7%;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  text-align: justify;
}

.social-media-description {
  color: #6e6e73;
  margin-top: 20px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.line-separator {
  width: 100%;
  height: 1px;
  background-color: #535355;
  margin: 20px 0;
}

.sticky-header {
  position: sticky;
  top: 0;
  background-color: rgba(68, 68, 68, 0.6);
  backdrop-filter: blur(6px);
  color: #ffffff;
  text-align: center;
  padding: 20px;
  z-index: 1000;
}

.sticky-header.scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .sticky-header {
    padding: 12px;
    font-size: 16px;
  }

  .card:hover {
    transform: none; 
  }

  .developers a:hover {
    transform: none;
    box-shadow: none;
    background-color: #2575fc;
  }
}