* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    /* transition: all 0.2s ease-in 0.1s; */
}

body {
    background-color: black;
    color: whitesmoke;
}

.nav {
    background-color: rgb(255, 0, 0);
    color: white;
    height: 70px;
    width: 100vw;
}

.m>div {
    text-align: center;
    /* border: 2px solid white; */
}

.m {
    /* border: 2px solid; */
    height: 70px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80vw;
    flex-wrap: wrap;
}

.container {
    /* height: 500px; */
    /* border: 2px solid blueviolet; */
    width: 50vw;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.info {
    height: 100px;
    /* border: 2px solid; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    color: rgb(255, 255, 255);
}

.newGame {
    background-color: rgb(231, 231, 231);
    height: 30px;
    width: 110px;
    border-radius: 20px;
    cursor: pointer;
}


.Boxes {
    height: 30vmax;
    border: 2px solid rgba(255, 232, 189, 0.527);
    width: 30vmax;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    gap: 4.5px;


}

.box {
    border-radius: 20%;
    border: none;
    height: 9vmax;
    width: 9vmax;
    font-size: 70px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: wheat;
    color: black;
}

button{
    cursor: pointer;
}

.color{
    color: red;
}


.color1{
    color:blue;
}

.win{
    font-size: 24px;
    color: aliceblue;
    font-weight: bolder;
}

.resetGame {

    background-color: rgb(231, 231, 231);
    height: 30px;
    width: 100px;
    border-radius: 20px;
    cursor: pointer;
    /* padding: 10px; */
    /* height: 40px; */
}

.footer {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width:530px) {
    .m {
        justify-content: center;
        font-size: 18px;
    }

    .m>div {
        margin-bottom: 10px;
    }

    .container {
        width: 100vw;
        border: none;
    }

    .resetGame {
        width: 5rem;
        height: 1.5rem;
        font-size: 10px
    }

    .newGame {
        width: 5rem;
        height: 1.5rem;
        font-size: 10px
    }

    .container {
        margin-top: 10px;
    }
}


@media (max-width:380px) {
    .m {
        font-size: 12px;
    }

    .m>div {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .nav {
        height: 80px;
    }

    .container {
        margin-top: 0px;
    }
}

.hide{
    display: none;
}

.transition{
    transition: all 3s ease-in 0.1s;
}