/* ---- web design ---- */

*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Sirin Stencil', cursive;
}

body {
    font-size: 1.4em;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #593959;
}

canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- title image ---- */

.titleImg {
    border-radius: 15px;
    max-width: 100%;
}

/* ---- game.js container ---- */

.text {
    width: 80vw;
    max-width: 50%;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
    margin-top: 20px;
}

.btn {
    background-color: #593959;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    outline: none;
    font-size: 0.9em;
}

    .btn:hover {
        border-color: #7cea9c;
    }

/* ---- particles.js container ---- */

#particles-js {
    /*  position: absolute; */
    width: 1800px;
    max-width: 90%;
    height: 90%;
    background-color: #000000;
    align-items: center;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px 2px;
    /* old code, may re-integrate later
    background-image: url("https://fey.kourtnie.net/img/logo_alternate.png");
    background-repeat: no-repeat;
    background-size: 8%;
    background-position: 5% 5%; */
}
/* ---- stats.js ---- */

.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats, .count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}

@media (max-width: 600px) {
    body {
        font-size: 0.8em;
    }
    .btn {
        font-size: 0.7em;
    }
    .titleImg {
        border-radius: 15px;
        max-width: 50%;
    }
}