* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    background: #353535;
    color: #fff;
    font-family: "Pixelify Sans";
}

body {
    height: 101vh;
    scroll-behavior: smooth;
}

header {
    height: 75px;
    background-color: #C4D6B0;
    position: fixed;
    width: 100%;
    top: 0;
    font-size: 3.5rem;
    text-align: center;
    z-index: 1000;
}

#bandeau {
    position: fixed;
    top: 75px;
    display: flex;
    justify-content: center;
    padding-block: 7px;
    background-color: #0F4857;
    width: 100%;
}

#ul-wrapper {
    width: 75%;
    overflow-x: scroll;
    scrollbar-width: none;
}

ul {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style-type: none;
    font-size: 1.3rem;
    cursor: pointer;
    width: auto;
}

#main-content {
    margin-top: 75px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 80%;
}

.player {
    width: 33%;
    font-size: 4.5rem;
    margin-inline: 10px;
    font-weight: bold;
}

#player1 {
    text-align: start;
}

#player2 {
    text-align: end;
}

#center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#board {
    margin: 20px;
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 15px;
}

#result {
    display: grid;
    grid-template-columns: 2;
    grid-template-rows: 1;
    border: #ffa08c solid 4px;
    margin: 10px;
}

#result-text {
    margin: 5px;
    height: 30px;
    font-size: 2rem;
    text-align: center;
}

#boutton {
    display: flex;
    justify-content: center;
}

.button {
    font-family: "Pixelify Sans", sans-serif;
    margin: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    width: fit-content;
    border: none;
    background-color: #353535;
    color: #fff;
    display: flex;
    justify-content: center;

}


.button:hover {
    background-color: #ffa08c;
    color: #353535;
}

.case {
    background-color: #353535;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #ffa08c solid 4px;
    font-size: 4rem;
    cursor: pointer;
}

.case:hover {
    background-color: #ffa08c;
    color: #353535;
}