/* Base styles. These reproduce the parts of the main site's stylesheet that
   this puzzle was originally designed against. */

:root {
  --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

*,
::after,
::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--bs-font-sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

h1 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

b {
  font-weight: bolder;
}

a {
  color: #0d6efd;
  text-decoration: underline;
}

a:hover {
  color: #0a58ca;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

img {
  vertical-align: middle;
}

td,
tr {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

button,
input {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  text-transform: none;
}

[type=button],
button {
  -webkit-appearance: button;
}

[type=button]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button {
  height: auto;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::file-selector-button {
  font: inherit;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -.5);
  margin-left: calc(var(--bs-gutter-x) * -.5);
}

.row>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}

:root {
  --neutral-100: #f5f5f6;
  --neutral-600: #71767f;
  --neutral-900: #131415;
  --orange-500: #ff8000;
  --orange-600: #df7000;
  --green-500: #81d004;
  --red-500: #ea5555;
  --white: #FFFFFF;
  --black: #000000;
}

html,
body {
  height: 100%;
  min-height: 100%;
}

body {
  background-color: var(--white);
  font-family: "Alright Sans LT", Helvetica, Arial, sans-serif;
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0;
  }
}

h1 {
  font-weight: 800;
  font-size: 70px;
  line-height: 70px;
  color: var(--black);
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 48px;
    line-height: 1;
  }
}

p,
td {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: normal;
  line-height: 24px;
  margin-bottom: 12px;
  color: var(--black);
}

@media screen and (max-width: 768px) {
  p,
  td {
    font-size: 14px;
  }
}

a,
a:visited,
a:active {
  color: var(--orange-500);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--orange-600);
}

button {
  border: 0;
  cursor: pointer;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.hidden,
.hide {
  display: none;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
    line-height: 1.1;
  }
}

@media (max-width: 576px) {
  .row {
    padding-left: 0;
    padding-right: 0;
  }
}


/* Puzzle styles */

.bug-byte {
  font-family: "Alright Sans LT", Helvetica, Arial, sans-serif;
}

.bug-byte .cc-window {
  display: none;
}

.bug-byte #canvas-container-div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background-color: var(--white);
}

.bug-byte #canvas-container-div #confetti-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.bug-byte .column {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%);
      -ms-transform: translate(-50%);
          transform: translate(-50%);
  max-width: 1200px;
  min-height: 100vh;
}

.bug-byte img {
  max-width: none;
}

.bug-byte .page {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.bug-byte .text {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%);
      -ms-transform: translate(-50%);
          transform: translate(-50%);
  width: 100%;
}

.bug-byte .text h1 {
  color: var(--black);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
}

.bug-byte .text h2 {
  color: var(--black);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin: 20px 0 0 0;
}

.bug-byte .text p,
.bug-byte .text li {
  color: var(--black);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 0 0;
}

.bug-byte .text ol {
  padding-left: 15px;
  margin-top: 20px;
}

.bug-byte .text ol li {
  padding-left: 5px;
  margin: 0 0 20px 0;
  font-weight: 300;
  font-size: 15px;
}

.bug-byte .text ol li p {
  margin: 0;
}

.bug-byte .instruction {
  height: 60px;
  margin: 20px 0;
}

.bug-byte .instruction img {
  float: left;
  width: 40px;
  margin: 0 10px 0 0;
  height: 50px;
}

.bug-byte .instruction p {
  margin: 0;
}

.bug-byte .instruction.i1 p {
  padding-top: 15px;
}

.bug-byte .instruction.i2 {
  height: 67px;
  height: 110px;
}

.bug-byte .inline-img {
  display: inline-block;
  width: 18px;
  margin: 0 2px;
}

.bug-byte .content-container {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%);
      -ms-transform: translate(-50%);
          transform: translate(-50%);
  max-width: 600px;
}

.bug-byte .content-container ul {
  margin: 20px 15px;
}

.bug-byte .content-container .puzzle-container {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%);
      -ms-transform: translate(-50%);
          transform: translate(-50%);
  width: 100%;
  margin: 70px 0 0;
}

.bug-byte .content-container .puzzle-container .inner-puzzle-container {
  position: relative;
  margin-bottom: 50px;
  background-color: var(--neutral-100);
}

.bug-byte .content-container .puzzle-container .inner-puzzle-container img {
  width: 100%;
}

.bug-byte .box {
  position: absolute;
  font-size: 14px;
  font-weight: 500;
  padding: 2px 0 0 6px;
  border: 3px solid var(--neutral-900);
  background-color: transparent;
  width: 35px;
  height: 35px;
  text-align: center;
  padding: 1px 0 0;
  color: #1074c4;
  border: none;
}

.bug-byte .clue-entry {
  /* Remove number arrows: Chrome, Safari, Edge, Opera */
  /* Remove number arrows: Firefox */
}

.bug-byte .clue-entry:focus {
  outline: none;
}

.bug-byte .clue-entry::-webkit-outer-spin-button, .bug-byte .clue-entry::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bug-byte .clue-entry[type=number] {
  -webkit-appearance: textfield;
          appearance: textfield;
  -moz-appearance: textfield;
}

.bug-byte .clue-entry#ce-1 {
  left: 47%;
  top: 6%;
}

.bug-byte .clue-entry#ce-2 {
  left: 31%;
  top: 12.5%;
}

.bug-byte .clue-entry#ce-3 {
  left: 63%;
  top: 12.5%;
}

.bug-byte .clue-entry#ce-5 {
  left: 20.5%;
  top: 30.5%;
}

.bug-byte .clue-entry#ce-6 {
  left: 73.5%;
  top: 30.5%;
}

.bug-byte .clue-entry#ce-7 {
  left: 10%;
  top: 35%;
}

.bug-byte .clue-entry#ce-8 {
  left: 47%;
  top: 39.5%;
}

.bug-byte .clue-entry#ce-9 {
  left: 84%;
  top: 35%;
}

.bug-byte .clue-entry#ce-10 {
  left: 33.5%;
  top: 44%;
}

.bug-byte .clue-entry#ce-11 {
  left: 60.5%;
  top: 44%;
}

.bug-byte .clue-entry#ce-12 {
  left: 20.5%;
  top: 48%;
}

.bug-byte .clue-entry#ce-13 {
  left: 60%;
  top: 52.5%;
}

.bug-byte .clue-entry#ce-14 {
  left: 84%;
  top: 61.5%;
}

.bug-byte .clue-entry#ce-15 {
  left: 10%;
  top: 61.5%;
}

.bug-byte .clue-entry#ce-16 {
  left: 34%;
  top: 61.5%;
}

.bug-byte .clue-entry#ce-17 {
  left: 73.5%;
  top: 66%;
}

.bug-byte .clue-entry#ce-18 {
  left: 36.5%;
  top: 73%;
}

.bug-byte .clue-entry#ce-19 {
  left: 57.5%;
  top: 73%;
}

.bug-byte .clue-entry#ce-20 {
  left: 36.5%;
  top: 84%;
}

.bug-byte .clue-entry#ce-21 {
  left: 57.5%;
  top: 84%;
}

.bug-byte .pre-completed {
  background-color: #c3c3c3;
}

.bug-byte .pre-completed p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%);
      -ms-transform: translate(-50%);
          transform: translate(-50%);
  line-height: 0;
  color: #1074c4;
}

.bug-byte .pre-completed#pc-1 {
  left: 73.5%;
  top: 48.3%;
}

.bug-byte .pre-completed#pc-2 {
  left: 34%;
  top: 53%;
}

.bug-byte .pre-completed#pc-3 {
  left: 20.5%;
  top: 66%;
}

.bug-byte .pre-completed#pc-4 {
  left: 47%;
  top: 21.5%;
}

.bug-byte .correct-notification {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  width: 100%;
  display: none;
}

.bug-byte .correct-notification .text-container {
  position: absolute;
  top: 350px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
}

.bug-byte .correct-notification .text-container .correct-heading {
  text-align: center;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.1;
}

.bug-byte .correct-notification .text-container .correct-subheading {
  text-align: center;
  font-size: 22px;
  margin-top: 53px;
  font-weight: 700;
  line-height: 27px;
}

.bug-byte .correct-notification .text-container .reset {
  margin-top: 35px;
  color: var(--neutral-600);
  font-size: 11px;
  text-align: center;
  cursor: pointer;
}

.bug-byte .correct-notification .text-container .reset:hover {
  color: var(--black);
}

.bug-byte form {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%);
      -ms-transform: translate(-50%);
          transform: translate(-50%);
  width: 90%;
  max-width: 600px;
  margin-top: 85px;
  height: 180px;
}

.bug-byte #answer-entry {
  font-size: 14px;
  height: 40px;
  border: 2px solid var(--black);
  border-radius: 4px;
  width: 66%;
  padding: 1px 0 0 13px;
  background-color: var(--white);
  color: var(--black);
  text-transform: uppercase;
}

.bug-byte #answer-entry:focus {
  outline: none;
}

.bug-byte #answer-entry::-webkit-input-placeholder {
  color: var(--neutral-600);
  text-transform: none;
}

.bug-byte #answer-entry:-ms-input-placeholder {
  color: var(--neutral-600);
  text-transform: none;
}

.bug-byte #answer-entry::-ms-input-placeholder {
  color: var(--neutral-600);
  text-transform: none;
}

.bug-byte #answer-entry::placeholder {
  color: var(--neutral-600);
  text-transform: none;
}

.bug-byte #answer-entry:focus::-webkit-input-placeholder {
  opacity: 0;
}

.bug-byte #answer-entry:focus:-ms-input-placeholder {
  opacity: 0;
}

.bug-byte #answer-entry:focus::-ms-input-placeholder {
  opacity: 0;
}

.bug-byte #answer-entry:focus::placeholder {
  opacity: 0;
}

.bug-byte button {
  height: 40px;
  border-radius: 27.5px;
  color: var(--white);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

.bug-byte button#submit-button {
  float: right;
  width: 32%;
  background-color: var(--black);
}

.bug-byte button#submit-button:hover {
  background-color: var(--green-500);
}

.bug-byte button .label {
  position: relative;
  top: 0px;
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--white);
}

.bug-byte .incorrect-notification {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 16px;
  top: 60px;
  color: var(--red-500);
  display: none;
}

.bug-byte .download-puzzle-pdf {
  font-size: 15px;
  margin: -80px 0 0;
  padding-bottom: 56px;
  position: relative;
  text-align: center;
  z-index: 2;
}

@media (max-width: 1200px) {
  .bug-byte .column .text.intro {
    margin-top: 50px;
  }
  .bug-byte .content-container .puzzle-container {
    width: 350px;
  }
  .bug-byte .content-container .puzzle-container .inner-puzzle-container img {
    width: 350px;
  }
  .bug-byte .value {
    font-size: 90%;
  }
  .bug-byte .box {
    font-size: 9px;
    border-radius: 2px;
    width: 21px;
    height: 21px;
  }
  .bug-byte .box p {
    font-size: 9px;
  }
}

@media (max-width: 850px) {
  .bug-byte .column {
    padding: 0 5px;
  }
  .bug-byte .content-container {
    position: relative;
    left: 50%;
    -webkit-transform: translate(-50%);
        -ms-transform: translate(-50%);
            transform: translate(-50%);
    max-width: 600px;
  }
  .bug-byte .content-container ul {
    margin: 20px 15px;
  }
}

@media (max-width: 500px) {
  .bug-byte .instruction.i2 {
    height: 110px;
  }
}
