:root {
  font-family: monospace, Verdana, sans-serif;
  color: white;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.free {
  display: none;
  flex-direction: column;
  width: 100%;
  font-style: italic;
  text-shadow: 2px 2px 3px #000000;
}

.free-ps {
  text-align: center;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(
    300deg,
    #ee2a349d,
    #0000009d,
    #8b44c69d,
    #df852b9d
  );
  background-size: 240% 240%;
  animation: gradient-animation 24s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.free-stripe {
  height: 0.25rem;
  background-image: linear-gradient(
    to right,
    #ee2a35 0%,
    #ee2a35 25%,
    black 25%,
    black 50%,
    white 50%,
    white 75%,
    #009736 75%,
    #009736 100%
  );
  background-size: 100%;
}

.container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body {
  margin: 0 auto;
  font-size: 17.5px;
  padding: 0;
  background-color: #050505;

  background-image: url("./bg.webp");
  background-size: 110%;
  background-repeat: no-repeat;

  -moz-animation: bg-animation 50s ease infinite;
  animation: bg-animation 50s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite;
  height: 100vh;
}

.card {
  display: flex;
  height: inherit;
  justify-content: center;
  align-items: center;
}

@-moz-keyframes bg-animation {
  0% {
    background-position: 19% 0%;
  }
  50% {
    background-position: 82% 100%;
  }
  100% {
    background-position: 19% 0%;
  }
}

@keyframes bg-animation {
  0% {
    background-position: 19% 0%;
  }
  50% {
    background-position: 82% 100%;
  }
  100% {
    background-position: 19% 0%;
  }
}

.pfpWrapper {
  overflow: hidden;
  width: 170px;
  height: 170px;
  margin: 20px auto;
  border-radius: 50%;
  outline: #000000 solid 2px;
  position: relative;
}

.pfp {
  width: 170px;
  height: 180px;
  object-fit: cover;
}

h4 {
  text-align: center;
  margin: 10px auto;
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 570px;
  line-height: 144%;
}

.icon-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.icon {
  color: white;
  transition: 0.3s;
  font-size: 28px;
}

.icon:hover {
  transform: translateY(-2px);
  transition: 0.3s;
}

.icon > svg {
  font-size: 28px;
}

/* Specific icon hover colors */

.icon-x:hover {
  color: #aaaaaa;
}
.icon-soundcloud:hover {
  color: #ff5500;
}
.icon-gitlab:hover {
  color: #fca326;
}
.icon-github:hover {
  color: #2dba4e;
}
.icon-bluesky:hover {
  color: #0085ff;
}
.icon-mastodon:hover {
  color: #6364ff;
}
.icon-kofi:hover {
  color: #ff5b5f;
}
.icon-twitch:hover {
  color: #9146ff;
}
.icon-codewars:hover {
  color: #b1361e;
}

/* Specific button hover colors */

.link-main:hover {
  background-color: #056a60;
  color: #ffffff;
}
.link-bandcamp:hover {
  background-color: #1da0c3;
}
.link-youtube:hover {
  background-color: #cd201f;
  color: #fff;
}
.link-github:hover {
  background-color: #24292e;
  color: #fafbfc;
}

.link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.link {
  min-width: 200px;
  min-height: 30px;
  padding: 4px 0;
  gap: 7px;
  /* outline: #000000 solid 0.5px; */
  border-radius: 5px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: black;
  margin: 5px;
  transition: 0.3s;
}

.link:hover {
  transform: translateY(-2px);
  transition: 0.3s;
  box-shadow: 1px 1px 3px #050505;
}

@media only screen and (min-width: 1920px) {
  body {
    font-size: 22px;
  }

  .link {
    min-width: 250px;
    min-height: 40px;
    padding: 5px;
  }
}

@media only screen and (max-width: 1024px) {
  body {
    background-size: 150%;
  }
}

@media only screen and (max-width: 750px) {
  body {
    background-size: 300%;
  }
}

@media only screen and (max-width: 420px) {
  body {
    font-size: 16px;
    background-size: 350%;
  }

  h4 {
    max-width: 85%;
  }
}
