@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap");

* {
  box-sizing: border-box;
}
body {
  background: #fbfcfe;
  font-family: "Mulish", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.container {
  background-color: #fff;
  border: 3px #000 solid;
  border-radius: 10px;
  padding: 30px;
  width: 700px;
  text-align: center;
  /* margin-right: 5px; */
}

.code-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}

.code {
  caret-color: transparent;
  border-radius: 5px;
  font-size: 75px;
  height: 120px;
  width: 80px;
  border: 1px solid #ddd;
  margin: 1%;
  text-align: center;
  font-weight: 300;
  appearance: textfield;
}
.code:focus {
  outline: 2px solid #3498db;
}
.code::-webkit-input-placeholder {
  color: #eee; /*Change the placeholder color*/
}
.code::-webkit-outer-spin-button,
.code::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.code:valid {
  border-color: #3498db #eee #eeee #3498db;
  box-shadow: 0 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 only screen and (max-width: 600px) {
  .code-container {
    flex-wrap: wrap;
  }
  .code {
    font-size: 40px;
    height: 80px;
    width: 50px;
    margin: 1%;
  }
}
