body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: var(--mouse-gradient, none);
  mix-blend-mode: overlay;
  transition: background 0.05s ease-out;
}

:root {
  --b3: rgb(35, 30, 30);
}

@keyframes pan {
  from {
    background-position: 0% center;
  }

  to {
    background-position: -200% center;
  }
}

body {
  animation: pan 5s linear infinite;
  transition: background 0.5s linear;
  background: linear-gradient(to right, var(--b1), var(--b2), var(--b1));
  background-size: 200%;
  height: 100vh;
  width: 100vw;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.content {
  pointer-events: none;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content h1 {
  font-size: 5rem;
  color: var(--b3);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  text-align: center;
  transition: all;
  transition-duration: 500ms;
}

.buttons {
  margin: 20;
  padding: 20;
  height: 50px;
  width: 30vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

@media (max-width: 512px) {
  .buttons {
    flex-direction: column;
    height: 30vh;
  }
}

.buttons a {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: none;
  background-color: var(--b3);
  transition: all;
  transition-duration: 500ms;
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.buttons a:hover {
  width: 70px;
  height: 70px;
}

.github {
  background-image: url("./icons/github.svg");
}

.linkedin {
  background-image: url("./icons/LinkedIn.png");
}

.resume {
  background-image: url("./icons/resume.png");
}

.tiles {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  gap: 2px;
}

.tile {
  width: 100%;
  height: 100%;
  z-index: 4;
}
