* {
    margin: 0;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    font-size: 20px;
}

header {
    background-color: white;
    padding: 15px;
    text-align: center; 
    height: 82px;
}

footer {
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    background-color: #FAEEE7;
}
footer a {
    color: #EB5353;
    text-decoration: none;
}

.container {
    flex: 2;
    user-select: none;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    margin: auto;
    
}

.ctlPanel {
    display: flex;
    flex: 1;
    gap: 10px;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    color: #ffffff;
    padding: 20px 0px;
    border-radius: 10px;
    text-align: center;
}

.rbwColor {
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.sketchPanel {
    box-sizing: border-box;
    width: 700px;
    height: 700px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 4px 16px #000000;
}

.boxGrid {
    border: 2px solid #000000;
    flex: 1;
}

button {
    font-size: 16px;
    border: none;
    padding: 10px;
    border-radius: 10px;
    background-color: #EB5353;
    color: white;
    font-weight: 700;

}
button:hover {
    cursor: pointer;
    background-color: #000000;
    color: white;
}

button:active {
    filter: brightness(0.9);
    background-color: #808080;
    color: #ffffff;
}

.rowGrid {
    display: flex;
    flex: 1;
    box-sizing: border-box;
    justify-content: space-evenly;
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 5px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #EB5353;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #EB5353;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }