* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Bree Serif";
  src: local("Bree Serif"),
    url("../fonts/BreeSerif-Regular.ttf") format("truetype");
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  color: #000;
  font-family: "Bree Serif", system-ui, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 2em;
  overflow: hidden;
}

center {
  align-items: center;
  background-color: #ffb343;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  opacity: 0.95;
  padding: 1em;
}

@media (min-width: 768px) {
  center {
    margin: 0;
  }
}

h1,
h2 {
  font-size: 1.125em;
  margin: 0;
  opacity: 1;
}

@media (min-width: 768px) {
  h1,
  h2 {
    font-size: 1.5em;
  }
}

a {
  color: inherit;
}

canvas {
  position: absolute;
  top: 0;
  z-index: -1;
}

.pw {
  color: #000;
  display: flex;
  flex-direction: column;
  font-family: "Lucida Console", Courier, monospace;
  margin: 100px 0 0;
}

@media (min-width: 768px) {
  .pw {
    flex-direction: row;
  }
}

input,
label {
  font-size: 0.5em;
}

input {
  border-radius: 5px 5px 0 0;
  border: 0;
  color: inherit;
  font-family: inherit;
  padding: 10px 1em;
}

label {
  background-color: #fff;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 0 5px 5px;
  border-right: 0;
  border-top: 1px solid #ffb343;
  cursor: not-allowed;
  padding: 10px 1em;
}

@media (min-width: 768px) {
  input {
    border-radius: 5px 0 0 5px;
  }

  label {
    border-bottom: 0;
    border-left: 1px solid #ffb343;
    border-radius: 0 5px 5px 0;
    border-right: 0;
    border-top: 0;
  }
}
