/* Global Styles from Layout.astro */
:root {
  --accent: 136, 58, 234;
  --accent-light: 224, 204, 250;
  --accent-dark: 49, 10, 101;
  --accent-gradient: linear-gradient(
    45deg,
    rgb(var(--accent)),
    rgb(var(--accent-light)) 30%,
    white 60%
  );
}
html {
  font-family: system-ui, sans-serif;
  background: #f7f7f7f7;
  background-size: 224px;
}
code {
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

/* Styles from Links.astro */
main {
  margin: auto;
  padding: 1.5rem;
  width: 60ch;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0;
}
.text-gradient {
  background-image: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text; /* Standard property */
  -webkit-text-fill-color: transparent;
  background-size: 400%;
  background-position: 0%;
}
.text-center {
  text-align: center;
}
.profile-image-container {
  background: black;
  border-radius: 100%;
  width: 200px;
  display: block;
  margin: 0 auto;
}

/* Styles from ProfileLinks.astro */
.link-card {
  list-style: none;
  display: flex;
  padding: 0.25rem;
  background-color: white;
  background-image: none;
  background-size: 400%;
  border-radius: 0.6rem;
  background-position: 100%;
  margin-bottom: 1rem;
}
.link-card > a {
  width: 100%;
  text-decoration: none;
  line-height: 1.4;
  padding: 1rem 1.3rem;
  border-radius: 0.35rem;
  color: #111;
  background-color: white;
  opacity: 0.8;
}
h2 {
  margin: 0;
  font-size: 1.25rem;
  transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.link-card:hover {
  transform: scale(1.025);
  transition: transform 0.2s ease-in-out;
}
.link-card:is(:hover, :focus-within) {
  background-position: 0;
  background-image: var(--accent-gradient);
}
.link-card:is(:hover, :focus-within) h2 {
  color: rgb(var(--accent-light));
}
