* {
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #272727;
    --bg-color-alt: #202020;
    --text-color: white;
}

body {
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-color);
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1.5px,
      transparent 1.5px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

li a {
    padding: 1rem;
    color: var(--text-color);
    border-radius: 5px;
    border: solid 1px rgb(63, 63, 63);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

li a:hover {
    color: rgb(0, 0, 0);
    transition-duration: 0.2s;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    transition: 0.2s;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

main img {
    width: 15rem;
}

main #github-logo {
    width: 2rem;
    margin-top: 5rem;
}

main #github-logo:hover {
    cursor: pointer;
    filter: brightness(0.7);
    transition-duration: 0.2s;
}

main ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 3rem 0;
    max-width: 50rem;
    min-width: 10rem;
}

main li {
    margin-top: 5rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

main li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 5px;
}

@media screen and (max-width: 1200px) {
    main ul {
        display: flex;
        text-align: center;
        flex-direction: column;
        list-style: none;
    }

    main li {
        margin: 2rem 0;
    }

    main li:nth-child(n + 3) {
        margin-top: 2rem;
    }
}