* {
    box-sizing: border-box;
    border: 0;
    margin: 0;
    --leftColor: rgba(79, 7, 79, 0.833);
    --rightColor: rgb(249, 99, 124);
}

*:focus {
    outline: none;
    border: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(to right, var(--leftColor), var(--rightColor));
}

.calculator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 25em;
    height: 35em;
    border-radius: 15px;
    padding: 10px;
    margin: 20px;
    background-color: rgba(255, 255, 255, 0.34);
    box-shadow: 10px 6px 40px rgba(255, 255, 255, 0.34);
}

.painel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    height: 10%;
    width: 98%;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.579);
}

input.painel {
    font-size: 2.5rem;
    color: var(--leftColor);
    text-align: right;
}

.painel button {
    width: 20%;
}

input.switch {
    position: relative;
    appearance: none;
    outline: none;
    width: 50px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #D9DADC;
    border-radius: 50px;
    box-shadow: inset -20px 0 0 0 #ffffff;
    transition: 500ms;
}

input.switch:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 26px;
    height: 26px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
}

input.switch:checked {
    border-color: var(--leftColor);
    box-shadow: inset 20px 0 0 0 var(--leftColor);
    transition: 500ms;
}

input.switch:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgba(0, 0, 0, 0.05);
}

.numbers {
    padding: 10px;
    background: rgba(255, 255, 255, 0.579);
    border-radius: 15px;
    height: 65%;
    width: 98%;
}

.containerNumbers {
    position: relative;
    overflow: hidden;
    display: flex;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
}

.rowNumber {
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: space-around;
    align-items: space-around;
}

.number {
    width: 30%;
    height: 90%;
    background: var(--leftColor);
    color: var(--rightColor);
    border-radius: 15px;
    border: none;
    font-size: 1.2em;
    transition: 0.5s;
}

.number:hover {
    box-shadow: 0 0 10px var(--rightColor);
}

.scene.scene2 {
    width: 90%;
}

.painel.painel2 {
    height: 100%;
}

.rowNumber.rowNumber2 {
    height: 20%;
    margin: 10px 0px;
}

.number.number2 {
    width: 20%;
}

.secondary-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.secondary-container.duo {
    justify-content: space-around;
    flex-direction: row;
}

.scene {
    width: 100%;
    height: 100%;
    perspective: 100%;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-175px);
    transition: transform 1s;
}

.cube.show-front {
    transform: translateZ(-100px) rotateY( 0deg);
}

.cube.show-right {
    transform: translateZ(-100px) rotateY( -90deg);
}

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

.cube__face {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.cube__face--front {
    transform: rotateY( 0deg) translateZ(175px);
}

.cube2__face--front {
    transform: rotateY( 0deg) translateZ(20px);
}

.cube__face--right {
    transform: rotateY( 90deg) translateZ(175px);
}

.cube__face--top {
    transform: rotateX( 90deg) translateZ(20px);
}