html{
    overflow: hidden;
    max-width: auto;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    font-family: 'Press Start 2P', cursive;
    background-color: rgba(228, 160, 13, 0.382);
}
body {
    width: 35%;
    height: 100%;
}
#paintSquare {
    margin: 0;
    padding: 0;
    background-color: lightgrey;
    border: solid 1px rgba(255, 255, 255, 0.174);
}
.header {
    font-weight: bold;
    position: relative;
    text-align: center;
    font-size: 1.5rem;
    max-width: 80%;
    margin: 2rem;
    color: rgb(0, 0, 0);
    text-shadow: 3px 3px rgba(255, 0, 0, 0.591);
}
.instructions {
    font-size: medium;
    text-align: center;
    line-height: 1.3rem;
    max-width: 50vh;
    text-shadow: 3px 3px rgba(255, 0, 0, 0.591);
    margin-top: 0;
    margin-bottom: 5px;
}
#mainBlock {
    background-color:rgb(226, 171, 53);
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    border: 2px black solid;
    padding-bottom: 1.rem;
}
.wrap {
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    margin: 0;
}
#paintArea {
    width: 90%;
    height: 80%;
    background-color: rgb(251, 239, 209);
    display: grid;
    border: 1px solid black;
}
.buttons{
    display: flex;
    width: 90%;
    justify-content: space-between;
}
.numberBtn {
    display: flex;
    justify-content: space-between;
    width: 20%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.colorReset {
    display: flex;
    margin-top: 1rem;
    max-height: 3.125rem;
}
button {
    padding: 0.5rem;
    min-width: 15%;
    max-height: 70%;
    background-color: rgb(249, 249, 249);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    text-align: center;
    border: solid 1px rgba(0, 0, 0, 0.775);
}
.gridRange {
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
#valueText {
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    margin: 2px;
    font-size: 1.1rem;
    text-shadow: 1px 1px rgba(255, 0, 0, 0.591);
    letter-spacing: 0px;
}
.sliderStyle {
    width: 30%;
}
#favcolor {
    height: 3rem;
    width: 100%;
} 
#reset:hover {
    background-color: rgb(243, 204, 152);
}
#reset:active {
    background-color: blanchedalmond;
    color: darkgray;
}
#random:hover {
    background-color: rgb(243, 204, 152);
}
#random:active {
    background-color: blanchedalmond;
    color: darkgray;
}
#colorPick {
    display: flex;
    flex-direction: column;
}
.colorPickText {
    padding: 0;
    font-size: 0.6rem;
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.321);
}
.myRange {
    -webkit-appearance: none;
    width: 100%;
    height: 1.5rem;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  .myRange:hover {
    opacity: 1;
  }
.myRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    background: #633800;
    cursor: pointer;
}
.myRange::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    background: #633800;
    cursor: pointer;
}
#text {
    margin: 1rem;
}