main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 57px;
  padding: 40px 16px;
  gap: 48px;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(50% 50% at 50% 50%, #A7EDFF33 0%, rgba(147, 187, 252, 0.00) 100%);
  background-size: 1024px 792px;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

section {
  display: flex;
  width: 100%;
  max-width: 1240px;
}

h2 {
  font-size: 32px;
  line-height: 110%;
}

p {
  font-size: 16px;
  line-height: 150%;
  color: #B4B4B4;
}

a {
  text-decoration: none;
}

ul {
  display: flex;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

section.masonry {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}


article {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%), radial-gradient(73% 73% at 50% 0%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.00) 100%);
  height: fit-content;
  color: #eee;
  font-size: 15px;
  font-weight: 400;
  line-height: 150%;
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.5s ease-out, translate 0.5s ease-out;

  &.visible {
    opacity: 1;
    translate: 0 0;
  }

  &:hover {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), radial-gradient(73% 73% at 50% 0%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.00) 100%);
  }

  >a {
    opacity: 0.8;

    &:hover {
      opacity: 1;
    }
  }

  author {
    display: flex;
    align-items: center;
    gap: 16px;

    img {
      border-radius: 20px;
    }

    p {
      font-size: 13px;
      line-height: 115%;

      .name {
        color: #FFF;
      }

      .handle {
        color: #B4B4B4;
      }
    }
  }
}

footer {
  text-align: center;
  color: #B4B4B4;
  font-size: 15px;
  opacity: 0.4;
  margin: 32px;

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

@media (max-width: 659px) {
  h1 {
    font-size: 24px;
  }
}