* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: #17313e;
    font-family: Arial, Helvetica, sans-serif;
    padding: 2vh 6vw;
    color: #ffffff8d;text-align: center;
}

main {
    color: #17313e;
    box-shadow: 0px 0px 2rem #00000090;
    padding: 2rem;
    
}
main,
.touche{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 2rem;
    background-color: #ffffff8d;
    justify-content: center;
    align-items: center;
}

button{
    box-shadow: 0px 0px 0.8rem #00000080;
    border: none;
    border-radius: 2rem;
    color:#17313e;
    padding: 1rem;
    width: fit-content;
    margin-top: 1rem;
}

button:active,
.cell:active {
    background-color: #ffffff75;
    box-shadow: 1px 1px 0.8rem #00000040;
;
}
.cell[disabled]:active {
    background-color: #a83a3a75;    cursor: not-allowed
}

#board {
    width: 18.5rem;
    height: 18.5rem;
    margin: 0 auto;
    border: 5px solid #ffffff;
    display: grid ;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    box-shadow: 0px 0px 1rem #00000080;
}

.cell {
    box-sizing: border-box;
    width: 6rem;
    height: 6rem;
    font-size: 5rem;
    text-align: center;
    line-height: 6rem;
    cursor: pointer;
    border: 0.25rem solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*x*/
.player2 {
    color: #4471ac;
}
/*O*/
.player1 {
    color: #cf4141;
    font-weight: 900;
}

li{text-align: center;
    list-style-type: none;
}

.finish {
    color :#00000040;
    font-weight: regular
}
hr {
    width: 20rem;
    background-color: #ffffff8d;
    height: 1px;
    border :none
}

.popUp{
    box-shadow: 0px 0px 2rem #00000090;
    padding: 2rem;
    border-radius: 2rem;
    background-color: #17313e;
    position: absolute;
    height: fit-content;
    width: 20rem;
    top : calc(50vh - 15rem);
    left : calc(50vw - 10rem);
    color:#ffffff;
}

.none {display: none;}
.hidden{visibility: hidden;}

#popUpForm{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

input{
    padding: 1rem 2rem;
    border-radius: 2rem;
    border : none;
    margin-bottom: 0.5rem;
}
label{margin-top:1rem}

input[type=radio]{
    scale :200%;
    accent-color: #17313e;
}

