@font-face {
  font-family: skolacek-ce;
  src: url("../font/skolacek-ce.otf") format("opentype");
}


body {
  padding:50px;
}

#container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px 50px;
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  /*font-family: skolacek-ce;*/
  border: 1px solid #aaa;
  padding: 80px 10px;
  background-color: #f5f5f5;

  font-size: 120px;
  white-space: nowrap;
  min-width: 250px;
  max-width: 450px;

  flex: 1 1 100%;
  user-select: none;

  box-shadow: 0 0 5px #aaa;
  transition: 0.2s linear all;
}
  .container:before {
    content: " ";
    white-space: pre;
  }

  .container:after {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    text-align: center;
    padding: 3px 3px;
    min-width: 2em;
    font-size: 20px;
    content: attr(data-counter);
    font-family: monospace;
    background-color: #aaa;
    border-radius: 50%;
    color: white;
    font-weight: bold;
  }


  .container[data-state='done'] {
    cursor: pointer;
  }
  .container[data-state='loading'] {
    background-color: #ffcdd2;
    color: transparent;
    cursor: progress;
  }
