body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.main-container{
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 99vw;
    margin: auto;
}
#header {
    font-size: x-large;
    font-weight: 700;
    font-style: oblique;
    margin: .7rem 0;
    text-justify: center;
    text-align: center;
}
#subheader {
    font-size: large;
    margin-bottom: 1rem;
    text-justify: center;
    text-align: center;

}
#gamearea{
    display: flex;
    flex-direction: column;
}
#wordboard{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    max-width: 70vw;
    margin: auto;
}
.tile{
    font-size: 200%;
    border: 2px black solid;
    border-radius: 6px;
    width: 9vw;
    height: 8vw;
    text-align: center;
    text-justify: center;
    padding: .5vw .5rem 2vw;
}
#keyboard {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.keyboardkey{
    font-size: 5vw;
    border: 2px black solid;
    border-radius: 6px;
    min-width: 1.8rem;
    text-align: center;
    text-justify: center;
    padding: 1.25vw 1.25vw;
}
.keyrow{
    display: flex;
    justify-content: center;
}
.keyboardkey{
    margin: .7vw 1vw;
}

.wordchoices {
    margin-top: .5rem;
    display: flex;
    justify-content: center;
    font-size: 5vw;
}

.wordle{
    color: cornflowerblue;
    text-shadow:0px 2px 2px light plum;
    font-weight: 600;
}

.inword {
    background-color: lightskyblue;
}

.inplace {
    background-color: limegreen;
}

.notinword{
    background-color: grey;
}
.playmode{
    margin: 1rem auto;
    font-size: 1.25rem;
    font-weight: 900;
}

/* modal copy paste */
.modal {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 10%;
    top: 20%;
    width: 80vw; /* Full width */
    height: auto; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(202, 230, 202, 0.9); /* Black w/ opacity */

    
  }
  
  /* Modal Content/Box */
  .modal-content {
    display: inherit;
    font-size: 2rem;
    color: black;
    align-self: center;
    justify-self: center;
    text-align: center;
    text-shadow: 1px .5px 1px linen;
    font-weight: 900;
    margin: 0;
    padding: 1.5rem 2rem 2.5rem 2rem;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    font-size: 15px;
    color: black;
    border: black 1px solid;
    float: right;
    padding: 6px 8px 4px;
    border-radius: 10px;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  #enter {
      min-width: 50px;
      max-width: 60px;
  }
  #delete {
      min-width: 50px;
      max-width: 55px;
  }