body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

a {
  text-decoration: none;
  color: #2A5DB0;
}

.main {
  margin: auto;
  margin-top: 5rem;
  width: 31rem;
}

.picture {
  float: left;
}

.portrait {
  float: left;
  max-height: 10rem;
  border-radius: 5rem;
  overflow: hidden;
  margin-right: 1rem;
}

.text {
  margin: 1rem;

  text-align: left;
  height: 10rem;

  line-height: 2rem;

  font-size: 125%;3
}

.name {
  font-family: 'VulfSans-Light', 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 160%;
  margin-bottom: 0.5rem;
}

.title {
  font-weight: 300;
}

.resume {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;

  vertical-align: top;
}

.resume ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.resume ul li {
  margin: 0;
  padding: 0;
  margin-bottom: 0.5rem;
}

.resume .category {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
  width: 45%;
}

.resume .category .title {
  margin-bottom: 1rem;
}

/* Stupid animation for literally no reason. */

.picture:hover .portrait {
  animation: rotate 5s infinite linear;
  transform-style: preserve-3d;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg);
  }
}

@media(prefers-color-scheme: dark) {

  body {
    /* background-color: rgb(19, 24, 27); */
    /* color: #a8adb6; */

    background-color: #2A2A2E;
    color: #CFCFD1;
  }

  a {
    color: rgb(41, 90, 168);
  }
}
