* { box-sizing: border-box; margin: 0; padding: 0; /* outline: 1px solid black; */ caret-color: transparent; color: rgb(255, 255, 255); text-shadow: 1px 1px 1px black; user-select: none; } html { background-color: var(--page-color); font-family: Roboto, sans-serif; font-size: 62.5%; /* FONTSIZE TRICK-- 1 rem = 10 px here, usually 1 rem = 16px */ } body { font-size: 2rem; outline: none !important; max-width: 100vw; max-height: 100vh; /* font-size: calc(1.5rem + 0.4vw); */ /* FONTSIZE TRICK-- 1 rem = 10 px here, usually 1 rem = 16px */ /* FONTSIZE - Adding the 0.4 is for responsivity */ } li { list-style-type: none; } a { text-decoration: none; text-shadow: none; color:initial; } :root { --grid-base-color: rgb(200,200,200); --grid-hover-color: rgb(3, 114, 155); --button-pane-color: rgb(80, 80, 80); --button-color: rgb(150, 150, 150); --page-color: rgb(100, 100, 100); } /* ---------------------------------------------------- */ /* ---------------------------------------------------- */ #grid { display: grid; width: 70rem; height: 70rem; outline: 8px solid black; border-radius: 4px; flex-shrink: 0; } .gridBlock { background-color: var(--grid-base-color); } .gridBlockOutline { outline: 1px solid black; } .main { display: flex; justify-content: center; gap: 5rem; } button { width: 16rem; height: 7rem; padding: 1rem; border-radius: 5px; border: transparent; font-size: x-large; cursor: pointer; background-color: var(--button-color); } .btnShadow { box-shadow: 0.5px 0.5px 0.5px 0.5px rgb(50, 50, 50, 1); transition: box-shadow 0.1s; } .btnShadow:hover { box-shadow: 1.5px 1.5px 1.5px 1.5px rgb(50, 50, 50, 0.5); } .btnShadow:active { transform: translate3d(0.5px, 1px, 0); } .btnToggle{ outline: 4px solid black; } /*used in JS when button toggling - optToggle or sizeToggle*/ #heading { text-align: center; padding: 2rem; font-size: 6rem; letter-spacing: 0.5rem; } /*These are tied together - and crafted delicately as the color picker is actually an 'input' which is being forcibly positioned inside the button*/ #colorBtn { position: relative; padding-bottom: 6rem; } input { position: absolute; right: 0; bottom: 0; width: 100%; height: 50%; margin-bottom: 0.2rem; padding: 0 1rem; border: none; background-color: var(--button-color); } /*These are tied together - and crafted delicately as the color picker is actually an 'input' which is being forcibly positioned inside the button*/ #kekw, #psychoKek { margin: 2rem auto; width: fit-content; height: 3.8rem; font-size: large; } #sizeBtns, #options { display: flex; flex-direction: column; align-self: center; background-color: var(--button-pane-color); height: 65rem; justify-content: space-between; padding: 3rem 1rem; outline: 5px solid black; border-radius: 10px; } body { display: flex; flex-direction: column; max-width: 100vw; max-height: 100vh; } .footer { font-size: x-large; margin:auto; } img { width: 125px; } /*----------------------*/ @media all and (max-width: 1200px) { #grid { max-width: 50rem; max-height: 50rem; min-width: 50rem; min-height: 50rem; } .main { flex-direction: column; align-items: center; gap: 2rem; } #sizeBtns, #options { flex-direction: row; max-height: 10rem; align-items: center; gap: 1rem; } button { width: 16rem; height: 6rem; font-size:large; } #colorBtn { position: relative; padding-bottom: 5rem; } }