* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: rgb(26,42,50);
}
main{
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;


}

#nav{
    padding: 2rem 2rem;

}

#first {
    display: flex;
    align-items: center;
}

.header-img-x {
    width: 1rem;
    height: 1rem;
}

.header-img-o {
    width: 1.25rem;
    height: 1.25rem;
}

.img-o {
    width: 2.3rem;
    height: 2.3rem;
}

.img-x {
    width: 1.7rem;
    height: 1.7rem;
}


.flex {
    display: flex;
}

.items-center {
    align-items: center;
}



.justify-between {
    justify-content: space-between;
}

#center-header {
    padding: 0.5rem 1.25rem;
    background-color: rgb(32, 54, 64);
    border-radius: 1rem;

}

#center-header button {
    padding: 0.2rem 1rem;
    margin: 0 1rem;
    border: none;
    background-color: transparent;

}

#center-header a {
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    color: white;

}

#undo {
    background-color: rgb(169, 191, 201);
    padding: 0.3rem;
    border-radius: 1rem;
}


.play-box {

    width: 7.5rem;
    height: 7.5rem;
    display: grid;
    place-items: center;
    background-color: rgb(32, 54, 64);
    border-radius: 1rem;
    box-shadow: 0rem 1rem 1rem black;
}

.result {
    padding: 0.5rem 1.2rem;

    width: 7.5rem;

    border-radius: 1rem;
    text-align: center;
}

.result h5 {
    text-transform: uppercase;
    color: rgb(26,42,50);
}


#first-result {
    background-color: rgb(59, 195, 190);
}

#second-result {
    background-color: rgb(169, 191, 201);
}

#third-result {
    background-color: rgb(241, 177, 69);
}

#btn-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* or repeat (3, 1fr)*/
    place-items: center;
    gap: 1.5rem;
}

@media screen and (max-width:500px) {
    #container{
        padding: 0 2rem;
    }
    .result{
        width: 5.5rem;
    }
    .result{
        padding: 0 0;
    }
    .play-box{
        width: 5.5rem;
        height: 5.5rem;
    }
    #nav{
        padding: 1rem;
    }

}