* {
  padding: 0;
  margin: 0;
  font-family: "Fira Code", sans-serif;
}

body {
  background: linear-gradient(rgba(0, 0, 0, 0.902), rgb(0, 0, 0.80)),
    url("./src/images/wallpaper.png")
      center fixed no-repeat;
  background-size: cover;
}

main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

div {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 5rem;
  border-radius: 5px;
}

div > img {
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
  border: solid 2px #500ea0;
  filter: drop-shadow(0px 0px 20px #500ea0);
}

iframe {
  overflow-y: scroll;
  max-height: 6.25rem;
}

@keyframes show {
  0% {
    border-right: 2px solid transparent;
  }

  50% {
    border-right: 2px solid;
  }

  100% {
    border-right: 2px solid transparent;
  }
}

@keyframes showBg {
  0% {
    color: #500ea0;
    background-color: #ffffff;
  }

  100% {
    background-color: none;
  }
}

h1 {
  font-size: 2.5rem;
  color: #d9d9d9;
  animation: show 1s infinite;
  padding-right: 0.4rem;
  font-weight: 600;
}

h2 {
  font-weight: 500;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  
}

#link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

a {
  text-decoration: none;
  color: #ffffff;
}

#link li {
  cursor: pointer;
  padding: 0.5rem;
  animation: infinite 2s ease-in-out showBg;
}

ul {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 3rem;
  list-style-type: none;
}

a > img {
  filter: drop-shadow(0px 0px 80px #500ea0);
  transition: all 0.1s ease-in-out;
  width: 2rem;
  height: 2rem;
}

a > img {
  filter: drop-shadow(0px 0px 20px #500ea0);
}

iframe {
  width: 100%;
  margin-top: 1rem;
  border: none;
  text-align: center;
}

footer {
  text-align: center;
}

@media (max-width: 380px) {
  html {
    font-size: 75%;
  }
}
