/* Reset default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Body styles */
  body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    color: #444141;
    line-height: 1.5;
    padding: 5px;
    overflow-y: scroll;
  }
  
  /* Header styles */
  header {
    padding: 10px;
    margin-bottom: 50px;
  }
  
  nav {
    background-color: #fff;
    color: #444141;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
  }
  
  nav ul li {
    margin-right: 15px;
  }
  
  nav ul li a {
    color: #444141;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  nav ul li a:hover {
    color: royalblue;
  }
  
  nav .history-button {
    background-color: lightgray;
    padding: 8px 30px;
    border: none;
    border-radius: 20px;
    color: #444141;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
  }
  
  .logo {
    width: 110px;
    height: 90px;
    margin-right: 15px;
    margin-bottom: 12px;
  }
  
  .heading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
  }
  
  .heading h1 {
    font-size: 60px;
    color: #0b4dda;
  }
  
  .description {
    text-align: center;
    margin-top: 20px;
  }
  
  .description h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
  }
  
  .options {
    top: 50%;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 500px;
    display: table;
    margin: 0 auto;
    background-color: #f4f4f4;
    border-bottom: 1px solid #dcdcdc;;
    border-radius: 3px;
    transform: translateY(-50%);
  }
  
  .options a {
    position: relative;
    width: 33.333%;
    display: table-cell;
    text-align: center;
    color: #555;
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    padding: 10px 70px;
    transition: 0.2s ease color; 
  }
  
  .options a:before,
  .options a:after {
    position: relative;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.2s ease transform;
  }
  
  .options a:before {
    top: 0;
    left: 10px;
    width: 6px;
    height: 6px;
  }
  
  .options a:after {
    top: 5px;
    left: 18px;
    width: 4px;
    height: 4px;
  }
  
  .content {
    display: none;
    margin-top: 10px;
    padding: 5px;
    border-radius: 3px;
    flex-direction: column;
    align-items: center;
  }
  
  #indicator {
    position: absolute;
    left: 8%;
    bottom: 0;
    width: 120px;
    height: 3px;
    background-color: royalblue;
    border-radius: 5px;
    transition: 0.2s ease left;
  }
  
  .options a:hover:before,
  .options a:focus:before,
  .options a:hover:after,
  .options a:focus:after {
    transform: scale(1);
  }
  
  .options a:hover,
  .options a:focus {
    color: royalblue;
  }
  
  .options a:nth-child(1):focus ~ #indicator {
    background: royalblue;
  }
  
  .options a:nth-child(2):focus ~ #indicator {
    left: 38%;
    background: royalblue;
  }
  
  .options a:nth-child(3):focus ~ #indicator {
    left: 71%;
    background: royalblue
  }
  
  @media only screen and (max-width: 767px) {
    .options a {
      font-size: 14px;
    }
  }
  
  @media only screen and (max-width: 479px) {
    .options a {
      font-size: 12px;
    }
  }
  
  .svg-container {
    position: relative;
    margin-bottom: 20px;
  }
  
  .file-svg {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }
  
  .file-button {
    padding: 8px 40px;
    background-color: white;
    border: 1px solid royalblue;
    border-radius: 5px;
    color: royalblue;
    transition: background-color 0.2s, color 0.2s;
  }
  
  .file-button:hover {
    background-color: royalblue;
    color: white;
  }
  
  
  .file-button:hover::before {
    visibility: visible;
    opacity: 1;
  }
  
  #file-info {
    display: none;
    background-color: lavender;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
    display: flex;
    align-items: center;
  }
  
  .file-details {
    display: flex;
    align-items: center;
  }
  
  #file-name {
    margin: 0;
    color: royalblue;
    font-size: small;
  
  }
  
  #file-size {
    margin: 0;
    color: royalblue;
    font-size: small;
  }
  
  :root {
    --color-white: #fff;
    --color-black: #333;
    --color-gray: #75787b;
    --color-gray-light: #bbb;
    --color-gray-disabled: #e8e8e8;
    --color-green: #53a318;
    --color-green-dark: #383;
    --font-size-small: .75rem;
    --font-size-default: .875rem;
  }
  
  * {
    box-sizing: border-box;
  }
  
  h2 {
    color: var(--color-gray);
    font-size: var(--font-size-small);
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
  }
  section {
    margin-bottom: 2rem;
  }
  
  .scanning-progress {
    top: 50%;
    right: 0;
    left: 0;
    margin: 15px 50px;
  }
  
  .progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
  }
  .progress-bar li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: var(--font-size-default);
    line-height: 1.5;
    color: var(--color-green);
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 2px solid var(--color-gray-disabled);
  }
  .progress-bar li:first-child,
  .progress-bar li:last-child {
    flex: 1;
  }
  .progress-bar li:last-child {
    text-align: right;
  }
  .progress-bar li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--color-gray-disabled);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -7px;
    z-index: 3;
    transition: all .2s ease-in-out;
  }
  .progress-bar li:first-child:before {
    left: 0;
  }
  .progress-bar li:last-child:before {
    right: 0;
    left: auto;
  }
  .progress-bar span {
    transition: opacity .3s ease-in-out;
  }
  .progress-bar li:not(.is-active) span {
    opacity: 0;
  }
  .progress-bar .is-complete:not(:first-child):after,
  .progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: -50%;
    z-index: 2;
    border-bottom: 2px solid var(--color-green);
  }
  .progress-bar li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
  }
  
  .progress-bar .is-complete:last-child:after,
  .progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
  }
  
  .progress-bar .is-complete:before {
    background-color: var(--color-green);
  }
  
  .progress-bar .is-active:before,
  .progress-bar li:hover:before,
  .progress-bar .is-hovered:before {
    background-color: var(--color-white);
    border-color: var(--color-green);
  }
  .progress-bar li:hover:before,
  .progress-bar .is-hovered:before {
    transform: scale(1.33);
  }
  
  .progress-bar li:hover span,
  .progress-bar li.is-hovered span {
    opacity: 1;
  }
  
  .progress-bar:hover li:not(:hover) span {
    opacity: 0;
  }
  
  .progress-bar .has-changes {
    opacity: 1 !important;
  }
  .progress-bar .has-changes:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
  }