html {
  height: 100%;
}

body {
  height: 100%;
  background:linear-gradient(to bottom, #ffcc00 13.5%, #66cccc 0%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* 3 button with time in sidebar */
.sidebtn {
  
    display: flex;
    position: relative;
    flex-direction: column;
    width: 7em;
    top: 40%;
    right: 32%;
  

}

/* main card where grid is there */

.game {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  padding: 15px;
  background-color: #d8d8e9;
  border-radius: 5px;
  margin-bottom: 10em;

}

.sidegrid {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  position: absolute;
  left: 75%;
  top: 28%;
  height: 46%;
  width: 20%;
  background:#bbcfff;
  border-radius: 10px;
}

.sidegrid:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.score{
  text-transform: uppercase;
    font-family: sans-serif;
    color: red;
}

.container {
  padding: 2px 16px;
}

.level {
  position: absolute;
  top: 40em;
  display: inline-block;
}

/* nuble logo */

.logo {
    position: absolute;
    font-size: 2em;
    letter-spacing: 23px;
    font-optical-sizing: none;
    font-weight: inherit;
    color: white;
    box-shadow: 0px 0px 0 3px;
    padding: 12px;
    width: 20px;
    display: table;
    top: 0.8em;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 30px;
}
.grid {
  display: grid;
  grid-template-columns: 80px 80px 80px 80px;
  grid-template-rows: 80px 80px 80px 80px;
  
}

/* how to start game instruction paragraph */

.note{
  font-size: 14px;
  position: absolute;
  margin-top: 250px;
  color: white;
  font-style: italic;
  font-family: serif;
}

.grid button  {
background-color: #cfcfcf;
font-size: 24px;
border-radius: 1px solid black;
font-weight: bold;
outline: none;
border: 1px solid grey;
margin: 2px;
cursor: pointer;
border-radius: 20px;
}

.footer {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.footer button {
  border: none;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  padding: 5px;
  width: 100%;
  background-color: floralwhite;
  color: black;
  outline: none;
  cursor: pointer;
}

.footer button:hover {
  color: white;
  background-color:black;
}

.footer span {
  flex: 1;
  text-align: center;
  font-size: 20px;
  color: black;
  font-weight: bold;
  margin: auto 0;
}

.message {
  color:#AA3939;
  height: 80px;
}