@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Bungee&family=Press+Start+2P&display=swap');

body {
    height: 100vh;
    width: 100vw;
    position: fixed;
    margin: 0;
    padding: 0;
}

#gameContainer {
    width:100%;
    height: 100%;
    position: absolute;
    background-image: url(../Assets/Bricks_bg.jpg);
    background-repeat: no-repeat;
}

#gameScreen { 
    position: absolute;
    height: 720px;
    width: 1100px;
    margin-top: -1000px;
    margin-left: 200px;
    background-image: url(../Assets/bg_niveau1.png);
    font-family: 'Press Start 2P', Courier, monospace;
    font-size: xx-large;
    color: darkred;
    text-justify: center;
    text-align: center;
}

#gameCanvas {
    display: block; 
    min-width: 1100px;
    max-width: 1100px;
    max-height: 720px;
    min-height: 720px;
}

#redEyes{
    position: absolute;
    margin-left: 375px;
    margin-top: -1000px;
    background-image: url(../Assets/redeyes.png);
    width: 775px;
    height: 294px;
}

#gameName {
    position: absolute;
    margin-left: 330px;
    margin-top: -1300px;
    background-image: url(../Assets/danbreakoid.png);
    width: 897px;
    height: 178px;
}

#buttonContainer {
    display: block;
    margin-left: 550px;
    margin-top: 600px;
    opacity: 0;
}

#startButton {
    width: 444px;
    height: 104px;
    background-color: rgb(50, 121, 32);
    background-image: url(../Assets/btnStart.png);
}

#loadingTimer {
    display: none;
    position: absolute; 
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 50px; 
    height: 50px; 
}

#loadingTimer:after {
    display: block;
    content: " ";
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 175px solid transparent;
    border-color: #84c460 transparent #22dd18 transparent;
    animation: loadingTimer 1.2s infinite;
}

@keyframes loadingTimer {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: rotate(1800deg);
    }
}

#infoSection {
    background-color: transparent;
    display: block;
    position: absolute;
    margin-left: 1300px;
    max-width: 200px;
    height: 600px;
    width:1100px;
    margin-top: -2500px;
}

#lifesContainer, #scoreContainer {
    background-color: transparent;
    display: block;
    position: absolute;
}

#scoreCount, #lifesLabel, #scoreLabel {
   font-family: 'Press Start 2P', Courier, monospace;
    font-size: 34px;
    color: darkgreen;
    text-justify: center;
    text-align: center;
}


#lifesCanvas {
    width: 180;
    height: 90;
    display: block;
}

#scoreContainer {
    margin-top: 200px;
}
