/* Container Layout - Switched to Row */
body {
  background: rgba(42, 121, 247, 1)
}
.card-container {
  display: flex;
  flex-direction: row; /* This aligns them left to right */
  flex-wrap: wrap;     /* This allows cards to jump to a new line on small screens */
  justify-content: center; 
  gap: 20px;
  /* max-width: 1200px;  Increased width to accommodate the row */
  margin: 50px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: rgba(42, 121, 247, 1)
}

/* Updated Card Style */
.card {
  display: flex;
  flex-direction: column; /* Icon on top, text on bottom */
  align-items: center;
  text-align: center;
  width: 200px;          /* Fixed width for symmetry */
  padding: 25px 15px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Hover Animation - Subtle Scale Up */
.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  background: #fff;
}

/* Icon & Text Styling */
.icon {
  font-size: 40px;      /* Larger icons look better in a row layout */
  margin-bottom: 15px;
  margin-right: 0;      /* Removed right margin since we're centering */
}

.info h3 {
  margin: 0;
  font-size: 18px;
  color: #1a1a1a;
}

.info p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}
a {
  text-decoration: none; /* Removes the underline */
  color: inherit;       /* Makes the link the same color as the surrounding text */
}

.icon img {
  max-width: 100%;
  height: auto;
}

.centered {
  text-align: center;
}


/* Hover Accent Colors */
.twitter:hover { border-bottom: 4px solid #1DA1F2; }
.scratch:hover { border-bottom: 4px solid #fae335; }
.artpage:hover { border-bottom: 4px solid #fae335; }
.github:hover { border-bottom: 4px solid #333; }
.instagram:hover { border-bottom: 4px solid #E1306C; }