/*--------------------------------------------------------------
CSS Reset
--------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;1,500&family=Work+Sans:ital,wght@0,400;0,500;0,700;1,500;1,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap");
html {
  font-family: sans-serif; }

body {
  margin: 0; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block; }

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline; }

audio:not([controls]) {
  display: none;
  height: 0; }

[hidden],
template {
  display: none; }

a {
  background-color: transparent; }

a:active,
a:hover {
  outline: 0; }

abbr[title] {
  border-bottom: 1px dotted; }

b,
strong {
  font-weight: bold; }

dfn {
  font-style: italic; }

h1 {
  font-size: 2em;
  margin: 0.67em 0; }

mark {
  background: #ff0;
  color: #000; }

small {
  font-size: 80%; }

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

img {
  border: 0;
  width: 100%;
  height: auto; }

svg:not(:root) {
  overflow: hidden; }

figure {
  margin: 1em 40px; }

hr {
  box-sizing: content-box;
  height: 0; }

pre {
  overflow: auto; }

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0; }

button {
  overflow: visible; }

button,
select {
  text-transform: none; }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer; }

button[disabled],
html input[disabled] {
  cursor: default; }

input {
  line-height: normal; }

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

input[type="search"] {
  box-sizing: content-box; }

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

legend {
  border: 0;
  padding: 0; }

textarea {
  overflow: auto; }

optgroup {
  font-weight: bold; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

td,
th {
  padding: 0; }

/* Navigational CSS 9/30/2022 */
.nav {
  position: relative;
  width: 100%;
  height: 2.700em;
  border-bottom: 1px solid #9a9a9a;
  padding-bottom: 0.625em; }

.nav-title {
  display: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.2em;
  color: #efefef;
  padding-left: 0.625em; }

.name-website {
  display: none;
  position: absolute;
  right: 0;
  bottom: -0.9375em; }
  .name-website .webtitle {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.8em;
    color: #b3b3b3; }

.nav > .nav-btn {
  display: none; }

.nav > .nav-links {
  display: inline;
  float: right;
  font-size: 1.250em;
  padding-right: 3.125em; }

.nav > .nav-links > a {
  display: inline-block;
  line-height: 1.875em;
  text-decoration: none;
  text-transform: capitalize;
  color: #9a9a9a;
  padding: 0.313em 0.625em; }

.nav > .nav-links > a:hover {
  color: #4d4d4d; }

.nav > #nav-check {
  display: none; }

/* Navigation CSS Media Query */
@media screen and (max-width: 77em) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0; }

  .nav > .nav-btn > label {
    display: inline-block;
    cursor: pointer;
    width: 3.125em;
    height: 3.125em;
    padding: 0.875em; }

  .nav > .nav-btn > label > span {
    display: block;
    width: 1.563em;
    height: 0.500em;
    border-top: 0.125em solid #9a9a9a; }

  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    z-index: 30000;
    background-color: #fff;
    height: 0;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 3.125em;
    left: 0; }

  .nav > .nav-links > a {
    display: block;
    width: 100%; }

  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0; }

  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 3.125em);
    overflow-y: auto; } }
/*
 * Hangman Game CSS
 */
.hangman {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: aliceblue; }

.hangman__question {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.0em;
  font-weight: normal;
  padding: 0.625em;
  margin-bottom: 0.625em; }

.hangman__word {
  font-size: 1.0em;
  font-weight: normal;
  margin-top: 0.300em;
  margin-bottom: 0.300em; }

.hangman__word span {
  padding-left: 0.325em; }

.hangman__guesses, .hangman__remaining {
  font-size: 0.8em;
  margin-bottom: 1.250em; }

/* Display and Input for Larger Screens */
#hangman-canvas {
  display: none; }

#hangman-form {
  display: none; }

.hangman__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 20em;
  margin: 0 auto;
  padding: 0; }
  .hangman__buttons button {
    width: 2.5em;
    height: 2.5em;
    cursor: pointer;
    border: 1px solid #fff;
    background-color: #ccc;
    font-size: 1.125em;
    font-weight: bold;
    color: #000;
    justify-content: center;
    margin: 0.5em;
    padding: 0; }
    .hangman__buttons button:hover:not(.guessedButton) {
      background-color: #ddd; }
    .hangman__buttons button.incorrectGuess {
      background-color: red;
      color: #fff;
      cursor: default; }
    .hangman__buttons button.guessedButton {
      background-color: blue;
      color: #fff;
      cursor: default; }
      .hangman__buttons button.guessedButton:hover {
        background-color: blue; }

.hangman__input {
  margin-top: 1.250em; }

.hangman__next {
  float: right;
  outline: none;
  color: #fff;
  border: none;
  background-color: blue;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
  width: 11.25em;
  font-family: 'Rubik', sans-serif;
  font-size: 1.2em;
  text-transform: capitalize;
  text-decoration: none;
  padding: 0.313em;
  transition: background-color .5s; }

.hangman__score {
  padding: 0.625em; }

.hangman__message {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.0em;
  padding: 1.250em; }

.sidebar {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.0em;
  line-height: 1.5;
  padding: 1.250em; }

/* Approximately the size of an iPad 800px */
@supports (grid-area: auto) {
  @media screen and (min-width: 26em) {
    /* Display and Input for Larger Screens */
    #hangman-canvas {
      display: none; }

    #hangman-form {
      display: none; }

    .hangman__buttons {
      display: block; } } }
footer p {
  font-family: 'Shadows Into Light', cursive;
  font-size: 1.2em;
  color: #9a9a9a; }

/* Approximately the size of a 1248px large display monitor */
@supports (grid-area: auto) {
  @media screen and (min-width: 64em) {
    .site {
      display: grid;
      grid-template-columns: 40em 1fr;
      grid-template-areas: "header header" "nav nav" "main sidebar" "footer footer";
      justify-content: center;
      width: 64em;
      margin: 0 auto; }

    .nav {
      grid-area: nav; }

    .headerStyle {
      grid-area: header;
      display: block;
      width: 100%;
      max-width: 1024px;
      height: 15.625em;
      background-repeat: no-repeat;
      background-size: 64.000em 15.625em;
      background-image: url("../images/img-lego-header-1024-250.jpg"); }

    .sidebar {
      grid-area: sidebar;
      background-color: #fff;
      padding: 1.250em;
      margin-top: 0.625em;
      margin-left: 0.625em; }
      .sidebar p {
        font-family: 'Nunito Sans', sans-serif;
        font-size: 1.0em;
        color: #2e2e2e; }

    .main {
      grid-area: main;
      /* Form CSS */
      /* Emd Of Form CSS */ }
      .main .search-form-container {
        padding: 2rem;
        box-sizing: border-box; }
      .main #searchForm {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        background-color: #f5f5f5;
        padding: 1rem;
        border-radius: 5px; }
      .main #searchForm label {
        font-size: 1rem;
        font-weight: bold; }
      .main #searchTerm {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 1rem; }
      .main #searchForm button {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        font-weight: bold;
        background-color: #007bff;
        border: 1px solid #007bff;
        color: #fff;
        cursor: pointer;
        border-radius: 3px; }
      .main #searchForm button:hover {
        background-color: #0056b3;
        border-color: #0056b3; }
      .main #add_to_db_table, .main #edit_record {
        grid-area: main;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: "file_grid_area" "question_grid_area" "answer_grid_area" "submit_grid_area";
        background-color: #8eafed;
        padding: 1.250em;
        margin: 1.250em auto; }
      .main .file_grid_area {
        grid-area: file_grid_area; }
        .main .file_grid_area [type="file"] {
          border: 0;
          clip: rect(0, 0, 0, 0);
          height: 1px;
          overflow: hidden;
          padding: 0;
          position: absolute !important;
          white-space: nowrap;
          width: 1px; }
        .main .file_grid_area [type="file"] + label {
          background-color: #000;
          border-radius: 4rem;
          color: #fff;
          cursor: pointer;
          display: inline-block;
          padding: 0.625em 1.250em;
          margin-bottom: 1.25em; }
        .main .file_grid_area [type="file"]:focus + label,
        .main .file_grid_area [type="file"] + label:hover {
          background-color: #f15d22; }
        .main .file_grid_area [type="file"]:focus + label {
          outline: 1px dotted #000; }
        .main .file_grid_area *, .main .file_grid_area *::before, .main .file_grid_area *::after {
          box-sizing: border-box; }
      .main .question_grid_area {
        grid-area: question_grid_area; }
        .main .question_grid_area label {
          font-family: "Rubik", sans-serif;
          font-size: 1.2em;
          line-height: 1.5;
          font-weight: normal;
          color: #2E2E2E; }
        .main .question_grid_area #question_style {
          box-sizing: border-box;
          resize: none;
          height: 9.5em;
          width: 100%;
          padding: 0.625em; }
      .main .answer_grid_area {
        grid-area: answer_grid_area; }
        .main .answer_grid_area label {
          font-family: "Rubik", sans-serif;
          font-size: 1.2em;
          line-height: 1.5;
          font-weight: normal;
          color: #2E2E2E; }
        .main .answer_grid_area #answer_style {
          width: 100%;
          padding: 0.75em;
          border: 1px solid #ccc;
          border-radius: 4px;
          box-sizing: border-box;
          font-size: 0.8em;
          margin-top: 0.375em;
          margin-bottom: 1em;
          resize: vertical; }
      .main .submit_grid_area {
        grid-area: submit_grid_area;
        display: flex;
        justify-content: right; }
        .main .submit_grid_area .button_style {
          outline: none;
          color: #fff;
          border: none;
          background-color: #f12929;
          box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
          width: 6.25em;
          font-family: "Rubik", sans-serif;
          font-size: 1.2em;
          text-transform: capitalize;
          text-decoration: none;
          cursor: pointer;
          padding: 0.313em;
          margin: 0.625em;
          transition: color 0.5s; }
          .main .submit_grid_area .button_style:hover {
            opacity: 0.5; }

    .footer {
      grid-area: footer;
      text-align: center;
      margin-top: 1.250em; }
      .footer p {
        font-family: 'Shadows Into Light', cursive;
        font-size: 1.2em;
        color: #9a9a9a; } } }

/*# sourceMappingURL=hangman.css.map */
