/* styles for my landing page */

:root {
  --accent: #7b2fbe;
  --desktop-font: 1.1rem; /* central control for desktop body font size */
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/InterTight-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/InterTight-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: whitesmoke;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: whitesmoke;
}

.content-card {
  position: relative;
  z-index: 1;
  background: white;
  max-width: 680px;
  width: 90%;
  padding: 32px 36px;
  border-radius: 8px;
  text-align: center;
  font-size: var(--desktop-font);
  margin: 100px 0;
}

ul {
  text-align: left;
  padding-left: 1.5rem;
}

.services ul {
  list-style: none;
  padding-left: 1.1rem;
  margin-left: 1.5rem;
}

.services li {
  position: relative;
}

.services li::before {
  content: "■";
  position: absolute;
  left: -1.1rem;
  font-size: 0.45em;
  top: 0.38em;
  color: var(--accent);
}

mark {
  background-color: #eaff5c;
}

.accent {
  color: var(--accent);
  font-weight: bold;
}

.undone {
  background-color: lightgray;
}

.profile-photo {
  display: block;
  margin: 0 auto 24px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.services,
.career,
.clients,
.contact {
  margin-top: 24px;
}

.mid-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  text-align: left;
  padding-left: 1.5rem;
}

.mid-row section {
  flex: 1;
  margin-top: 0;
}

@media (max-width: 600px) {
  body {
    align-items: flex-start;
    min-height: 100vh;
    height: auto;
    padding: 20px 0;
    box-sizing: border-box;
  }

  .content-card {
    width: 80%;
    padding: 28px 24px;
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .services ul {
    margin-left: 1rem;
  }

  .mid-row {
    flex-direction: column;
    gap: 0;
    padding-left: 1rem;
  }

  .mid-row section {
    margin-top: 20px;
  }
}

.section-label {
  font-size: 0.82em;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}

.career-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.career-year {
  font-weight: 200;
  color: var(--accent);
  margin-right: 4px;
}

.career-place {
  font-weight: 600;
}

.clients-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 1.02em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.card-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.card-link:hover::after {
  width: 100%;
}

.contact p {
  margin: 0 0 12px;
  font-size: 1.02em;
}

.linkedin-wrapper {
  display: inline-block;
  margin-top: 8px;
}

.linkedin-link {
  display: inline-block;
  color: #0a66c2;
  transition: opacity 0.15s ease;
  vertical-align: top;
}

.linkedin-link:hover {
  opacity: 0.75;
}

.annotation-arrow {
  overflow: visible;
  pointer-events: none;
  vertical-align: top;
}

h1#page-title {
  font-weight: 900;
}
