* {
    box-sizing: border-box;
}

body {
  background-color: #171717;
  color:whitesmoke;
  padding-bottom: 200px;
}
input#guess {
  position: relative;
  z-index: 10;
}

.invisible {
  display: none;
}

.visible {
  display: block;
}
#exit{
  text-align: center;
  position: absolute;
  top: 21px;
  right: 25px;
  border: none;
  font-size: 20px;
  cursor: pointer;
  
}
button {
  margin: auto;
  background: #07a358;;
  border: 1px solid black;
  padding: 10px 15px;
  font-size: 20px;
  color: white;
  border-radius: 5px;
}

button:hover {
  background-color: green;
  color: white;
}
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
z-index: 999999;
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}


.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
background: #ffff99;
  padding: 1rem 1.5rem;
  width: 30rem;
font-size: 10px;
  border-radius: 0.5rem;
text-align: center;
}

.modal-btn {
width: 70px;
height: 42px;
font-size: 20px;
}
.modal-btn:hover {
cursor: pointer;
}

.close-button {
  float: right;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  background-color: lightgray;
  color: #171717;
  background: transparent;
font-size: 31px;
font-weight: bold;
  
}
.close-button:hover {
  background-color: darkgray;
}
.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

#msgBox {
  text-align: center;
  font-size: 3.5em;
  font-family: 'Arial', sans-serif;
  margin: 0.1em 0em; 
}

@media screen and (max-width: 480px) {
  #msgBox {
    font-size: 2.5em;
  }
}

#smallMsg {
  text-align: center;
  padding: 0px 0px 10px 0px;
  font-size: 1.1em;
}

#guess {

  padding: 5px;
  margin: 10px auto;
  display: block;
  padding: 12px;
  border-radius: 15px;
  border: 4px solid green;
  
}

#container {
  margin: auto;
  width: 23em;
}

.correct {
  background: #109510;
}

.wrongplace {
  background: #ffd100e3;;
}

.default {
  background: #3b3b23;
}

.square {
    vertical-align: top;
    margin-top: 4px;
    border: 5px #524b4b solid;
    border-radius: 5px;
    display: inline-block;
    height: 1.25em;
    width: 1.25em;
    text-align: center;
    font-size: 3.5em;
    font-family: 'Lato', sans-serif;
    border-radius: 11px;
}
