* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothin: grayscale;
}

body {
    height: 100vh;
    width: 100vw;
    background: linear-gradient(180deg, #807ece 0%, #8e7ece 100%);
    display: grid;/* centralizar ao meio */
    place-content: center; /* juntamente com essa propriedade */
}

body * {
    font-family: 'Rubik', sans-serif;
    letter-spacing: -0.02em;
}

#app {
    width: 356px;
    height: 566px;
    background: #2D2A37;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 48px;
}

#view {
    margin-top: 54px;
    padding-inline: 54px; /* espaçamento em linha */
    ;
}

#last-result {
    text-align: right;
    font-size: 20px;
    line-height: 40%;
    color: #6b6b6b;
}

#result {
    margin-top: 8px;
    display: flex; /* manter um elemento ao lado do outro */
    justify-content: space-between; /* espaço entre os elementos */
}

#result span {
    font-size: 36px;
    line-height: 140%;
    color: #ebebeb;
}

#numbers {
    margin-top: 26px;
    margin-inline: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

button {
    border: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%), #2D2A37;
    box-shadow: 0px 3px 3px black;
    border-radius: 999px;
    font-size: 24px;
    line-height: 28px;
    color: #ebebeb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.two {
    color: #975dfa;
}

.three {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0.01%, rgba(255, 255, 255, 0.05) 100%), #462878;
    box-shadow: 0px 3px 3px black;
}

.four {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%), #7F45E2;
    box-shadow: 0px 3px 3px black;
}