
.about-main {
  max-width: 1800px;
  margin: 40px auto 80px;
  padding: 20px;
  min-height: 100vh;
}
.dve-kartochki {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.cartochka {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(3, 24, 18, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55);
  padding: 28px;
  min-height: 260px;
  backdrop-filter: blur(4px);
  transition: 0.4s ease;
}
.cartochka p {
  font-size: 14px;
  line-height: 35px;
  color: #f9fafb;
  text-shadow: 2px 2px 0 #000;
}
.cartochka:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7);
  border-color: rgba(74, 222, 128, 0.5);
}
.github-icon {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-left: 12px;
}
.social-card {
  max-width: 1200px;
  margin: 480px auto 40px;
  padding: 40px;
  background: rgba(3, 24, 18, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.socseti {
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 45px;
}
.social-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 24, 18, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  overflow: hidden;
  transition: 0.3s ease;
}
.social-icon img {
  width: 100%;
  height: 70%;
  object-fit: contain;
  display: block;
}
.social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7);
  border-color: rgba(74, 222, 128, 0.5);
}
.social-icon:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7);
  border-color: rgba(74, 222, 128, 0.5);
}
.site-footer {
  margin-top: 80px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  background: rgba(3, 24, 18, 0.85);
  border-top: 1px solid rgba(34, 197, 94, 0.25);
}
@media (max-width: 768px) {

  body {
    background-attachment: scroll;
  }
  .about-main {
    margin: 20px auto 40px;
    padding: 12px;
  }
  .dve-kartochki {
    grid-template-columns: 1fr;
  }
  .cartochka {
    min-height: auto;
    padding: 16px;
  }
  .cartochka p {
    font-size: 12px;
    line-height: 1.6;
    word-break: break-word;
  }
  .github-icon {
    width: 48px;
    height: 48px;
    margin-left: 0;
  }
  .social-card {
    margin: 32px auto 20px;
  }
  .socseti {
    font-size: 14px;
  }
  .social-icons {
    gap: 20px;
    flex-wrap: wrap;
  }
  .social-icon {
    width: 48px;
    height: 48px;
  }
  .site-footer {
    font-size: 10px;
    padding: 14px;
  }
}