body {
      font-family: Arial, sans-serif;
      text-align: center;
      padding: 20px;
      margin: 0;
      background:#000000;
    }
    h2 {
      font-size: 1.5em;
      color:#ffffff;
    }
    #video, #photo {
      width: 100%;
      max-width: 550px;
      height: auto;
      border-radius: 15px;
      object-fit: cover;
        background-image: linear-gradient(147deg, #ed143d 0%, #fd3838 74%);
        box-shadow: 4px 13px 30px 1px rgba(255, 2, 2, 0.2);
    }
    canvas {
      display: none;
    }
    #result {
      margin-top: 30px;
      font-weight: bold;
      color:#ffffff
    }
    .loading-bar {
      width: 80%;
      height: 5px;
      background: #eee;
      margin: -15px auto 10px auto;
      border-radius: 4px;
      display: none;
      position: relative;
      overflow: hidden;
    }
    .loading-bar::after {
      content: '';
      display: block;
      height: 100%;
      width: 50%;
      background: crimson;
      animation: loading 1s infinite;
    }
    @keyframes loading {
      0% { margin-left: -50%; }
      100% { margin-left: 100%; }
    }
    button {
        height: 44px;
        padding: 0px 30px;
        background-color: #ed143d;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;
        letter-spacing: 1px;
        border: none;
        margin-top: 15px;
        box-shadow: 0px 8px 24px 0 rgba(228, 10, 57, .2);
        transition: all .2s linear;
    }
    button:disabled {
      background-color: #aaa;
      cursor: not-allowed;
    }
    .material-icons{
        vertical-align: middle;
    }

    @media (max-width: 600px) {
      h2 {
        font-size: 1.2em;
      }
      button {
        width: 100%;
      }
    }