html {
    font-family: 'Chakra Petch', sans-serif;
    background-color: whitesmoke;
    font-size: medium;
}

div {
    height: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

td {
    border: 1px solid black;
    width: 75px;
    height: 55px;
    padding: 10px;
    text-align: center;
    font-size: 25px;
}

#game-board {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    width: fit-content;
    height: 60%;
    padding: 10px;
    border-radius: 2px;
    border: rgb(76, 161, 137) 3px solid ;
}

.blur {
    filter:blur(5.5px);
}



#boggle-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 30px;
}

#count-down {
  position: relative;
  width: 160px;
  height: 40px;
  border-radius: 2px;
  background-color: rgb(39, 39, 39);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: larger;
  color: #fff;
  text-align: center;
  margin-right: -10px;
  margin-left: -5px;
}

#info-columb {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

input, button {
    outline: none;
    border: rgb(76, 161, 137) 2px solid;
    border-radius: 2px;
    transition: .5s ease-in-out;
    height: 30px;
    font-size: large;
    font-family: 'Chakra Petch', sans-serif;
}

#form-button {
    height: 35px;
    background-color: rgb(76, 161, 137);
    color: whitesmoke;
}

#form-button:hover {
    color:rgb(231, 139, 129);
    background-color: whitesmoke;
}

p:hover {
    color:rgb(231, 139, 129);
}

p {
    transition: .5s ease-in-out;
}

.new-game{
    align-items: center;
    justify-content: center;
    height: 30px;
    background-color:rgb(231, 139, 129);
    border: rgb(231, 139, 129) 2px solid;
 }

input:hover, button:hover {
    border: rgb(231, 139, 129) 2px solid ;
    background-color: whitesmoke;
    cursor: pointer;
}

button:hover, #new-game:hover {
    color:rgb(231, 139, 129);
    background-color: whitesmoke;
}

label {
    color:rgb(231, 139, 129);
}


.form-item {
    margin: 5px;
}

#nav-bar {
    background-color: rgb(39, 39, 39);
    color: whitesmoke;
    display: flex;
    flex-direction: row;
    height: 60px;
    align-items: center;
    justify-content: space-around;
    margin: -8px ;
}
  
  .pulse {
    font-size: 24px;
    color: #fff;
    text-align: center;
    animation: pulse 1s infinite;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgb(39, 39, 39);
    }
    90% {
      box-shadow: 0 0 0 13px rgba(50, 205, 50, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(50, 205, 50, 0);
    }
  }

  #head-container {
      background-color: white;
      border-bottom: rgb(39, 39, 39) solid 40px;
      border-radius: 5px;
      display: flex;
      flex-direction: row;
      height: 60px;
      width: 520px;
      align-items: center;  
      justify-content: center;
      padding: 8px;
      margin-top: 30px;
      box-shadow: 0px 0px 20px -10px rgb(105, 105, 105);
  }

  .alert-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .alert-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 200px;
    min-height: 125px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  .alert-button:hover {
    background-color: #0069d9;
  }
  
  .alert-button:focus {
    outline: none;
  }
  
  #message {
    position: absolute;
    opacity: 0;
    color: whitesmoke;
    transition: .5s ease-in-out;
    margin-bottom: -85px;
  }
  
  @media (max-width: 450px) {
    html {
     font-size: small;
    }
    input, button {
      font-size: medium;
    }
    #boggle-form {
        margin-left: 20%;
    }
    #head-container {
      width: 320px;
    }
    #count-down {
      margin-right: -30px;
      font-size: x-small;
      height: 35.5px;
      width: 50px;
      margin-left: 5px;
    }
    td {
      width: 45px;
      height: 30px;
    }
    .form-item {
      width: 140px;
      margin-left: -20px;
    }
    .blur {
      filter:blur(5.5px);
    }
  }