@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.titreDuPiano {
    text-align: center;
    font-size: 8.5rem;
    font-family: "Bebas Neue", serif;
    color: rgb(201, 201, 201);
}

.mode {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
    "rien cliquer souris vide";
}

.slideOrNot {
    grid-area: cliquer;
    display: flex;
    justify-content: center;
}

.modeSouris {
    grid-area: souris;
    display: flex;
    justify-content: center;
}

.texte {
    font-size: 1.5rem;
    font-family: "Bebas Neue", serif;
    color: rgb(201, 201, 201);
}

.switch {
    --secondary-container: #3a4b39;
    --primary: #84da89;
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.7em;
    height: 1.8em;
    margin-left: 10px;
}

.switch input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #313033;
    transition: .2s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.2em;
    background-color: #aeaaae;
    transition: .4s;
}

input:checked + .slider::before {
    background-color: var(--primary);
}

input:checked + .slider {
    background-color: var(--secondary-container);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--secondary-container);
}

input:checked + .slider:before {
    transform: translateX(1.9em);
}

.piano {
    margin: 30px auto;
    height: 500px;
    width: 900px;
    border-radius: 30px;
    background-color: #000000;

    display: flex;
    justify-content: space-around;
}

.partieBlanche {
    height: 450px;
    width: 800px;
    background-color: rgb(232, 232, 232);
    border-radius: 10px 10px 30px 30px;
    
    display: flex;
    justify-content: space-around;
}

.tuche {
    height: 400px;
    width: 90px;/*90px*/
    background-color: #202020;
    border-radius: 0 0 10px 10px;
    color: #f5f5f5;
    font-family: "Bebas Neue", serif;
    font-size: 6.4rem;
    text-align: center;
    transition: 1s;

    display: flex;
    justify-content: center;
    flex-direction: column;
}

.grosseLargeur {
    width: 145px;
}