* {
    box-sizing: border-box;
}

body {
    background: #EBE8E2;
    /*
    background-image: url(https://github.com/lea-beaulieu/module1GAME/blob/temporary/gashaponwithDBZwithouybackround.png?raw=true);
    
    background-repeat: no-repeat;
    background-size: 40%;
    background-position-x: center center;
    background-position: right 10%;
    */
}

strong {
    font-size: 28px;
    letter-spacing: -2px;
    font-style: bolder;
    text-align: justify;
}

.parameters {
    position: fixed;
    font-family: 'Gill Sans Nova Cond XBd', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #0059d1;
    left: 40px;
    width: 420px;
    text-align: center;
    /*display: flex;
    flex-flow: column;
    flex-direction: column;
    justify-content: flex-start;
    */
}

.container {
    position: fixed;
    top: 25px;
    left: 600px;
    width: 400px;
    /*display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    */
}

.container img.machine-illustration {
    order: 0;
    height: 800px;
    margin-right: 3em;
    transform: translateY(-1em);
}

.bodybox {
    align-items: flex;
    order: 1;
    border-top-left-radius: 250px;
    border-top-right-radius: 250px;
    width: 610px;
    height: 380px;
    display: block;
    padding: 0px;
    border-style: none;
    position: absolute;
    top: 37px;
    left: 70px;
}

.bluebox {
    order: inherit;
    width: 25%;
    height: 25%;
    position: absolute;
    background: black;
    background: url("https://github.com/lea-beaulieu/Gashapon-Cleaner/blob/main/images/boxes/blueboxmain.png?raw=true") center no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 0.25rem grey);
    /*animation: balance 1.5s ease-in-out 110ms 1 alternate;*/
}




/*
@keyframes balance {
    0% {
        margin-top: 0;
    }
    15% {
        margin-top: 0;
        transform: rotateX(-50deg);
    }
    30% {
        margin-top: 0;
        transform: rotateX(50deg);
    }
    45% {
        margin-top: 0;
        transform: rotateX(-30deg);
    }
    60% {
        margin-top: 0;
        transform: rotateX(30deg);
    }
    75% {
        margin-top: 0;
        transform: rotateX(-30deg);
    }
    100% {
        margin-top: 0;
        transform: rotateX(0deg);
    }
}
*/

.bluebox:hover {
    transform: rotate(0.02turn) scale(1.1);
    filter: drop-shadow(0 0 11px #2527b4);
}

.redbox {
    transform: translateY(-1em);
    order: inherit;
    width: 25%;
    height: 25%;
    position: absolute;
    background: black;
    background: url("https://github.com/lea-beaulieu/Gashapon-Cleaner/blob/main/images/boxes/redboxmain.png?raw=true") center no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 0.25rem grey);
}

.redbox2 {
    transform: translateY(-1em);
    order: inherit;
    width: 25%;
    height: 25%;
    position: absolute;
    background: black;
    background: url("https://github.com/lea-beaulieu/Gashapon-Cleaner/blob/main/images/boxes/redboxmario5.png?raw=true") center no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 0.25rem grey);
}

.redbox3 {
    transform: translateY(-1em);
    order: inherit;
    width: 25%;
    height: 25%;
    position: absolute;
    background: black;
    background: url("https://github.com/lea-beaulieu/Gashapon-Cleaner/blob/main/images/boxes/redboxmario6.png?raw=true") center no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 0.25rem grey);
}


.redbox:hover {
    transform: rotate(-0.10turn) scale(1.3);
    filter: drop-shadow(0 0 11px crimson);
}

.redbox2:hover {
    transform: rotate(-0.10turn) scale(1.3);
    filter: drop-shadow(0 0 11px crimson);
}

.redbox3:hover {
    transform: rotate(-0.10turn) scale(1.3);
    filter: drop-shadow(0 0 11px crimson);
}

#score {
    font-size: 54px;
    position: absolute;
    font-weight: bolder;
    z-index: 10;
    pointer-events: none;
    font-stretch: extra-expanded;
    top: 350px;
}

#startbutton {
    position: absolute;
    left: 785px;
    top: 615px;
    z-index: 999;
    color: white;
    background: transparent;
    font-family: 'Gill Sans Nova Cond XBd', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    border: none;
    font-weight: bold;
}

#startbutton:hover {
    transform: scale(1.05);
    color: #EA4800;
}

#countdown {
    top: 100px;
    font-size: 90px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 6px;
}

#instructions {
    font-size: 12px;
    letter-spacing: -2px;
    font-weight: bolder;
    background: #ffc000;
    padding: 5px, 10px, 5px, 10px;
    border-style: solid;
    border-width: 15px;
    border-color: #EA4800;
    border-left: none;
    border-right: none;
    border-top: none;
    position: absolute;
    top: 200px;
}