/** style.css
  Author:         Jack
  Date:           2024-10-17
  Last revised:   2024-10-17
  Description:    CSS for ascii2bin
*/
body {
  box-sizing: border-box;
  margin: 0;
  content: "";
  clear: both;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
  background-image: url("../images/bin.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
header {
  color: white;
  background: black;
  padding: 5px;
  padding-left: 25px;
}
header > h1 {
  font-weight: 100;
}
main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 800px;
  margin: 25px auto;
}
textarea {
  display: block;
  margin: 5px auto 25px auto;
  min-width: 675px;
  min-height: 75px;
  padding: 5px;
  background: #fff;
  font-size: 1.2rem;
  resize: none;
}
#binaryToTextEl {
  min-height: 300px;
  font-family: monospace;
}
textarea:focus {
  outline: none;
}
label {
  display: block;
  width: 60px;
  font-style: italic;
  font-size: 1.4rem;
  background: #000;
  color: #fff;
  padding: 4px;
}
legend {
  font-size: 1.4rem;
}
fieldset {
  margin-bottom: 10px;
}
button#clear {
  display: block;
  width: 100px;
  height: 40px;
  margin: auto;
  font-size: 1.2rem;
  background: #7f1a1a;
  color: white;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}
button#clear:hover {
  transition: .5s;
  filter: saturate(50%);
}
.varr {
  display: inline-block;
  position: absolute;
  left: 50%;
  font-size: 5em;
  margin: 0;
  top: 218px;
  color: red;
}