*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(./images/IMG_1567.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: blur(2px);
}

body {
  height: 100vh;
  height: -webkit-fill-available;
  text-align: center;
}

main.animated {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
}

#vanta {
  z-index: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

header.profile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 3em;
}

header.profile > img {
  width: 6em; /* 96px */
  height: 6em;
  margin-bottom: 0.5em;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: rgb(28 32 93 / 34%) 0px 3px 25px;
}

header.profile > h1 {
  display: inline-block;
  padding: 0.3em 0.6em;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  background-color: #000a;
  border: 1px solid #fffa;
  border-radius: 3em;
  backdrop-filter: blur(10px) saturate(160%) contrast(180%);
  -webkit-backdrop-filter: blur(10px) saturate(160%) contrast(180%);
}

section.links-section ul {
  list-style: none;
  padding: 2em;
  margin: 0 auto;
  max-width: 480px;
}

section.links-section ul li {
  margin: 1.4em 0;
  border-radius: 10em;
  box-shadow: rgb(28 32 93 / 24%) 0px 2px 8px 0px;
  backdrop-filter: blur(10px) saturate(160%) contrast(180%);
  -webkit-backdrop-filter: blur(10px) saturate(160%) contrast(180%);
  overflow: hidden;
}

section.links-section ul li:first-child {
  opacity: 0;
  animation: left-in 500ms forwards ease-in;
  animation-delay: 2.1s;
}

section.links-section ul li:nth-child(2) {
  opacity: 0;
  animation: left-in 500ms forwards ease-in;
  animation-delay: 2.3s;
}

section.links-section ul li:last-child {
  opacity: 0;
  animation: left-in 500ms forwards ease-in;
  animation-delay: 2.5s;
}

@keyframes left-in {
  0% {
    opacity: 0;
    transform: translateX(-50%);
  }

  50% {
    transform: translateX(10%);
  }

  100% {
    opacity: 100%;
    transform: translateX(0%);
  }
}

section.links-section ul li a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  padding: 1em;
  background-color: #fffa;
}

section.links-section ul li a:hover {
  background-color: #fff;
  transition: background-color 250ms ease-in-out;
}

a {
  text-decoration: none;
  color: black;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;

  opacity: 0;
  animation: up-in 1.3s forwards ease-in;
  animation-delay: 3s;
}

footer img {
  width: 40px;
  height: 40px;
  margin-right: 0.3rem;
}

footer h1 {
  font-size: 1rem;
}

@keyframes up-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 100%;
  }
}

@media (min-width: 750px) {
  body {
    height: 100%;
    background: url(./images/IMG_1567.jpg) no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    font-size: 1.2rem;
  }

  footer {
    bottom: 40px;
  }

  footer h1 {
    font-size: 1.3rem;
  }
}
