:root {
    --stopwatch-bg-color: rgba(0, 0, 0, 0.1);
    --stopwatch__header-bg-color: rgba(0, 0, 0, 0.1);
    --stopwatch-shadow-color: rgba(23, 27, 36, 0.3);
    --stopwatch__btn-color: white;
    --stopwatch__btn-border-color: rgba(128, 128, 128, 0.1);
    --stopwatch__btn-border-color-hover: rgba(128, 128, 128, 0.05);
    --lines-color: white;
  }
  .lightmode {
    --stopwatch-bg-color: rgba(255, 255, 255, 0.5);
    --stopwatch__header-bg-color: rgba(221, 221, 221, 0.2);
    --stopwatch-shadow-color: rgba(128, 128, 128, 0.3);
    --stopwatch__btn-color: black;
    --stopwatch__btn-border-color: rgba(128, 128, 128, 0.3);
    --lines-color: black;
  }
  
  * {
    box-sizing: border-box;
  }
  
  footer {
    position: absolute;
    bottom: 0;
    z-index: -999;
  }
  .h1-stopwatch {
    font-family: "inconsolata", Arial, Helvetica, sans-serif;
  }
  .article-stopwatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1.95rem;
  }
  .stopwatch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 0.5fr 1fr;
    justify-items: center;
    align-items: center;
    width: 85vw;
    height: 50vh;
    background-color: var(--stopwatch-bg-color);
    box-shadow: 0 0 1px 1px var(--stopwatch-shadow-color);
    border-radius: 10px;
  }
  .stopwatch__header {
    grid-column: 1 / 4;
    background-color: var(--stopwatch__header-bg-color);
    border-radius: 5px;
    padding: 5px 0px;
    width: 28rem;
    display: grid;
    grid-template-columns: 0.1fr 0.2fr 0.2fr 0.5fr;
    justify-content: center;
    justify-items: center;
    align-items: baseline;
  }
  .stopwatch__btn {
    border-radius: 10px;
    border: 1px solid var(--stopwatch__btn-border-color);
    background-color: transparent;
    cursor: pointer;
    padding: 1rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  
  .stopwatch__btn:hover {
    background-color: var(--stopwatch__btn-border-color-hover);
  }
  .stopwatch__btn:active {
    background-color: var(--stopwatch__btn-border-color);
  }
  
  .stopwatch__btn-icon {
    fill: var(--stopwatch__btn-color);
    color: var(--stopwatch__btn-color);
  }
  .stopwatch__btn-icon-pause {
    display: none;
  }
  .btn-start,
  .btn-reset {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .btn-start {
    grid-column: 2 / 3;
  }
  .line-start,
  .line-pause {
    color: var(--lines-color);
    font-size: 1.6rem;
  }
  .line-reset {
    color: var(--lines-color);
    font-size: 1.3rem;
  }
  
  .line-pause {
    display: none;
  }
  .line-start-none {
    display: none;
  }
  .line-pause-display {
    display: initial;
  }
  .icon-play-none {
    display: none;
  }
  .icon-pause-display {
    display: initial;
  }
  
  .displayHour {
    color: rgb(184, 184, 184);
    font-size: 5rem;
  }
  .displayMinutes {
    color: rgb(184, 184, 184);
    font-size: 5rem;
  }
  .displaySeconds {
    color: #6665dd;
    font-size: 5rem;
  }
  .displayMilliseconds {
    color: #6665dd;
    font-size: 2rem;
  }
  .displayMinutesHourColor {
    color: #6665dd;
  }
  
  @media screen and (min-width: 475px) {
    .stopwatch {
      width: 65vw;
    }
  }
  @media screen and (min-width: 575px) {
    .stopwatch {
      width: 60vw;
      height: 55vh;
    }
  }
  @media screen and (min-width: 768px) {
    .stopwatch {
      width: 50vw;
    }
  }
  
  @media screen and (min-width: 1024px) {
    .stopwatch {
      width: 33vw;
    }
    .stopwatch__header {
      width: 30rem;
    }
  }
  @media screen and (min-width: 1700px) {
    .stopwatch {
      width: 22vw;
    }
  }
  