@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"); /** Main Colors **/ :root { --background-color: white; --main-color: black; --highlight-color: #576fcb; --error-color: #d73741; } input, select { -ms-box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; } body { background-color: var(--background-color); color: var(--main-color); font-family: "Roboto", sans-serif; font-weight: 400; font-style: normal; font-size: 18px; max-width:710px; margin: auto; } h2 { margin: 0px; } .label-container { display: flex; align-items: center; } .label_box { border-top: 2px solid var(--highlight-color); } .label_box:first-child { border: none; } .label-container label { width: 400px; text-align: left; padding: 3px; font-weight: bold; } .label-container span, input, select, a { font-size: 18px; text-align: right; width: 300px; padding: 3px; border: none; border: 1px solid var(--main-color); height: 100%; padding: 1px; } /* Checkbox Design */ input[type="checkbox"] { width: 20px; height: 20px; border-radius: 4px; appearance: none; -webkit-appearance: none; -moz-appearance: none; outline: none; border: 2px solid black; background-color: white; } input[type="checkbox"]:checked { background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="none" d="M0 0h24v24H0z" /%3E%3Cpath d="M5.5 13.6l2.7 2.7L16.8 8l1.4 1.4-9.5 9.5L3 12.3z" fill="black" /%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: 19px 19px; } .calculateButton { min-width: 98%; font-weight: bolder; border: 2px solid black; cursor: pointer; font-size: 20px; margin: 3px; background-color: var(--highlight-color); color: var(--background-color); text-align: left; } .delete-button { color: var(--error-color); background-color: transparent; border: none; cursor: pointer; font-weight: bolder; font-size: 18px; } .delete-button:hover { color: darkred; } /* Responsive Table Design */ @media only screen and (max-width: 800px) { .label-container label { width: 49%; word-wrap: break-word; } .label-container span, input, select, a { width: 49%; } .calculateButton { min-width: 98%; } }