body {
  font-family: 'Roboto', sans-serif;
  width: 99vw;
}

header {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 15px;
}

.title {
  margin-left: 15px;
  margin-right: 15px;

}

#headerline {
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 1px dotted grey;
}

#game-board {
  display: flex;
  align-items: center;
  flex-direction: column;
  /* border-bottom: 1px dotted grey; */
}

#share-board {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#game-status {
  display: flex;
  align-items: center;
  flex-direction: column;
  /* border-top: 1px dotted grey; */
  margin-top: 15px;
}

#game-timer {
  display: inline;
}
#game-guesses {
  display: inline;
}

.letter-box {
  border: 2px solid gray;
  border-radius: 10px;
  margin: 2px;
  font-size: 2.2rem;
  font-weight: 700;
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  position: relative;
}

.letter-box-share {
  border: 2px solid gray;
  border-radius: 2px;
  margin: 2px;
  font-size: 0.9rem;
  font-weight: 400;
  height: 1rem;
  width: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  position: relative;
}

.letter-box-large-share {
  /* border: 2px solid gray;
  border-radius: 3px;
  margin: 2px; */
  font-size: 2.2rem;
  font-weight: 700;
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}


.letter-innerbox-small {
  /* border: 1px solid gray; */
  border-radius: 7px;
  /* margin: 2px; */
  font-size: 0.8rem;
  font-weight: 700;
  height: 0.9rem;
  width: 0.9rem;
  position: absolute;
  top: 0;
  left: 0;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  z-index: 10;
  /* margin-left: -2px;
  margin-top: -2px; */
}

.letter-box-large {
  /* border: 2px solid gray;
  border-radius: 3px;
  margin: 2px; */
  font-size: 2.2rem;
  font-weight: 700;
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.filled-box {
  border: 2px solid black;
}

.letter-row {
  display: flex;
}

#keyboard-cont {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#keyboard-cont div {
  display: flex;
}

.second-row {
  margin: 0.5rem 0;
}

.keyboard-button {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem;
  margin: 0 2px;
  cursor: pointer;
  text-transform: uppercase;
}

.modal {
  display: none;
  position: fixed;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;

}


.modal-content {
  position: relative;
  background-color: white;
  padding: 20px;
  margin: auto;
  width: 50%;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  z-index: 100;
  max-height: 90%;
}

@media screen and (max-width: 600px) {
  .modal-content {
    width: 85vw;
  }
  img {
    width: 70vw;
  }
}

@media screen and (max-width: 800px) {
  .modal-content {
    width: 85vw;
  }
  img {
    width: 70vw;
  }
}

.modal-btn {
    border: none;
    background-color: transparent;
    padding-left: 10px;
    padding-right: 10px;
}

.close {
  float: right;
  color: lightgray;
  font-size: 24px;
  font-weight: bold;
}
.close:hover {
  color: darkgray;
}
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    /* background-color: #5cb85c; */
    color: white;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
}

.modal-red {
    background-color: #d9534f;
}

.modal-yellow {
    background-color: #fdfc96;
    color: black;
}

.modal-green {
    background-color: #5cb85c;
}

.modal-blue {
    background-color: #B4D9EF;
    color: black;
}

.modal-body {
    padding: 2px 16px;
}

.modal-scroll{
    height: 50vh;
    overflow-y: scroll;
}

.modal-footer {
    padding: 2px 16px;
    /* background-color: #5cb85c; */
    /* color: white; */
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;

}

.share-btn, .new-game-btn {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem;
  margin: 0 2px;
  cursor: pointer;
  text-transform: uppercase;
}

.share-table {
  /* border: 2px solid gray;
  border-radius: 3px; */
  /* margin: 2px; */
  font-size: 1rem;
  font-weight: 700;
  height: 1rem;
  width: 5rem;
  font-family: 'Roboto Mono', monospace;

  /* position: absolute;
  top: 0;
  left: 0; */
  /* display: flex; */
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  z-index: 10;
}

.table-data {
  /* border: 2px solid darkgrey; */
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 8px;
  text-indent: 4px;
  height: 0.9rem;
  width: 0.9rem;

}
.table-nodata {
  border: none;
  font-size: 1rem;
  padding: 0;
  margin: 0;
}

.center {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.inline-flex {
  display: inline-block;
}
