:root {
    /* --color-dark: #26424E;
    --color-white: #E4FFFA;
    --color-red: #ED6A5A;
    --color-green: #96f99a;
    --color-taupe: #846A6A; */

    --color-dark: #39404A;
    --color-white: #F8F9FA;
    --color-green: #3FD199;
    --color-blue: #468DED;

    --background-color: var(--color-white);
    --text-color: var(--color-dark);
    --highlight-color: var(--color-green);
    --now-color: var(--color-green);
}
@font-face {
    font-family: 'Major Mono Display';
    src: url('../fonts/MajorMonoDisplay-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-Regular.ttf') format('truetype');
}

html, body {
    height: 100vh;
    margin: 0;
    color: #f8fcfd;
    /* color: #b25c27; */
    background-color: var(--background-color);
}

h1 {
    color: var(--text-color);
    /* font-family: 'American Typewriter', 'serif'; */
    font-family: 'Major Mono Display';
    font-weight: normal;
    font-size: 3em;
}

.rootcontainer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

@keyframes typing {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

.maintext {
    flex-shrink: 0;
    animation: typing 1.5s;
    white-space: nowrap;
    overflow: hidden;

}

.links {
    display: flex;
    overflow: hidden;
    width: 100px;
    transition: width 0.5s;
    /* flex-grow: 1;
    flex-shrink: 1; */
}
.links:hover {
    width: 400px;
}

.links h1 {
    color:#51804a;
    margin-right: 20px;
}

/* make H1s underline when selected */
.links h1:hover {
    text-decoration: underline;
}

.spaced {
    padding: 10px;
}

.icons a {
    font-size: 0.5em;
    color: var(--color-blue);
    padding: 0 10px 0 10px;
}

.icons a:hover {
    color: var(--now-color);
}

.overline-text {
    position: absolute;
    font-size: 0.3em;
    top: -100%;
    width: 140px;
    text-align: center;
}

h1 a {
    text-decoration: none;
    color: var(--text-color);
}

.now {
    color: var(--now-color);
}

.nowlink:hover .now{
    text-decoration: underline;
}


.ben, .benjamin, .nz, .now {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* .ben {
    padding-top: 12px !important;
} */

.titledot {
    font-size: 0.5em;
    color: var(--color-red);
}