@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
:root {
  --foreground-color: #f2f0f0;
  --background-color: rgb(71, 59, 59);
  --accent-color: #d08484;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Space Mono", monospace;
  background-color: var(--background-color);
  color: var(--foreground-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  filter: drop-shadow(0 2px 2px black);
}
::selection {
  background-color: var(--accent-color);
}
#headshot {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--foreground-color);
  margin-right: 2rem;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

h1 {
  font-size: 38px;
  margin-bottom: 0.75rem;
}
h2 {
  font-weight: 300;
  font-size: 20px;
}

#links ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

#links .bi {
  display: inline-block;
  will-change: transform; /* Fix jitteriness on hover */
  font-size: 30px;
  color: var(--foreground-color);
  transition:
    transform 0.2s ease-in-out,
    color 0.2s ease-in-out,
    filter 0.2s ease-in-out;
}

#links .bi:hover {
  transform: scale(1.1);
  color: var(--accent-color);
  filter: drop-shadow(2px 2px 2px black);
}
footer {
  position: absolute;
  bottom: 2em;
}
#music-status {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.075);
  padding: 25px;
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#music-status.is-visible {
  opacity: 1;
}
@media (max-width: 600px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info {
    align-items: center;
  }

  #headshot {
    display: none;
  }
}
