* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("img/img.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    gap: 15px;
}

.rect {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: #fba63f;
    background: radial-gradient(circle, rgba(251, 166, 63, 1) 0%, rgba(252, 79, 70, 1) 100%);
}

#main {
    display: grid;
    grid-template-columns: repeat(8, 50px);
    gap: 15px;
    user-select: none;
}

.rect div {
    width: 100%;
    height: 100%;
    font-size: 50px;
    transform: scale(0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

button {
    background-color: rgb(251, 166, 63);
    padding: 10px;
    border-radius: 15px;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: rgb(252, 79, 70);
}

.retourner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
}

#divMainButton {
    display: flex;
    gap: 10px;
}