:root{
    font-size: 62.5%;
    color:white;
    background-color: black;
}
body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Alumni Sans Pinstripe",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    padding: 0;
}
.flex-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    height: 100vh;
}
header{
    padding:2rem;
}
.honk {
  font-family: "Bitcount Grid Double", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-variation-settings:
    "MORF" 15,
    "SHLN" 50;
    font-size: 10rem;
}
.flex-box-2{
    display: flex;
}
.flex-box-3{
    display: flex;
    gap: 5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap-reverse; 
}
.controls{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.button-box{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
button{
    background-color: rgb(0,0,0);
    font-size: 3rem;
    width: 20rem;
    border-radius: 1rem;
    padding: 1rem;
    border: dashed 2px white;
    color: white;
    transform: scale(1);
    font-family: "Alumni Sans Pinstripe",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
button:hover{
    transform: scale(1.05);
}
#clear:active,#forward:active,#back:active{
    background-color: rgb(255, 255, 255); 
    color: #000000;
}
.active{
    background-color: rgb(255, 255, 255); 
    color: #000000;
}
input[type="color"]{
    width: 10rem;
    height: 10rem;
    border: none;
    padding: 0;
    appearance: none;
    background-color: transparent;
}
input[type='color']::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type='color']::-webkit-color-swatch {
  border: none;
  border-radius: 100%;
}
.grid-container{
    height: 60rem;
    width: 60rem;
    background-color: rgb(17, 16, 16);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 0.01rem #fff;
}
.grid{
    display: grid;
    grid-template-rows: repeat(1,1fr);
    grid-template-columns: repeat(1,1fr);
    height: 50rem;
    width: 50rem;
    background-color: white;
}

.grid-element{

    box-shadow: 0 0 0 0.01rem #fff;
    margin: -1;

}
.slide-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
#size-value{
    font-size: 4rem;
}
input[type="range"]{
    appearance: none;
    width: 17rem;
    border-radius: 1rem;
    background-color:rgb(17, 16, 16);;
}
input[type="range"]::-webkit-slider-runnable-track{
    height: 0.75rem;
    width: 17rem;
    border-radius: 0.1rem;
    box-shadow: 0 0 0 0.01rem #fff;

}
input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    background-color: white;
    margin-top: -1rem;
}
.fb_box{
    width: 20rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
#back,#forward{
    font-size: 2.2rem;
    width: 20rem;
    border-radius: 0.5rem;
    padding: 1rem;
    border: dashed 2px white;
}
@media screen and (max-width: 768px) {
    :root{
    font-size: 40%; 
  }
    header{
    padding:0.5rem;
    }
    .honk {
    font-size: 8rem;
    }
    button{
    font-size:5rem;
    width: 30rem;
    border-radius: 1rem;
    padding: 1rem;
    border: dashed 0.2rem white;
    }
    .grid{
        height: 90vw;
        width: 90vw;
        border: solid 0.2rem white;
    }
    .grid-element{
        box-shadow: none;
    }
    .grid-container{
        height: 90vw;
        width: 90vw;
        box-shadow: none;
    }
    .slide-container{
        padding-bottom: 10vh;
    }
    input[type="range"]::-webkit-slider-runnable-track{
    height: 0.75rem;
    background-color: white;
    box-shadow: none;
    }
    .fb_box{
        width: 30rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    #back,#forward{
        font-size: 3rem;
        width: 20rem;
        border: dashed 0.2rem white;
    }
}
@media screen and (max-height: 700px) {
  :root {
    font-size: 30%; 
    }
    header{
    padding:0.5rem;
    }
    .honk {
    font-size: 9rem;
    }
    button{
    font-size:5rem;
    width: 30rem;
    border-radius: 1rem;
    padding: 1rem;
    border: dashed 0.2rem white;
    }
    .grid{
        height: 90vw;
        width: 90vw;
    }
    .grid-container{
        height: 90vw;
        width: 90vw;
        box-shadow: none;
    }
    .grid-element{
        box-shadow: none;
    }
    .slide-container{
        padding-bottom: 10vh;
    }
    input[type="range"]::-webkit-slider-runnable-track{
    height: 0.75rem;
    box-shadow: none;
    background-color: white;
    }
    .flex-box-2{
        padding-bottom: 10vh;
    }
    .fb_box{
        width: 30rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    #back,#forward{
        font-size: 3rem;
        width: 20rem;
        border: dashed 0.2rem white;
    }
}