* {
    margin: 0;
    padding: 0;
  }

  @font-face {
    font-family: customWebFont;
    src: url(../fonts/PublicSans-Black.woff2);
    font-weight:bold;
  }

  @font-face {
    font-family: customWebFont;
    src: url(../fonts/PublicSans-Medium.woff2);
    font-weight:normal;
  }
  
  html,
  body {
    height: 100%;
    font-family: customWebFont;
  }

  .break {
    flex-basis: 100%;
    height: 0;
  }

  :root {
    --green: rgb(83, 141, 78);
    --yellow: rgb(181, 159, 59);
    --highlight: #D68157;
    --darkGrey: rgb(58, 58, 60);
    --offWhite: rgb(215, 218, 220);
    --darkBlue: rgb(50, 50, 70);
    --midGrey: rgb(129, 131, 132);
    --transparent: rgba(0,0,0,0);
    --black: rgb(0,0,0);
    --orange: rgb(255,165,0);
    --brightYellow: rgb(255,235,80);
    --lightGrey: rgb(200,201,202);
    --height: 100;
    --width: 100;
    --squareHeight: 100;
    --squareWidth: 100;
    --keyHeightAdjust: 0;
    --reviewHover: 1.2;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }
  
  #container {
    display: flex;
    background-color: var(--black);
    height: 100%;
    align-items: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #game {
    width: 100%;
    max-width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-size-adjust: auto;
  }
  
  #board-container {
    display: grid;
    z-index: 0;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-content:flex-start;
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  .board {
    border: 2px solid var(--darkGrey);
    z-index: 1;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    position: relative
  }

  .grid-axis {
    color: var(--darkGrey);
    font-family: customWebFont;
    text-align: center;
  }

  .board-title {

    color: var(--offWhite);
    font-size: 70%;
    padding: 5px;
    text-align: left;
    font-family: customWebFont;
  }

  .square-container {
    border-top: 1px solid var(--darkGrey);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 3px;
    flex: 1;
    padding: 5px;
    box-sizing: border-box;
    font-weight: bold;
  }
  
  .square {
    border: 1px solid var(--darkGrey);
    min-width: 10px;
    height: calc(var(--squareHeight) * 1px);
    color: var(--offWhite);
    text-transform: uppercase;
    padding: 0px;
  z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
  #keyboard-container {
    height: calc(150px + var(--keyHeightAdjust) * 3px);
  }
  
  .keyboard-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0px auto 4px;
    touch-action: manipulation;
  }
  
  .keyboard-row button {
    font-family: inherit;
    font-weight: bold;
    font-size: calc(var(--squareWidth) * 0.35px);
    padding: 0px;
    border: 1px solid var(--midGrey);
    height: calc(46px + var(--keyHeightAdjust) * 1px);
    cursor: pointer;
    background-color: var(--midGrey);
    color: var(--offWhite);
    flex-grow: 1;
    width: 0;
    text-transform: uppercase;
    margin-right: 4px;
    border-radius: 4px;
    user-select: none;
  }
  
  .keyboard-row button.wide-button {
    flex-grow: 1.5;
  }

  .spacer-quarter {
    flex-grow: 0.25;
  }
  
  .spacer-half {
    flex-grow: 0.5;
  }

  .spacer-full {
    flex-grow: 1.0;
  }

  .prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }
  /* MODAL STUFF */

  #modal-holder {
    z-index: 100;
    display: block;
    position: fixed;
  }

  .modal {
    display: block;
    position: fixed;
    z-index: 100;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    height: 100%;
    overflow: hidden;
    background-color: var(--black);
    background-color: rgba(0,0,0,0.4);
  }

  .modal-header {
    display: block;
    width: 100%;
    /* justify-content: space-between; */
  }


  .modal-content {
    background-color: var(--offWhite);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--midGrey);
    border-radius: 3px;
    width: 80%;
    max-height: 80%;
    overflow-y: scroll;
  } 

  .modal-image {
    margin: auto;
    width: 100%;
    border: 0px;
  } 

  .modal-body {
    white-space: pre-wrap;
  }

  .modal-footer {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    
  }

  .close {
    color: var(--midGrey);
    float: right;
    font-size: 28px;
  }

  .close:hover,
  .close:focus {
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
  }

  #dict-popup {
    position: absolute;
    z-index: 3;
    background-color: var(--orange);
    text-align: center;
    font-family: customWebFont;
    font-size: 1rem;
  }

  #menu-button:link {
    filter: brightness(100%);
  }

  #menu-button:hover
   {
    filter: brightness(120%);
  }

  #menu-button:active {
    background-color: var(--darkGrey);
  }

  #menu-popup {
    position: absolute;
    z-index: 100;
    background-color: var(--darkGrey);
    width: 50%;
    flex-direction: column;
    text-align: center;
    font-family: customWebFont;
    font-size: 1rem;
  }

  .menu-item {
    position: relative;
    display: flex;
    flex-direction: row;
    color: #fefefe;
    background-color: var(--darkGrey);
    justify-content: space-between;
    font-family: customWebFont;
  }

  .menu-item:hover,
  .menu-item:focus {
    background-color: var(--black);
    text-decoration: none;
    cursor: pointer;
  }

  .menu-text {
    display: block;
    text-align: right;
    padding: 1px 10px;
  }

  .menu-logo {
    display: block;

  }

  #top-bar {
    z-index: 50;
  }

  #reviewPopup {
    display: none;
    z-index: -100;
    background-color: var(--black);
    color: var(--offWhite);
    /* border-radius: calc(var(--width) * 0.02px); */
    font-size: 20px;
    text-align: center;
    width: 100%;
    height: calc(var(--squareHeight) * 1.5px);
    /* height: 75px; */
    margin: auto;
    padding: calc(var(--width) * 0.01px) 0px;
  }

  #reviewPopup:hover {
    filter: brightness(calc(var(--reviewHover)*100%));

  }


  /* CIRCLE STUFF */

  #endPatternHolder {
    /* height: 300px;
    width: 300px; */
    z-index: 4;
    position: relative;
    margin: 20px auto;
    top: 0%;
    left: 0%;
    background-color: var(--black);
  }

  /* Stats Page Stuff */

  .button-holder {
    text-align: center;
    flex-direction: row;
    margin: auto;
    justify-content: baseline;
  }


.stat-mode-button, .play-mode-button, .next-tip-button {
  color: black;
  position: relative;
  display: inline-block;
  background-color: var(--midGrey);
  padding: 10px;
  font-size: 100%;
  width: 20%;
  border-radius: 3px;
  /* width: 50%; */
  text-align: center;
  font-family: customWebFont;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

}



.stat-mode-button:hover,
.stat-mode-button:focus,
.play-mode-button:hover,
.play-mode-button:focus
.next-tip-button:hover,
.next-tip-button:focus {
  filter:brightness(150%);
  cursor: pointer;
}




#textStatsHolder {
  /* background-color: lightseagreen; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: block;
  justify-content: center;
  margin: 20px auto;
}

.textStatsBox {
  /* background-color: lightgrey; */
  margin: 1px;
  min-width: 30%;
  max-width: 30%;
  height: 1fr;
}

.textStat {
  /* background-color: lightblue; */
  width: 100%;
  min-height: 70%;
  text-align: center;
  font-family: customWebFont;
  font-weight: bold;
}

.textStatLabel {
  /* background-color: lightcoral; */
  width: 100%;
  min-height: 30%;
  text-align: center;
}

  /* SureModal Stuff */


.sure-mode-button {
  color: black;
  position: relative;
  display: inline-block;
  background-color: var(--midGrey);
  padding: 10px;
  font-size: 100%;
  border-radius: 3px;
  width: 35%;
  text-align: center;
  font-family: customWebFont;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

}

.sure-mode-button:hover,
.sure-mode-button:focus {
  filter:brightness(150%);
  cursor: pointer;
}

#share-button {
  color: var(--offWhite);
  background-color: var(--green);
  padding: 10px;
  font-size: 1.5rem;
  min-width: calc(var(--width) * 0.31px);
  max-width: calc(var(--width) * 0.31px);
  border-radius: 3px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0px auto;
}

#share-label {
  white-space: pre;
  font-size: calc(var(--width) * 0.03px);


}

#share-button:hover,
#share-button:focus {
  filter:brightness(150%);
  cursor: pointer;
}

#copiedPopup {
  position: absolute;
  display: table;
  z-index: 100;
  border-radius: 3px;
  background-color: var(--black);
  color: var(--offWhite);
  text-align: center;
  font-family: customWebFont;
  font-size: 1rem;
}

.tip-holder {
  display: flex;
  padding: calc(var(--width) * 0.015px);
  margin-top: calc(var(--width) * 0.03px);
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 1px dashed var(--green);
}

.tip-holder .image-text-container {
  width: 100%;
  display: flex;
  align-items: center;
}

.tip-holder img {
  width: 25%;
}

.tip-holder p {
  margin: calc(var(--width) * 0.03px);
  text-align: left;
  font-weight: bold;
  font-size: calc(var(--width) * 0.035px);
  overflow: hidden;
  white-space: pre-wrap;
}

.tip-holder p.text-center {
  font-weight: normal;
  font-size: calc(var(--width) * 0.03px);
  width: 100%;
  margin-left: 0;
  margin-top: calc(var(--width) * 0.03px);
}

.tip-holder .img2 {
  margin: auto;
  width: 50%;
}

.next-tip-button {
  background-color: var(--green);
  color: var(--offWhite);
  font-size: calc(var(--width) * 0.03px);
  margin: calc(var(--width) * 0.03px) auto;
}

.next-tip-button:hover,
.next-tip-button:focus {
  filter:brightness(150%);
  cursor: pointer;
}
