:root {
  --github-main: #101411;
  --github-hover: #232925;
  --linkedin-main: #0a66c2;
  --linkedin-hover: #004182;
  --cv-main: #2d8a5b;
  --cv-hover: #1e6b45;
}

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

body {
  font-family: "Google Sans", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #191919;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 56px 32px;
  max-width: 340px;
  width: 90%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 156px;
  background-color: #bbb;
}

.copyright {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  font-size: 0.75rem;
  color: #888;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.profile-picture {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.profile-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 8px;
}

.title {
  font-size: 1.2rem;
  color: #4a4a4a;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 48px;
  background-color: var(--btn-main);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
}

.btn-linkedin {
  --btn-main: var(--linkedin-main);
  --btn-hover: var(--linkedin-hover);
}

.btn-github {
  --btn-main: var(--github-main);
  --btn-hover: var(--github-hover);
}

.btn-cv {
  --btn-main: var(--cv-main);
  --btn-hover: var(--cv-hover);
}

.btn svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .card {
    padding: 32px 24px;
  }

  .social-links {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}
