* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

html {
  font-family: 'Open Sans', sans-serif;
  font-size: 14pt;
  font-weight: 400;
}

body {
  background-color: #181818;
  color: #fff;
}

button {
  font: inherit;
}

  button:focus {
    /* This is for touch devices. */
    outline: none;
  }

.app-root {
  padding: 25px;
}

.stopwatch {
  margin-bottom: 30px;
}

  .stopwatch__time {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 34pt;
    font-weight: 700;
    text-align: center;
  }

  .stopwatch__controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

    .stopwatch__button {
      box-sizing: border-box;
      margin-left: 10px;
      margin-right: 10px;
      padding: 12px;
      border: none;
      border-radius: 20%;
      background-color: #333;
      color: #fff;
    }

      .stopwatch__button:disabled {
        background-color: #181818;
        color: #999;
      }

      .stopwatch__button--reset {
        padding-left: 18px;
        padding-right: 14px;
        border-top-left-radius: 50%;
        border-bottom-left-radius: 50%;
      }

      .stopwatch__button--startstop {
        border-radius: 50%;
      }

      .stopwatch__button--save {
        padding-left: 14px;
        padding-right: 18px;
        border-top-right-radius: 50%;
        border-bottom-right-radius: 50%;
      }

      .stopwatch__button > svg {
        display: block;
        margin-left: auto;
        margin-right: auto;
      }

.saved-times {
  display: block;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  max-width: 400px;
}

  .saved-times__item {
    display: grid;
    margin-top: 10px;
    margin-bottom: 10px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .saved-times__duration {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    font-size: 24pt;
  }

  .saved-times__date {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    color: #aaa;
  }

  .saved-times__delete {
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 10px 12px;
    border: none;
    border-radius: 25%;
    background-color: #333;
    color: #fff;
  }

    .saved-times__delete > svg {
      display: block;
    }
