@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Sans:ital,opsz,wght@1,9..40,700&family=PT+Mono&family=Righteous&display=swap');

@font-face {
    font-family: 'Florida Vibes';
    src: url('./florida.woff2');
}

body {
    background-color: #ffffff;
    overflow: hidden;
}

div#root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100dvw;
    max-height: 100dvh;
}

div.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 20%;
    max-height: 100%;
    transition: all 1s;
    z-index: 2;
}

div.row.mainrow {
    z-index: 10;
}

p.word {
    font-size: 15rem;
    cursor: pointer;
    color: #000000;
    -webkit-user-select: none;
    user-select: none;
}

p.word>span.one {
    font-size: 7rem;
    cursor: inherit;
}

span.one {
    font-size: 3rem;
    cursor: default;
}

p.smallword {
    font-size: 7rem;
    margin: 0 2rem;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    transition: color 0.25s ease;
}

div.row.right {
    margin-left: 200dvw;
    opacity: 0;
}

div.row.right.show {
    margin-left: 0;
    opacity: 1;
}

div.row.left {
    margin-right: 200dvw;
    opacity: 0;
}

div.row.left.show {
    margin-right: 0;
    opacity: 1;
}

.florida {
    font-family: 'Florida Vibes', cursive;
}

.abril {
    font-family: 'Abril Fatface', serif;
}

.ptmono {
    font-family: 'PT Mono', monospace;
}

.righteous {
    font-family: 'Righteous', sans-serif;
}

.dmsans {
    font-family: 'DM Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
    }

    div#root {
        background-color: #000;
    }

    p.word {
        color: #ffffff;
    }


}

@media screen and (max-width: 600px) {
    p.word {
        font-size: 4rem;
    }

    .row {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    p.word>span.one {
        font-size: 3rem;
    }

    span.one {
        font-size: 2rem;
    }

    div.row {
        height: 10%;
    }

}

@media screen and (max-width: 1200px) and (min-width: 601px) {
    p.word {
        font-size: 8rem;
    }

    .row {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    p.word>span.one {
        font-size: 6rem;
    }

    span.one {
        font-size: 4rem;
    }

    div.row {
        height: 10%;
    }
}
