* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
    justify-content: center;
    background-color: chocolate;
    align-items: center;
}

.wrapper {
    background-color: blanchedalmond;
    padding: 2em 1.5em;
    text-align: center;
}

.code-wrapper {
    display: flex;
}

.code {
    width: 11%;
    font-size: 5vw;
    border-radius: 3%;
    text-align: center;
    margin: 0 2px;
}

.code:focus {
    outline: none;
}

.code::placeholder {
    font-family: inherit;
    font-size: 5vw;
    text-align: center;
}

.code:valid {
    border: 1px solid rgb(255, 242, 60);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

small {
    margin: 1em auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    text-align: center;
    
}