body{
    background-color: #0649f0;
    font-family: "Press Start 2P";
}

h1{
    font-family: 'Press Start 2P';
    font-size:40px;
    display:flex;
    justify-content: center;
    align-items: center;
    white-space: pre;
    text-shadow: 5px 3px 2px black;
    margin-bottom: 100px;
}

.redText{
    color: red;
}

.blueText{
    color:blue;
}

.greenText{
    color:green;
}

.yellowText{
    color:yellow;
}

.grid{
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    place-items: center;
    gap:20px;
    max-width:500px;
}

.red{
    background-color:red;
}

.blue{
    background-color: blue;
}

.green{
    background-color: green;
}

.yellow{
    background-color: yellow;
}


.box{
    width:200px;
    height:200px;
    border-radius: 10px;
    box-shadow: 6px 6px 2px black;
    border: 3px solid black;
    z-index: 1;
}

.centerMe{
    display:flex;
    justify-content: center;
    align-items: center;
}

footer{
    margin: 50px;
    margin-top:200px;
    color:white;
}

/* .box:hover{
    transform: scale(1.05);
    transition: all ease-in-out 0.1s;
} */

.pressed{
    opacity: 0.5;
    border:2px solid black;
    transform: scale(1.05);
    transition: transform ease-in-out 0.5s forwards;
}

.blink{
    animation: blink 0.5s;
}

@keyframes blink{
     50%{
        opacity:0;
     }
}

.button{
    background-color:red;
    box-shadow: 2px 2px 2px black;
    border:2px solid black;
    font-size: 20px;
    font-family: "Press Start 2p";
}

.play{
    padding: 15px 25px;
    margin-top:40px;
}

.button:hover{
    box-shadow: 4px 4px black;
}

.button:active{
    opacity:0.9;
    transform: scale(1.05);
}

.invisible{
    visibility: hidden;
}

.gameOver {
    background-color: rgb(248, 74, 74);
}

@media (max-width:800px){
    h1{
        margin: 30px;
        font-size:30px;
    }

    .box{
        height:150px;
        width:150px;
    }

    .play{
        font-size:15px;
    }
}

@media (max-width:450px){
    h1{
        margin: 30px;
        font-size:23px;
    }

    .box{
        height:100px;
        width:100px;
    }

    .play{
        font-size:15px;
    }
}