@media (prefers-color-scheme: dark) {
  * {
    --color-fg: #eee;
    --color-bg: #0f0f0f;
    --logo-filter: unset;
    color: #eee;
    background: #0f0f0f;
  }
}

@media (prefers-color-scheme: light) {
  * {
    --color-fg: #0f0f0f;
    --color-bg: #eee;
    --logo-filter: invert();
    color: #0f0f0f;
    background: #eee;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", Times, serif;
  font-family: serif;
  font-size: 1.1rem;
}

#container {
  display: grid;
  place-content: center;
  place-items: center;
  height: 100dvh;
}

#self {
  display: grid;
  border: double var(--color-fg);
  padding: 10px;
}

#avatar {
  margin-bottom: 5px;
}

@media screen and (max-width: 550px) {
  #avatar {
    width: 80vw;
  }
}

#info {
  margin-top: 50px;
}

#name {
  display: inline-block;
}

#links {
  float: right;
  bottom: -13px;
  position: relative;
}

.link {
  background: transparent;
  text-decoration: none;
  padding-left: 1px;
}

.link-logo {
  height: 1.4em;
  width: 1.4em;
  padding: 2px;
}

.link-logo:hover {
  filter: var(--logo-filter);
}

.twitter {
  color: #fff;
  background: #1c96e8;
}

.twitter:hover {
  background: transparent;
}

.github {
  color: #fff;
  background: #000;
}

.github:hover {
  background: transparent;
}
