#controls {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
}

#controls label {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 32px;
}

.slider-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

input[type="range"] {
    width: 100%;
}

#controls .btn {
    grid-column: 1 / -1;
    justify-self: center;
}

#default-example {
    perspective: 550px;
    padding: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#example-element {
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
}

.face {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    position: absolute;
    backface-visibility: hidden;

    color: black;
    background: whitesmoke;
    border: 1px solid grey;

    font-size: 60px;
    font-weight: bold;
}

.front {
    transform: translateZ(50px);
}

.back {
    transform: rotateY(180deg) translateZ(50px);
}

.right {
    transform: rotateY(90deg) translateZ(50px);
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
}

.top {
    transform: rotateX(90deg) translateZ(50px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(50px);
}
