@font-face {
    font-family: cubic;
    src: url("/fonts/cubic.woff");
}

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #110E19;
}

/* bgCanvas and all terrain canvases sit fixed behind everything */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

ul {
    position: fixed;
    z-index: 1;
    width: 100%;
    top: 38%;
    text-align: center;
    list-style-type: none;
}

li {
    display: inline;
}

li a {
    color: white;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    font-size: 22px;
    padding: 20px;
}

li a:hover {
    color: plum;
}

#more {
    cursor: pointer;
}

#main {
    position: fixed;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    text-align: center;
    font-family: 'Lato', sans-serif;
    word-spacing: 20%;
    letter-spacing: 2px;
    transition: top 0.3s ease;
}

#main a {
    color: white;
    list-style-type: none;
}

#main p {
    margin-top: 8px;
}

#cubic {
    font-family: cubic;
    font-weight: 400;
    font-size: 30px;
}

#serif {
    font-weight: 400;
    font-size: 20px;
}

footer {
    position: fixed;
    z-index: 1;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 3px;
}
