/* first Interaction */
#overlay {
    position: fixed;
    inset: 0;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9999;
}

/* real Interface */

body {
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100vh;

}

.main {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

/* high score */
#highScore {
    margin: 0;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    box-shadow: 0 0 20px gold;
    align-self: center;
}

.ground {
    display: flex;
    justify-content: center;
}

.green {
    background-color: rgb(47, 255, 61);
    border-radius: 5% 100% 5% 0;
}

.yellow {
    background-color: yellow;
    border-radius: 5% 0 5% 100%;
}

.blue {
    background-color: blue;
    border-radius: 0 5% 100% 5%;
}


.red {
    background-color: red;
    border-radius: 100% 5% 0 5%;

    /* opacity: 0.5; */
}



.btn {
    height: 14rem;
    width: 14rem;
    border: 10px solid black;
    margin: 2rem 1rem;
    cursor: pointer;
}

.main div h1 {
    font-size: 4rem;
    padding: 1rem 0;
    margin: 0;
    background: linear-gradient(to right, yellow, red, blue, yellow);
    color: transparent;
    -webkit-background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 0 60px rgba(255, 0, 0, 0.7);
    animation: anime 5s infinite alternate;

}

@keyframes anime {
    100% {
        text-shadow: 0 0 60px rgba(0, 0, 255, 0.7);
    }
}

.instructions h3 {
    font-size: 1.5rem;
}

.flashUser {
    opacity: 0.5;
    transform: scale(0.95);
}

.flashGame {
    background-color: white;
}

#playStart{
    display: none;
}



@media (max-width: 500px) {

    .main {
        transform: scale(0.7);
    }

    .main div h1 {
        background: linear-gradient(to right, red, blue);
        color: transparent;
        -webkit-background-clip: text;
        letter-spacing: 1px;
        text-shadow: 0 0 60px rgba(255, 0, 0, 0.6);
        animation: anime 5s infinite alternate;
        position: absolute;
        top: -8rem;
    }
    #highScore{
        position: relative;
        top: 1rem;
    }
    .instructions h3 {
        position: relative;
        top: 1.5rem;
    }
    .ground{
        position: relative;
        top: 2rem;
    }
    #playStart{
        display: flex;
        justify-content: center;
        font-size: 45px;
        width: 120px;
        padding: 0rem 5rem;  
        border-radius: 1rem;
        border: 3px solid black;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.619);
        position: static;
        margin-top: 3rem;
        align-self: center;
        /* background-color: rgba(119, 104, 250, 0.868); */
        /* color: yellow; */
  font-family: "Baloo Bhai 2", sans-serif;

  border: none;  
        /* background-color: #1e64d4; */
        background-color: #19142c;
        cursor: pointer;
        color: #ffffff;

    }
    #playStart:hover{
       /* border: 3px solid white; */
            box-shadow: 0 0 0.5rem black;
    }

    .pc{
        display: none;
    }

}



@media (max-width: 390px) {

    .main {
        transform: scale(0.65);
    }

    .main div h1 {
        background: linear-gradient(to right, red, blue);
        color: transparent;
        -webkit-background-clip: text;
        letter-spacing: 1px;
        text-shadow: 0 0 60px rgba(255, 0, 0, 0.6);
        animation: anime 5s infinite alternate;
        position: absolute;
        top: -8rem;
    }
    #highScore{
        position: relative;
        top: 1rem;
    }
    .instructions h3 {
        position: relative;
        top: 1.5rem;
    }
    .ground{
        position: relative;
        top: 2rem;
    }
    #playStart{
        display: flex;
        justify-content: center;
        font-size: 45px;
        width: 120px;
        padding: 0rem 5rem;  
        border-radius: 1rem;
        border: 3px solid black;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.619);
        position: static;
        margin-top: 3rem;
        align-self: center;
        /* background-color: rgba(119, 104, 250, 0.868); */
        /* color: yellow; */
  font-family: "Baloo Bhai 2", sans-serif;

  border: none;  
        /* background-color: #1e64d4; */
        background-color: #19142c;
        cursor: pointer;
        color: #ffffff;

    }
    #playStart:hover{
       /* border: 3px solid white; */
            box-shadow: 0 0 0.5rem black;
    }

    .pc{
        display: none;
    }

}