@import '../../../global.less';

@headerHeight: 36%;
@offset: 10%;

.container {
  position: relative;
  height: 100%;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  height: @headerHeight;
  width: 100%;
  background: linear-gradient(to right, @primary-color, @secondary-color);
  color: white;

  display: flex;
  flex-direction: column;
  align-items: center;

  :global {
    .title {
      font-size: 0.8rem;
      margin: 14% 0 0;
      font-weight: lighter;
    }

    .label {
      font-size: 2.2rem;
      font-weight: lighter;
    }

    .unit {
      font-size: 1.2rem;
      font-weight: bold;
      display: inline-block;
      margin-left: 8px;
    }
  }
}

.body {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: @headerHeight + @offset 14px 0;
}

.adcard {
  box-shadow: 1px 1px 10px lighten(@secondary-color, 18%);
  border-radius: 4px;
  height: 96px;
  background-color: #fff;
}
