* {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Crimson Text", serif;
  animation: fadeIn 2s;
  background-image: url("media/background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

h1 {
  color: hsl(0, 0%, 90%);
}

p {
  color: hsl(0, 0%, 40%);
  font-weight: 100;
}

.background {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 300px;
  z-index: -1;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 550px;
  width: 100%;
  gap: 30px;
}

.top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.title {
  display: flex;
  flex-direction: column;
}

.title-name {
  font-size: 3rem;
}

.title-description {
  font-size: 1.5rem;
}

.pfp {
  border-radius: 50%;
  height: 150px;
}

.bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.link-icon {
  width: 40px;
  height: 40px;
  padding: 5px;
  fill: hsl(0, 0%, 90%);
  transition: 0.25s;
}

.link-icon:hover {
  transform: scale(1.1125);
  transform: 0.25s ease, color 0.25s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (max-width: 600px) {
  .title-name {
    font-size: 2rem;
  }
  .title-description {
    font-size: 1rem;
  }
  .pfp {
    height: 100px;
  }
  .background {
    max-height: 200px;
  }
  .top {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .links {
    display: flex;
    width: 100%;
    max-width: 250px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .link-icon {
    width: 35px;
    height: 35px;
  }
  .link-icon {
    width: 30px;
    height: 30px;
  }
}
@media screen and (max-width: 400px) {
  .top {
    flex-direction: column-reverse;
  }
  .pfp {
    height: 100px;
  }
  .link-icon {
    width: 25px;
    height: 25px;
  }
  .title {
    text-align: center;
  }
}
@media screen and (max-height: 800px) {
  .background {
    max-height: 200px;
  }
}
@media screen and (max-height: 600px) {
  .background {
    max-height: 150px;
  }
}
