@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Oswald', sans-serif;
}

html {
    font-family: "Roboto";
    font-weight: bold;
}

body {
    height: 100vh;
    width: 100vw;

    background-color: rgb(0, 0, 0); 
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.plateau {
    height: 630px;
    width: 480px;

    background-color: rgb(0, 0, 0);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.8);
    border: solid 2px rgb(255, 255, 255);
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


.infos {
    height: 20%;
    width: 450px;

    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.8);
    border: solid 2px rgb(255, 255, 255);
    background-color: #000000;
    border-radius: 5px;

    display: flex;
    justify-content: space-around;
    align-items: center;
}

.score {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 70%;
    width: 70%;

    border: solid 2px rgb(255, 255, 255);
    /* box-shadow: 0 0 0 white; */
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    font-size: 2.8rem;
    font-weight: normal;
    color: rgb(255, 255, 255);
    text-shadow: 0 0 1em blue;
    text-decoration: underline;
}


.canvaDeJeu {
    height: 450px;
    width: 450px;

    border-radius: 5px;
    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    
    padding: 12.5px;
}

.case {
    height: 100px;
    width: 100px;
    
    border: solid 3px rgb(251, 251, 251);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-weight: bold;
    font-size: 2.5rem;
    transition: .25s;


    font-family: 'Oswald', sans-serif;
}

.ecranFinito {
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    
    height: 630px;
    width: 480px;
    
    background-color: #ff00004f;
    border-radius: 5px;
    
    
    transition: 2s;

    color: rgb(255, 255, 255);
    font-size: 3rem;
    opacity: .0;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 20%;
    width: 40%;
    margin-top: -7px;

    background-color: #00000000;
    border: solid 3px rgb(255, 255, 255);
    box-shadow: inset 0 0 25px 10px rgba(255, 255, 255, 0.5), 0 0 25px 10px rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    font-size: 2rem;
    font-weight: bold;

    transition: .1s;
    color: rgb(255, 255, 255);
}
button:hover{
    cursor: pointer;
}

.infoDeFin {
    width: 100%;

    text-align: center;
}