
@import url('https://fonts.googleapis.com/css?family=Muli:300&display=swap');

* {
    box-sizing: border-box; /*if we add border or padding, it doesn't affect the width of it. */
}

body {
    background-color: #fbfcfe;
    font-family: 'Muli', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden; /*don't want scroll bar to appear.*/
    margin: 0px;
}

.container {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 40px;
    max-width: 1000px;
    text-align: center;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2), -3px -3px 7px rgba(0, 0, 0, 0.2);
}

.code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0px;
}

.code {
    border-radius: 5px;
    font-size: 75px;
    height: 120px;
    width: 100px;
    border: 1px solid #eee;
    margin: 1%;
    text-align: center;
    caret-color: transparent;
    font-weight: 300;
}


.code:focus, .code:active {
    border-color: #f48004;
    outline: none;
}

/* to remove increment and decrement option in input */
.code::-webkit-outer-spin-button,
.code::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.code:valid {
    border-color: #3498db;
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.25)
}


.info {
    background-color: #eaeaea;
    display: inline-block;
    padding: 10px;
    line-height: 20px;
    max-width: 400px;
    color: #777;
    border-radius: 5px;
  }
  
@media (max-width: 600px) {
    .code-container {
        flex-wrap: wrap;
    }
  
    .code {
      font-size: 60px;
      height: 80px;
      max-width: 70px;
    }
}