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

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

@font-face {
    font-family: 'Signika-VariableFont_wght';
    src: url('../fonts/Signika-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'DancingScript-VariableFont_wght';
    src: url('../fonts/DancingScript-VariableFont_wght.ttf');
}

body {
    height: 45em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #191919;

    .message {
        font-family: 'Signika-VariableFont_wght';
        font-size: 42px;
        margin-top: 2em;
        text-align: center;
        color: #ffff0d;
    }

    .guess {
        font-family: 'Acme-Regular';
        font-size: 28px;
        margin: 20px 0;
        padding: 6px 12px;
        text-align: center;
        color: #fff;
        background-color: transparent;
        border: none;
        outline: none;
        border-bottom: 1px solid #f237d5;
        border-radius: 8px;
        transition: .3s;

        &:focus {
            box-shadow: 0 1px 1px #f237d5;
        }
    }

    .hidden {
        display: none;
    }

    .startBtn {
        font-family: 'Acme-Regular';
        font-size: 18px;
        width: 160px;
        height: 45px;
        padding: 8px 38px;
        position: relative;
        border: none;
        outline: none;
        border-radius: 10px;
        color: #fff;
        background: #111;
        cursor: pointer;
        z-index: 0;

        &:before {
            content: '';
            background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
            position: absolute;
            top: -2px;
            left: -2px;
            background-size: 400%;
            z-index: -1;
            filter: blur(5px);
            width: calc(100% + 4px);
            height: calc(100% + 4px);
            animation: glowing 20s linear infinite;
            opacity: 1;
            transition: opacity .3s ease-in-out;
            border-radius: 10px;

        }

        &:after {
            z-index: -1;
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            border-radius: 10px;
            background: #111;
            transition: .5s;
        }

        @keyframes glowing {
            0% {
                background-position: 0 0;
            }

            50% {
                background-position: 400% 0;
            }

            100% {
                background-position: 0 0;
            }
        }
    }

    .score {
        font-family: 'MeriendaOne-Regular';
        font-size: 32px;
        color: #38ff1b;
    }

    .creator {
        font-family: 'DancingScript-VariableFont_wght';
        font-size: 16px;
        color: #ffefca;

        a {
            text-decoration: none;
            color: #ffefca;
            transition: .4s;

            &:hover {
                color: #fb9cff;
            }
        }
    }

}