@font-face {
  font-family: Kelson;
  src: url(fonts/Kelson/Kelson.otf);
}

:root {
  --main-blue: #071952;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Kelson', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
  display: grid;
  height: 100vh;
  grid-template-rows: 500px 1fr;

  /* Background Gradient Animation */
  background: linear-gradient(-45deg, #da55f7, #566ffa, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

a,
a:visited {
  text-decoration: none;
  color: var(--main-blue);
}

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

.logo {
  width: 40rem;
  filter: drop-shadow(0px 0px 8px rgb(0 0 0 / 0.6));
}

.logo-container {
  display: grid;
  place-self: center;
}

.logo-container p {
  letter-spacing: 0.05rem;
  font-size: 1.2rem;
  padding: 1.4rem 0;
}

.lower-text {
  place-self: end;
  margin-right: 51px;
  color: var(--main-blue);
}

.links {
  font-size: 1.5rem;
  padding-top: 2rem;
  color: var(--main-blue);
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.hover-wrapper {
  position: absolute;
  width: 8rem;
  margin: 0.8rem 0;
}

.hover-text {
  font-size: 0.8rem;
  visibility: hidden;
  z-index: 1;
  width: 100px;
  color: #fbdf3e;
  letter-spacing: 0.08rem;
}

.resume:hover .hover-text {
  visibility: visible;
}

.projects {
  display: grid;
  position: absolute;
}

.projects h4 {
  padding: 0.8rem 0;
}

.github:hover .hover-text {
  visibility: visible;
}

@media only screen and (max-width: 700px) {
  .logo {
    width: 20rem;
  }

  .logo-container p {
    font-size: 0.9rem;
    padding: 1rem 0;
    margin-bottom: -0.5rem;
    margin-top: -0.3rem;
  }

  .lower-text {
    margin-right: 26px;
  }

  .links {
    padding: 0;
    font-size: 1rem;
  }
}
