@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "Rethink Sans", sans-serif;
    font-size: 1.01em;
}
a{
    color: #ace;
}
h1{
    font-size: 2.6rem;
    z-index: 100;
    position: relative;
}
body{
    padding: 40px 20px;
    background: #333;
    color: #ccc;
    min-height: 100vh;
} 
h3{
    font-size: 1.5rem;
    font-weight: normal;
    margin: 4px 0 40px 0;
}
h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}
nav{
    margin: 10px;
    display: flex;
    z-index: 100;
    position: relative;
}
.nav-link{
    position: relative;
    margin: 10px;
    cursor: pointer;
    width: 100px;
}
.nav-link .microix{
    opacity: 0;
    position: absolute;
    left:0;
    top: 0;
}
.nav-link:hover .microix{
    animation-name: pop;
    animation-duration: .6s;
    animation-iteration-count: 1;
}
#modelviewer{
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100vw;
}
#face-text{
    width: 100vw;
    height: 500px;
    position: absolute;
    left: 0;
    top: 30px;
    overflow: hidden;
}
#face-text-1{
    z-index: 5;
    color: #dab;
}
#face-text-2{
    z-index: -15;
    color: #dba;
}
#modelviewer{
    font-size: 30rem;
    top: 0;
}
#modelviewer canvas{
    margin: 0 auto;
}
.marquee{
    position: absolute;
    display: flex;
    gap: 1000px;
    justify-content: space-between;
    user-select: none;
    align-items: center;
    animation: scroll 60s linear infinite;
    animation-delay: 8s;
    left: 0;
    top: 0;
    opacity: 0;
}

.marquee div{
    flex-shrink: 0;
    font-size: 25rem;
    font-weight: bold;
}

@keyframes scroll{
    to{
        opacity: 1;
        transform: translateX(-14000px)
    }
    from{
        opacity: 1;
        transform: translateX(100vw)
    }
}


@keyframes pop{
    from{
        top: 0;
        opacity: 1;
        scale: 1;
    }
    to{
        top: -3px;
        scale: 3;
        opacity: 0;
    }
}


#blurb {
    margin-top: 355px;
    padding: 30px;
    font-size: 1.3rem;
    //background: #555;
}
.wrapper{
    margin: 20px auto;
    max-width: 80vw;
    max-width: 800px;
}
.wrapper p:first-of-type::first-letter{
    font-size: 2rem;
    font-weight: bold;
    font-family: serif;
}