/* Center images */
.center {
    display: block;
    margin: 0 auto;
}

/* Custom button */
.custom_button {
    background: var(--md-primary-fg-color);
    display: block;
    color: #ffffff !important;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
}

.custom_button:hover {
    background-color: var(--md-primary-fg-color--dark);
}

.skill{
    display: inline-block;
    border-radius: 10px;
    background-color: var(--md-primary-fg-color--dark);
    color: white !important;
    padding: 5px 10px;
    margin: 5px;
}

.center-links{
    text-align: center;
    display: block;
}

/* Creates the 3-column grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; /* Space between cards */
  list-style: none; /* Removes bullet points */
  padding: 0;
}

/* Styles for each individual card */
.project-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden; /* Ensures image corners are rounded */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

/* Make the card "lift up" on hover */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* Style the card's image */
.project-card img {
  width: 100%;
  height: 220px; /* Fixed height for all images */
  object-fit: cover; /* Ensures image covers the area, cropping if needed */
  display: block;
}

/* Content area padding */
.project-card .card-content {
  padding: 1rem 1.2rem;
}

/* Style the "tags" (ROS 2, C++, etc.) */
.project-card .card-tags {
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  display: block;
  margin-bottom: 0.5rem;
}

/* Style the project title */
.project-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: #000;
}

/* Make the whole card a clickable link */
.project-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

#video-frame{
    display: block;
    aspect-ratio: 16 /9;
}

:root > * {
    --md-primary-fg-color: #280137;
    --md-primary-fg-color-light: #280137
    --md-primary-fg-color--dark: #010002;
}