body{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: black;
    min-height: 100vh;
    margin: 0 ;
}

#start-Button{
    width:150px;
    height:40px;
    margin:20px;
    font-size:1rem;
    font-weight: bold;
    background-color: #00cc00;
    border-radius: 4px;
   
}
#restart-Button{
   width:150px;
    height:40px;
    margin:20px;
    font-size:1rem;
    font-weight: bold;
    background-color: #ffff33;
    border-radius: 4px;
}
.data{
    width:150px;
    height:100px;
    font-size:30px;
    font-weight: bold;
    outline: none;
    border-radius: 4px;
    padding:10px;
    color:white;
    font-family: sans-serif;
    line-height: 50px;
}


.win{
    background-color: black;
    animation: change 1s linear infinite;
    color:black;

}

@keyframes change {
    0%{
background-color: #00cc00;
    }
    20%{
        background-color: rgb(255, 206, 114);
    }
    40%{
        background-color: #0425ff;
    }
    60%{
        background-color: #a0e823;
    }
    80%{
        background-color: #eb5beb;
    }
    0%{
        background-color: #42e3ff;
    }
    
}
.container{
    width:500px;
    height: 500px;
    background-color: white;
    display: grid;
    gap:10px;
    grid-template-columns: repeat(3,1fr);
}
.container div{
    width:auto;
    height: auto;
    background-color:black;
}
.controls{
    width:100px;
    height:100px;
}
.lose{
    background-color: aliceblue;
    color:black;
}

@media all {
    button:hover{
        cursor: pointer;
    }
}
/* @media only screen and  (max-width:1000px) {
    .container{
        width: 300px;
        height:300px;
    }
} */
@media only screen and (min-width:876px) and  (max-width:1024px) {
    .container{
        width: 300px;
        height:300px;
    }
   
}
@media only screen and (max-width:460px) {
    .container{
        width: 140px;
        height:140px;
        gap:5px;
    }
    body{
       flex-direction: column;
    }
}


@media only screen and (min-width:460px) and  (max-width:875px) {
    .container{
        width: 230px;
        height:230px;
        gap:7px;
    }body{
   flex-direction: column;
    }
}

