:root {
  --background: #0c0a09;
  --secondary-background: rgb(205, 150, 31);
  --background-gradient: linear-gradient(
    90deg,
    rgba(205, 150, 31, 1) 0%,
    rgba(207, 199, 47, 1) 50%,
    rgba(200, 121, 52, 1) 100%
  );
  --foreground: #fafaf9;
  --card: #393430;
  --card-foreground: #fafaf9;
  --primary: #fafaf9;
  --primary-foreground: #0c0a09;
  --secondary: #292524;
  --secondary-foreground: #fafaf9;
  --muted: #292524;
  --muted-foreground: #a8a29e;
  --accent: #292524;
  --accent-foreground: #fafaf9;
  --destructive: #7f1d1d;
  --destructive-foreground: #fafaf9;
  --border: #292524;
  --input: #292524;
  --ring: #57534e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);

  color: var(--foreground);
  line-height: 1.5;
}

.containerCard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--card);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  border: 3px solid transparent;
  border-image: var(--background-gradient);
  border-image-slice: 1;
}

.card-content {
  padding: 1.5rem;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 1.125rem;
  color: var(--secondary-foreground);
  display: inline-block;
  text-align: center;
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.social-link:hover {
  background: var(--secondary-background);
  background: var(--background-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background-color: transparent;
  border: 1px solid var(--primary);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-button:hover {
  background: var(--secondary-background);
  background: var(--background-gradient);
  color: var(--primary-foreground);
}

.profile-description {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0.5rem;
}

.post-card {
  background-color: var(--accent);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.post-card:hover {
  background-color: var(--muted);
}

.post-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.post-content {
  padding: 1rem;
}

.post-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.post-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button-prev {
  left: 0.5rem;
}

.carousel-button-next {
  right: 0.5rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.tech-badge:hover {
  background: var(--secondary-background);
  background: var(--background-gradient);
  color: var(--primary-foreground);
}

.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
}
