html,
body {
  height: 100%;
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgb(18, 18, 19);
}

footer{
  display: flex;
  align-items: center;
  justify-content:center;
  border-top: 1px solid rgb(58, 58, 60);
  width: 95%;
  color: white;
  padding: 5px;
}

a:link,a:visited{
  color: white;
  text-decoration: none;
}

.logoText:hover{
  color: #799924;
}

.credits{
  margin-left: 5px;
  margin-right: 5px;
}
.socialText{
  margin: 3px;
  font-size: 12px;
  font-weight: 300;
  color: #808080;
}

.socialText:hover{
  color: #1DA1F2;
}

.logoText{
  margin: 3px;
  font-size: 12px;
  font-weight: 300;
  color: #808080;
}

.thePashto{
  max-width: 20px;
  height:auto;
}

.container{
  margin: 0;
  padding: 0;
}

#demo{
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
}

.next{
  font-weight: bold;
}

.col{
  padding:x 0 40px 0 40px;
  margin: 10px 35px;
}

.border-right {
    border-right: 1px solid white;
    text-align: center;
    padding-right: 30px;
}

#game-container {
  display: flex;
  background-color: rgb(18, 18, 19);
  align-items: center;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

h5{
  text-align: center;
  display: inline-block;
}
h6{
  text-align: left;
  display: inline-block;
}

#game {
  width: 95%;
  max-width: 500px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(58, 58, 60);
  width: 100%;
}

#Copy{
  font-size: 1rem;
  margin-top: 10px;
  margin-left: 50px
}

.title {
  color: gainsboro;
  font-family: 'Noto Serif', serif;
  font-size: 2.3rem;
  font-weight: bold;
  margin: 0.4rem 0 0.4rem 0;
  text-align: center;
}

@media only screen and (max-width: 480px) {
  .title {
    font-size: 1.5rem;
  }

}


#board-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  overflow: hidden;
  flex-direction: column;
  height: 405px;
  width: 100%;
}

#final-score {
  color: gainsboro;
}

#board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 5px;
  padding: 10px;
  box-sizing: border-box;
}

#help,
#stats{
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 5px;
}

.square {
  border: 2px solid rgb(58, 58, 60);
  display: inline-block;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  cursor: pointer;

  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-family: 'Noto Nastaliq Urdu', serif;
  vertical-align: middle;
  box-sizing: border-box;
  color: gainsboro;
  text-transform: uppercase;
  user-select: none;
}

.square.incorrect-letter {
  background-color: rgb(58, 58, 60);
  border-color: rgb(58, 58, 60);
}

.square.correct-letter {
  background-color: rgb(181, 159, 59);
  border-color: rgb(181, 159, 59);
}

.square.correct-letter-in-place {
  background-color: rgb(83, 141, 78);
  border-color: rgb(83, 141, 78);
}

.keyboard-row button {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-weight: normal;
  font-size: 1.1rem;
  text-align: center;
  border: 0;
  padding: 0;
  margin-right: 6px;
  height: 40px;
  width: 62px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  background-color: rgb(129, 131, 132);
  color: rgb(215, 218, 220);
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 400px) {
  .square {
    min-width: 15vw;
    min-height: 15vw;
  }
}

@media  screen and (max-width: 1366px) {
  .square {
    min-width: 50px;
    min-height: 50px;
  }
  
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .square {
    min-width: 12vw;
    min-height: 12vw;
    font-size: 16px;
  }

  .keyboard-row button {
    font-size: 1rem;
    margin-right: 6px;
    height: 32px;
    width: 62px;
    text-align: justify;
  }

  #Copy{
    font-size: 1rem;
    margin-top: 18px;
    margin-left: 10px;
  }

  .next{
    font-size: 10px;
    text-align: left;
    display: inline;
  }

  .col{
    text-align: center;
    padding: 0 20px 0 10px;
    margin: 5px 10px;
  }

}

.keyboard-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 8px;
  touch-action: manipulation;
}

.keyboard-row button.wide-button {
  flex-grow: 1.5;
  font-size: 12px;
  font-family: 'PT Sans', serif;
}

.keyboard-row button.incorrect-letter {
  background-color: rgb(58, 58, 60);
}

.keyboard-row button.correct-letter {
  background-color: rgb(181, 159, 59);
}

.keyboard-row button.correct-letter-in-place {
  background-color: rgb(83, 141, 78);
}

.spacer-half {
  flex-grow: 0.5;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: rgb(18, 18, 19);
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  color: gainsboro;
  max-width: 500px;
}

.modal-content hr {
  border: 1px solid rgb(58, 58, 60);
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#examples {
  width: 80%;
}

.hidden {
  display: none;
}
