body { background: hsla(225, 10%, 10%, 0.1); }

.wrapper {
  width: 740px;
  margin: auto;
  padding-top: 20px;
  height: 100vh;
  /*background: hsla(225, 50%, 50%, 0.2);*/
  border: 1px solid transparent;
}

h1 {
  text-align: center;
  font-size: 1.5rem;
  font-family: sans-serif;
}


p {
  font-family: sans-serif;
  font-size: 1rem;
  text-align: justify;
  text-indent: 0.2rem;
}

.arm {
  color: maroon;
  font-style: italic;
  font-family: 'Bad Script', cursive;
}

.up30 { margin-top: 30px;}
.down30 { margin-bottom: 30px;}

.container {
  width: 600px;
  height: 300px;
  background-color: darkslateblue;
  margin: 20px auto;
  position: relative;
  border: 1px solid transparent;
}

.box {
  width: 100px;
  height: 60px;
  background-color: lemonchiffon;
  color:  darkslateblue;
  position: relative;
}

.box::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: red;
}

.code{
  margin: 10px 0;
  padding: 8px 10px;
  background-color: hsl(210, 6%, 12%);
  color: hsl(8, 56%, 54%);
  font-size: 20px;
  font-family: monospace;
}

.white {  color: #eee;}
.center { text-align: center; }
.bold { font-weight: bold; }

#next { display: none; }
#congratulation { display: none; }

.data {
  font-size: 1.2rem;
  font-family: sans-serif;
}

input[type="number"] {
  margin: 10px 0;
  padding: 8px 10px;
  color: hsl(8, 56%, 54%);
  background-color: hsl(210, 26%, 32%);
  font-size: 20px;
  font-family: monospace;
  border: none;
  width: 60px;
}

.sbmt {
  display: block;
  width: 20rem;
  padding: 0.5rem;
  border-radius: 4px;
  margin: auto;
  cursor: pointer;
  background-color: hsla( 110, 50%, 50%, 0.5);
  border: 3px solid hsla( 110, 20%, 30%, 1);
  box-shadow: 2px 2px 4px 4px hsla( 110, 0%, 30%, .2);
  text-transform: uppercase;
  font-size: 22px;
  font-family: fantasy;
  color: hsla( 110, 20%, 20%, 1);
  text-shadow: 2px 2px 1px hsla( 110, 100%, 30%, .5);
  text-decoration: none;
  text-align: center;
}

.sbmt:hover {
    border: 3px solid hsla( 110, 20%, 30%, 0);
    box-shadow: 1px 1px 1px 1px hsla( 110, 0%, 30%, .5);
    text-shadow: 0.5px 0.5px 0.5px hsla( 110, 100%, 100%, .9);
    text-decoration: none;
}

#container-p {
  font-size: 22px;
  color: lemonchiffon;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -11px;
  padding-left: -24px;
}

#congratulation {
  position: fixed;
  height: 13rem;
  width: 30rem;
  top: 8rem;
  left: 50%;
  margin-left: -15rem;
  background-color: #eee;
  color: red;
  text-align: center;
  padding-top: 5rem;
  /*line-height: 10rem;*/
  border-radius: 1rem;
  box-shadow: 0 0 20px 30px hsla(360, 100%, 100%, 0.5);
}

#modalContainer {
	background-color:rgba(0, 0, 0, 0.3);
	position:absolute;
	width:100%;
	height:100%;
	top:0px;
	left:0px;
	z-index:10000;
  color: #fff;
	background: hsla(100, 0%, 50%, .9);
  line-height: 100%;
  font-size: 48px;
}

#close {
color: #000;
font-family: monospace;
padding: 1rem;
cursor: pointer;
}

#modalContainer > p {
  width: 80%;
  margin: 10rem auto;
  text-align: center;
  font-family: sans-serif;
  font-size: 2.5rem;
}
