@font-face {
    font-family: 'phosphne';
    src: url('../fonts/phosphenefont-regular-webfont.woff2') format('woff2'),
         url('../fonts/phosphenefont-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color: rgb(29, 35, 48);
    --background: #777c66; 
}

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

a {
    color: var(--color);
}

body {
    font-size: 12px;
    padding: 1rem;
    background: var(--background);
    -webkit-text-size-adjust: none;
    color: var(--color);
}

.serif {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

h1 {
    font-size: 1rem;
    width: 50%;
}

header {
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.description {
    width: 100%;
    max-width: 400px;
}

#main {
    margin-top: 150px;
    font-size: 5vw;
    line-height: 1.3;
    text-indent: 10vw;
    word-wrap: break-word;
    user-select: none;
}

.hole {
    display: inline-block;
    background: var(--color);
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    margin: 0 0.2em;
    cursor: none;
    user-select: none;
}

.fragment.desc-show {
    opacity: 0.1 !important;
}

.fragment {
    opacity: 1;
    transition: 5s opacity ease;
}

.fragment.fade {
    opacity: 0;
}

.fragment.script {
    font-family: 'phosphne', cursive;
}

@media screen and (min-width: 1024px) {
    header {
        flex-wrap: nowrap;
    }

    .main-description {
        width: auto;
        max-width: 400px;
        margin-left: 2em;
        margin-top: 0;
    }
}

@media screen and (orientation: landscape) {
    #main {
        font-size: 2.8vw;
    }
}
