html
{
    width: 100%;
    height: 100%;
    line-height: 0;
}

body
{
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 100px 50px, #49499C 0%, #8989FC 100%);
    color: white;
    overflow: hidden;
}

.mainContainer
{
    width: 100%;
    height: 100%;
}

.headerZone
{
    width: 100%;
    height: 100px;
    position: relative;
    top: 10px;
    font-family: Libre Baskerville;
    font-weight: bold;
    font-size: 180%;
    display: flex;
    flex-direction: column;
}

.gameTitle
{
    flex-grow: 1;
    line-height: 1;
    text-align: center;
}

.toolZone 
{
    width: 100%;
    height: 56px;
    text-align: center;
    margin-top: 6px;
    border-top: solid 2px white;
    border-radius: 40%;
}

.gameZone
{
    width: 100%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gameBoard
{
    margin: 17px;
    border: solid 4px black;
    border-radius: 10px;
    box-shadow: 0px 0px 20px black;
    background: radial-gradient(royalblue, black);
    position: relative;
}

.infoZone 
{
    line-height: 1;
    text-align: center;
    margin-top: -46px;
}


#playerScore 
{
    font-size: 300%;
    display: block;
}

#goalLevel
{
    font-size: 140%;
}

.tileZone
{
    border: solid 2px white;
    border-radius: 6px;
    width: 780px;
    height: 540px;
    display: flex;
    position: relative;
}

.tile
{
    width: 56px;
    height: 56px;
    position: absolute !important;
    cursor: pointer;
    box-shadow: 0 0 12px 1px grey;
    background: silver;
    border: solid 2px black;
}

.tile:hover
{
    filter: brightness(1.35);
}

.explosion
{
    width: 58px;
    height: 58px;
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.usedTile
{
    border: solid 2px transparent;
    background: none;
}

#comboLabel
{
    position: absolute;
    font-size: 400%;
    text-shadow: 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000,
                 0 0 2px #000;
    text-transform: uppercase;
    display: inline-block;
    transform-origin: center center;
    transform: translate(20%) translateY(-278px) scale(0);
    transition: all .25s linear;
    text-align: center;
    width: 560px;
}

.mainPanel 
{
    position: absolute;
    width: 70%;
    height: 56%;
    transition: all 1s;
    overflow: hidden;
    top: 28%;
    min-width: 800px;
    min-height: 450px;
}

.mainPanelContainer
{
    width: 89%;
    height: 90%;
    left: 5%;
    position: absolute;
    top: 5%;
    border-right: solid 2px grey;
    border-left: solid 2px white;
    background-color: rgb(240, 240, 160);
    box-shadow: 2px 2px 6px black;
    border-radius: 10px;
    transition: all 1s;
}

.menuPanel
{
    position: absolute;
    width: 94%;
    height: 90%;
    left: 3%;
    top: 5%;
}

.explainGame 
{
    font-family: 'Julee';
    line-height: 1.3;
    font-size: 130%;
    color: brown;
    margin-block-start: .5em;
    margin-block-end: 0.5em;
}

.gameLink:hover
{
    text-shadow: 2px 2px 4px grey;
}

.gameLink
{
    font-size: 140%;
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: black;
    cursor: pointer;
}

.levelTitle
{
    font-family: 'Julee';
    color: black;
    font-size: 300%;
    position: absolute;
    top: 40px;
    left: 20px;
}

.explainGoalLevel
{
    font-size: 200%;
    line-height: 1.1;
    font-family: 'Julee';
    color: black;
    position: absolute;
    top: 130px;
    left: 14px;
}

.bonusPanel .explainGame 
{
    top: 28%;
    position: absolute;
    left: 8%;
    font-size: 240%;
}

.cache
{
    display: none;
}

.timeBar
{
    width: 14px;
    height: 100%;
    background: darkblue;
    border: solid 2px goldenrod;
    border-radius: 8px;
    position: absolute;
    top: -2px;
    right: -31px;
    box-shadow: 2px 2px 8px black;
}

.timeBarValue
{
    width: 70%;
    height: 99.4%;
    background: springgreen;
    border-radius: 6px;
    bottom: 1px;
    position: absolute;
    left: 20%;
    filter: blur(2px);
    transition: background .4s linear;
}

.blink
{
    animation:blinking .5s infinite;
}

@keyframes blinking
{
    0%  {opacity: 1;}
    49% {opacity: 1;}
    60% {opacity: 0;}
    99% {opacity: 0;}
    100%{opacity: 1;}
}

.gameOverPanel
{
    position: absolute;
    width: 94%;
    height: 90%;
    left: 3%;
    top: 5%;
}

.gameOver
{
    font-size: 210%;
    width: 100%;
    text-align: center;
    color: black;
    margin-top: 20%;
}

.statusZone 
{
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
}

.gameOptions
{
    position: absolute;
    width: 690px;
    height: 80px;
    bottom: 0;
    color: firebrick;
    font-weight: bold;
    font-family: 'Julee';
    font-size: 130%;
}

.gameOptions div
{
    display: inline;
}

.gameOptions div label
{
    position: relative;
    top: -54px;
    width: 132px;
    text-align: center;
    display: inline-block;
}

.gameOptions div img
{
    position: relative;
    top: 20px;
    left: -130px;
    filter: brightness(0.75);
    cursor: pointer;
}

.gameOptions div img:hover
{
    filter: brightness(1);
}

#turnsLeft
{
    color: black;
    position: absolute;
    left: 40%;
    top: 52%;
    font-family: Julee;
    font-size: 260%;
}