:root {
    --primary-color: #9ba0a4;
    --secondary-color: #5f6163;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

html, body {
    background-color: black;
    min-height: 100vh;
    color: var(--primary-color);
    font-family: "Gantari", sans-serif;
    letter-spacing: .035em;
    line-height: 1.8;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

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

}

*::selection {
    color:black;
    background-color: white;
}

main {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 768px;
    height: 100%;
    justify-content: center;
    align-items: start;
    justify-self: center;
    margin: 5vh 0px;
}

h1 {
    all: unset;
}

a {
    all: unset;
    cursor: pointer;
}

.link {
    color: #fff;
    font-weight: 600;
    transition: all .3s ease-out;
}

.link:hover {
    text-shadow: 0 0 2px #fff;
}

.nav-link {
    color: var(--secondary-color);
    transition: color .3s ease-out;
}

.nav-link:hover {
    color: white;
}

@keyframes fadeinbottom {
    from {opacity: 0; transform: translateY(25px) scaleY(1.5); filter: blur(4px);}
    to {opacity: 1; transform: translateY(0px) scaleY(1); filter: blur();}
}

@keyframes fadein {
    from {opacity: 0; filter: blur(4px);}
    to {opacity: 1; filter: blur();}
}
