* {
    margin: 0;
  }
  
  body {
    transition: .2s background;
    font-family: 'Segoe UI', 'Roboto', arial, sans-serif;
    background: rgb(255,0,53);
    background: linear-gradient(135deg, rgba(33,34,176,1) 0%, rgba(255,0,53,1) 100%);
    color: white;
    height: 100vh;
  }
  
  .bold {
    font-weight: bold;
  }
  
  .info {
    font-style: italic;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
  }
  
  ::-webkit-input-placeholder { /* Edge */
    color: rgba(255, 255, 255, 0.4);
  }
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.4);
  }
  ::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  
  input, button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border: none;
    border-bottom: 1px solid white;
    font-size: 1em;
    margin-top: 10px;
    background: none;
    color: white;
  }
  button {
    background: none;
    border-radius: 4px;
    padding: 10px 16px;
    color: white;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.6);
    transition: .2s background;
    text-transform: uppercase;
    font-weight: bold;
  }
  button:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  button:active {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .word {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    max-width: 100vw;
  }
  .word span {
    border-bottom: 2px solid white;
    padding: 10px; /* not ideal for long words */
    margin: 10px;
    width: 30px;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
  }
  
  .hangman svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30vw;
    height: 40vh;
    transform: translate(-50%, -50%);
  }
  .hangman line, .hangman circle {
    stroke: white;
    stroke-width: 4;
    fill: none;
  }
  
  .hangman .draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2s linear forwards;
  }
  
  @keyframes dash {
    to {
      stroke-dashoffset: 0;
    }
  }