@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");
* {
  padding: 0;
  margin: 0;

  transition: all 0.5s ease-in-out;
}

body {
  font-family: "Montserrat", sans-serif;
  background-repeat:no-repeat;
  background: -webkit-linear-gradient( to left top, purple, darkred);
  background: -moz-linear-gradient( to left top, purple, darkred);
  background: -ms-linear-gradient( to left top, purple, darkred);
  background: -o-linear-gradient( to left top, purple, darkred);
  background: linear-gradient( to left top, purple, darkred);
  background-attachment: fixed;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
}

.links {
  display: flex;
  flex-direction: column;
}

.link {
  height: 2.75rem;
  width: 600px;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;

  margin: 0.5rem 0;
  border-radius: 15px;
}

.greetings {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: white;
}

.about {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
  }

.link span {
  width: 80%;
  text-align: center;
}

.link img {
  height: 2rem;
  aspect-ratio: 1;
}

.linkIcon {
  height: 2rem !important;
  aspect-ratio: 1;
}

.link:nth-child(n) {
  background: linear-gradient(
      90deg,
      rgba(241, 241, 241, 0.1) 30%,
      rgba(113, 113, 113, 0.3) 100%
    ),
    #242425;
  color: white;
}

.link:hover {
  filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.2));
  transform: scale(1.05);
}

.link > * {
  transition: all 0.01s ease-in-out;
  transition-delay: 0.01s;
}

.link:hover > * {
  transform: scale(1.1);
  filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.2));
}

@media (max-width: 600px) {
  body {
    background-size: 100%;
  }
  .logo img {
    width: 200px;
  }
  .link span {
    width: 70%;
    text-align: center;
  }
  .link {
    width: 95vw;
  }
  .link:hover {
    transform: scale(1.01);
  }
}
