@import 'src/styles/variables';

.tempo {
  display: block;
  width: fit-content;
  white-space: nowrap;

  &_wrapper {
    display: block;
  }

  &_column {
    display: inline-block;
    width: 280px;
    padding: 0;
    vertical-align: top;
    white-space: normal;
    box-sizing: border-box;
    border-right: 1px solid var(--color-border);

    &:last-child {
      border-right: none;
    }

    &_wrapper {
      display: block;
      height: 80vh;
      min-height: 80vh;
      max-height: 80vh;
    }
  }

  &_header,
  &_author,
  &_task {
    font-weight: 100;
    font-size: var(--font-xs);

    display: block;
    width: 100%;
    padding: 0;
    margin: 0 auto;

    text-align: left;
    line-height: 1.3;
    text-decoration: none;
    box-sizing: border-box;
    vertical-align: bottom;
    color: var(--color-black);
  }

  &_header {
    font-weight: bold;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: var(--space-m) var(--space-l);
    margin: 0 auto var(--space-m) auto;

    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-border);
  }

  &_header_title,
  &_header_day {
    display: inline-block;
    font-weight: 100;
    font-size: var(--font-xs);
    line-height: 1.3;
    color: var(--color-black);
  }

  &_header_title {
    font-weight: bold;
    margin-right: var(--space-m);
    text-align: left;
  }

  &_header_day {
    font-weight: 100;
    text-align: right;
  }

  &_header_day {
    color: var(--color-44);
  }

  &_author {
    font-weight: bold;
    width: calc(100% - var(--space-l));
    padding: 0 0 12px 8px;
    margin: 0 auto 12px auto;
    border-bottom: 1px solid var(--color-border);
  }
}
