h1 {
    font-size:1.7vmax;
    margin-bottom: 0px;
}

body {
    
    font-family: 'Nunito', sans-serif;
    background-color:rgb(243, 243, 243);
  }

  a {
   color: black;
    text-decoration: none; 
  }



/* Nav */

.nav {
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding-right:1.0vmax;
    padding-left:1.0vmax;

    
}

.right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.brand {
    font-size:1.7vmax;
    font-weight: 100;
    line-height: 2.0vmax;
    text-transform: uppercase;
}

/* socials */




#patreonLogo2 {
    height: 2.5vmax;
    margin: 0.3vmax;
  }
  
  #patreonLogo2:hover {
    cursor: pointer;
  }

  #fbLogo {
    height: 2.5vmax; 
    margin: 0.3vmax;
  }
  
  #fbLogo:hover {
    cursor: pointer;
  }



/* Main Body */

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    /* height: 100%; Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0,140,186,1.0); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    overflow-x:hidden;
    overflow-y: auto;
  }

  .text {
    color: white;
    font-size: 2.5vh;
    position: absolute;
    text-align: left;  
    padding: 5vmax;
    
  }

  .text2 {
    color: white;
    font-size: 2.5vh;
  
    
  }


.slider-wrapper {
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
}

.checkbox-container {
    margin-right: 0.5vmax;
    margin-left: 0.5vmax;
}

.checkbox {
    margin: 0.2vmax;
    vertical-align:middle;
    transform: scale(1.5);
}




#slider-helper-text {
    margin-right: 0.5vmax;
}

.options-grid {
    /* display: grid;
    justify-content:center;
    margin: 0.2vmax;
    grid-auto-flow: row;
    width:90%;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, 186px); */

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width:85%;
}

.grid-item {
    position: relative;
    /* display: flex;
    flex-flow: column; */
    /* box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.15), 0 1px 3px 0 rgba(0,0,0,.12); */
    box-shadow: 0 0.1vmax 0.1vmax 0 rgba(0,0,0,.14), 0 0.1vmax 0.1vmax -0.1vmax rgba(0,0,0,.15), 0 0.1vmax 0.1vmax 0 rgba(0,0,0,.12);
    /* width: auto; */
    box-sizing: border-box;
    text-align: center;
    font-size: 1.7vmax;
    padding-top:0.6vw;
    padding-bottom:0.6vw;
    padding-left:1.5vw;
    padding-right:1.5vw;
    margin: 0.3vmax;
    background-color:rgb(253, 253, 253);
}






.grid-item:hover {
    cursor: pointer;
}

.grid-item-toggle-indicator {
    background-color: #0D6;
}


.grid-item .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
    font-size: 0.8vmax;
  }
  
  .grid-item .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
  }
  
  .grid-item:hover .tooltiptext {
    visibility: visible;
  }












.main {
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
   
}

#wikiTitle {
    font-size:2.1vmax;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom:10px;
    text-decoration: underline;

}

.generated-wiki-text-border-box {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    padding:10px;
    border: 1px solid black;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.14), 2px 2px 2px 2px rgba(0,0,0,.15), 2px 2px 2px 2px rgba(0,0,0,.12);
    width:90%;
}



.input-box-wrapper {
    width:100%;
    display:flex;
    justify-content:center;
    align-items: center;
}

#inputBox {
    font-size:1.7vmax;
    height:50px;
    left:50;
    margin:20px;
}

#questionMarkButton {
    /* height: 2.6vmax;
    margin: 0.25em; */
    
    height: 2.5vmax;
    margin: 0.3vmax;
    
}

#questionMarkLink {
    padding: 0;
  border: none;
  background: none;

  }

  #questionMarkLink:hover {
    cursor: pointer;
  }


.stats {
    width: 100%;
    display: grid;
    justify-content:center;
    align-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding-bottom: 0.5vmax;

    
}

.stats-animation {
    border-bottom-style: groove;
    border-color: black;
    opacity: 1;
    animation: fade 2s linear;
    animation-iteration-count: infinite;
}

@keyframes fade {
    0%,100% { opacity: 0.3 }
    50% { opacity: 1 }
  }

.stat-item {
    /* display: flex;
    flex-flow: column;
    background: var(--foreground);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.15), 0 1px 3px 0 rgba(0,0,0,.12);
    width: auto;
    margin-left: 0.5vmax;
    margin-right: 0.5vmax;
    box-sizing: border-box;
    padding: 0.2vmax; */

    display: flex;
    flex-flow: column;
    background: var(--foreground);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 15%), 0 1px 3px 0 rgb(0 0 0 / 12%);
    width: auto;
    height: 100%;
    margin: 0.5vmax;
    box-sizing: border-box;
}

.stat-item-title {
    display: flex;
    flex-flow: column;
    color: black;
    text-align: center;
    font-size: 1.2vmax;
    border-bottom: 1px solid black;
    margin: 0.5vmax;
    flex: 0 0 auto;
    text-transform: uppercase;
}

.stat-item-number {
    /* text-align: center;
    font-size: 1.7vmax; */

    text-align: center;
    font-size: 2.5vw;
 }

#correctWordsStatBox {
    background:rgb(0, 211, 98);
}

#incorrectWordsStatBox {
    background: rgb(255, 117, 117);
}

#wpmStatBox {
    background: rgb(139, 255, 226);
}

#wordAccuracyStatBox {
    background: rgb(255, 181, 84);
}



/* min-height: 400px;
    height:auto; */



/* Main Body */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Roboto;
    
}



/* class for generated words */
.word {
    font-size:1.7vmax;
    padding-left: 0.2vmax;
    padding-right:0.2vmax;
    margin-top: 0.1vmax;
    margin-bottom: 0.1vmax;
    margin-left: 0.3vmax;
    margin-right: 0.3vmax;
    
}


.highlight {
    background: lightgrey;
    color:black;
    border-radius: 0.2vw;
}

.highlightIncorrect {
    background: rgb(255, 117, 117);
    color:black;
    border-radius: 0.2vw;
}

.highlightCorrect{
    background: rgb(0, 211, 98);
    color:black;
    border-radius: 0.2vw;
} 


/* Loading book */



@media only screen and (max-width: 600px) {
    .grid-item {
      /* background-color: lightblue; */
      padding-top:0.9vw;
      padding-bottom:0.9vw;
      padding-left:2vw;
      padding-right:2vw;
      margin: 0.4vmax;
    }

    #questionMarkButton {
        /* height: 2.6vmax;
        margin: 0.25em; */
        
        height: 3.5vmax;
        margin: 0.5vmax;
    }

  }