/*!
 * Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url(https://use.fontawesome.com/releases/v5.15.2/webfonts/fa-solid-900.eot);
    src: url(https://use.fontawesome.com/releases/v5.15.2/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),
         url(https://use.fontawesome.com/releases/v5.15.2/webfonts/fa-solid-900.woff2) format("woff2"),
         url(https://use.fontawesome.com/releases/v5.15.2/webfonts/fa-solid-900.woff) format("woff"),
         url(https://use.fontawesome.com/releases/v5.15.2/webfonts/fa-solid-900.ttf) format("truetype"),
         url(https://use.fontawesome.com/releases/v5.15.2/webfonts/fa-solid-900.svg#fontawesome) format("svg")
}

.fa, .fas {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900
}

/*!
 * Game
 */

body{
    background-color: #15181d;
    font-family: sans-serif;
}

.title{
    text-align: center;
    color: white;
}
.description{
    text-align: center;
    color: gray;
}
.description sub{
    font-style: italic;
}

.streaks {
    display: block;
    margin: 40px auto;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    width: -moz-fit-content;
    width: fit-content;
    background-color: #028000;
    padding: 12px;
    border-radius: 18px;
}
.best_time,
.time {
    display: inline-block;
    width: 100px;
}
.streaks .fa {
    padding: 0 10px;
}
.options{
    font-weight: bold;
    text-align: center;
    margin: 0 auto 10px;
}
.option{
    display: inline-block;
    color: white;
    font-weight: bold;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    height: 20px;
    background-color: #20282e;
    padding: 10px 20px;
    margin: 0 auto 10px;
    border-radius: 6px;
}
.option.grid input,
.option.speed input{
    vertical-align: text-top;
}
.speed_value{
    display: inline-block;
    width: 18px;
    text-align: right;
}
.grid_value{
    display: inline-block;
    width: 40px;
    text-align: center;
}
.minigame{
    margin: 0 auto 20px;
    width: 540px;
    min-width: 540px;
    max-width: 540px;
    height: 540px;
    min-height: 540px;
    max-height: 540px;
    background-color: #232832;
}
.splash{
    display: inline-block;
    width: 100%;
    margin: 220px auto;
    text-align: center;
    color: white;
    font-size: 16px;
}
.splash .hacker{
    font-size: 65px;
    margin-bottom: 30px;
}
.groups{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    user-select: none;
}
.group{
    width: 69px;
    height: 69px;
    margin: 2px;
    /*background-color: #094e1c;*/
    font-family: "Font Awesome 5 Free", sans-serif;
    font-size: 26px;
    color: white;
    text-align: center;
    line-height: 60px;
}
.group5{
    width: 100px;
    height: 100px;
}
.group6{
    width: 82px;
    height: 82px;
}
.group7{
    width: 69px;
    height: 69px;
}
.group8{
    width: 59px;
    height: 59px;
}
.group9{
    width: 52px;
    height: 52px;
}
.group10{
    width: 46px;
    height: 46px;
}
.group.green{
    background: linear-gradient(180deg, #91bc57 0%, #6b8d40 100%);
    border: 2px #85a957 solid;
}
.group.red{
    background: linear-gradient(180deg, #f60206 0%, #943a3a 100%);
    border: 2px #b55e5e solid;
}
.group.blue{
    background: linear-gradient(180deg, #5092b7 0%, #427694 100%);
    border: 2px #5092b7 solid;
}
.group.removed{
    background: transparent;
    border: 2px transparent solid;
}
.group.breathing{
    animation: 0.5s infinite alternate ease-in-out breathing-bg;
}
@keyframes breathing-bg {
    from{background-color: #094e1c;}
    to{background-color: #6acf66;}
}
.groups.transparent .group{
    color: transparent;
}
.proper{
    border-image: linear-gradient(45deg, #ecc800, #564800) 1;
}
.good{
    background-color: #3cec54;
}
.bad{
    background-color: #F00F18;
}

.hidden {
    display: none;
}
.restart{
    text-align: center;
}
.btn_again {
    padding: 6px 15px;
    font-weight: bold;
}
.credits{
    text-align: center;
    color: gray;
    margin-top: 40px;
}
.credits a{
    color: #ccc;
}
.credits b{
    color: white;
}
.credits .fas{
    color: red;
}
.credits .donate{
    margin: 20px 0;
}