@font-face {
  font-family: geist-medium;
  src: url("/fonts/Geist-Medium.otf") format("opentype");
}
@font-face {
  font-family: geist-bold;
  src: url("/fonts/Geist-Bold.otf") format("opentype");
}
@font-face {
  font-family: inter-regular;
  src: url("/fonts/Inter-Medium.otf") format("opentype");
}
@font-face {
  font-family: inter-bold;
  src: url("/fonts/Inter-Bold.otf") format("opentype");
}

html {
  height: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  height: 100%;
  font-family: inter-regular;
  margin: 0;
  zoom: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 60px;
}
.group-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.group-right {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.right-para {
  margin: 0;
  padding: 0;
  max-width: 125px;
  text-align: left;
  color: inherit;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.right-links{display:flex;gap:6px;margin-top:8px;align-items:center}
.link-square{width:4px;height:4px;border-radius:1px;background:#c4ddff;display:inline-block;cursor:pointer}
.link-square.linkedin{background:#2c9aff}
.link-square.email{background:#c4ddff}
.link-square:focus-visible{outline:2px solid rgba(44,154,255,0.8);outline-offset:2px}
.right-para a:focus-visible {
  outline: 2px solid rgba(44, 154, 255, 0.7);
  outline-offset: 2px;
}
.name-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: default;
  color: #1b1f25;
}
.lastname {
  font-size: 12px;
  font-weight: normal;
}
.title {
  font-family: inter-bold;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #0d1117;
    color: lightgray;
  }
  svg.invert {
    filter: invert(100%);
  }
  .name-block {
    color: #cbd5df;
  }
  .title,
  .lastname {
    color: inherit;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
.social-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.grid-square {
  background: #ccc;
  opacity: 0;
  animation: squareIn 0.6s forwards;
  border-radius: 1px;
  margin: 0;
  width: 8px;
  height: 8px;
}
@keyframes squareIn {
  to {
    opacity: 0.15;
    transform: scale(1.1);
  }
}
.inline-grid {
  display: grid;
  grid-template-columns: repeat(5, 6px);
  grid-template-rows: repeat(5, 6px);
  gap: 1.5px;
  width: 37.5px;
  height: 37.5px;
  vertical-align: middle;
}
.inline-square {
  width: 6px;
  height: 6px;
  background: #c4ddff;
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.3s;
  position: relative;
}
.inline-square.visible {
  opacity: 1;
  animation: slideIn 0.4s cubic-bezier(0.5, 1.5, 0.5, 1) forwards;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(1) translateY(var(--slide-y, 0))
      translateX(var(--slide-x, 0));
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) translateX(0);
  }
}
.border-anim-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(300px, 60vh);
  max-height: 100vh;
  padding: 30px;
  overflow: hidden;
}
#border-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.border-square {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #f3f3f3;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s,
    background 0.3s;
  transform: translate(var(--slide-x, 0), var(--slide-y, 0)) scale(1);
  pointer-events: auto;
}
.border-square.visible {
  opacity: 1;
}
