@import url('https://fonts.googleapis.com/css2?family=Manrope&family=Merriweather&display=swap');

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Manrope';
    margin: 0;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.title {
    font-size: 3.5em;
    font-weight: 100;
}

h1, h2, h3, h4, h5 {
    font-family: 'Merriweather';
}

input {
    background: transparent;
    border: 3px solid white;
    color: #FCFFFD;
    padding: .5rem;
}

input[type=submit]:hover {
    color: black;
    background: #FCFFFD;
    cursor: pointer;
}

a {
    color: currentColor;
    font-weight: bold;
    text-decoration: underline .1rem;
}

a:hover {
    color: #64B6AC;
    transition: color .1s;
}

p {
    max-width: 70ch;
}

body > section {
    min-height: 100vh;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: clamp(1rem, 10vw, 5rem);
}

#success, #failure {
    display: none;
}

#EmailSignUp {
    /*border-radius: .4rem;*/
    padding: 2rem;
    background: #5D737E;
    color: #FCFFFD;
    /*border: .5px solid black;*/
    /*width: max-content;*/
}

#EmailSignUp h3 {
    margin: 0;
}

#EmailSignUp input[type=email] {
    padding: .5rem 1rem;
    width: 24ch;
}

#EmailSignUp input[type=email]::placeholder {
    color: lightgrey;
 }

#EmailSignUp input[type=checkbox] {
    margin-bottom: 1rem;
}

#TitleDiv p {
    margin-bottom: 5rem;
}

#ScrollNotice {
    position: absolute;
    bottom: 1rem;
    width: 100vw;
    left: 0;
    text-align: center;
}

#ScrollNotice a {
    text-decoration: none;
}

.badge {
    display: inline-block;
    padding: .2em .4em;
    font-size: .6em;
    background: #64B6AC;
    border-radius: 0.2em;
}

nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    right: 10px;
    height: 100%;
    transition: opacity .1s;
    border-left: .2px solid black;
    width: 3ch;
    background: white;
    overflow: visible;
    transition: width .1s;
}

nav:hover {
    width: 20ch;
}

nav a {
    text-decoration: none;
    color: #000;
    display: block;
    font-family: 'Merriweather';
    margin-top: 1rem;
    width: max-content;
}

nav a span {
    opacity: 0;
    transition: opacity .2s;
    margin-right: 2ch;
}

/*nav a:hover span { opacity: 1; }*/
nav:hover a span {
    opacity: 1;
}

nav a::after {
    content: '◽';
}

nav a:hover::after {
    color: #64B6AC;
}

nav a.nav-item-focused::after {
    content: '◾';
}

@media screen and (max-device-width: 1000px) {
    nav {
        visibility: hidden;
    }

    html {
        font-size: 2em;
    }

    body input {
        font-size: 1rem;
    }
}