@import "../styles/mixins";

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem;

  @include breakpoint(tablet, min) {
    padding: 2.4rem;
  }

  @include breakpoint(desktop, min) {
    justify-content: flex-start;
    padding: 4rem 0;
  }
}

.label {
  display: inline-flex;
  align-items: center;
  color: var(--color-off-black);
  font-size: 2rem;
  font-weight: 600;
  height: 4.8rem;
  margin: 0 0 0 -0.4rem;
  padding: 0 1.6rem 0 6.4rem;
  position: relative;
  text-decoration: none;
  transition: opacity var(--animation-duration-fast)
      var(--animation-curve-basic),
    transform var(--animation-duration-fast) var(--animation-curve-basic);
}

.label::before {
  background-image: url(/images/logo.png);
  background-size: 4.8rem;
  background-repeat: no-repeat;
  content: "";
  display: block;
  height: 4.8rem;
  position: absolute;
  left: 0.4rem;
  width: 4.8rem;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .label::before {
    background-image: url(/images/logo@2x.png);
  }
}

.label:active {
  opacity: 0.8;
  transform: scale(0.98);
}

.beta {
  align-items: center;
  background: var(--color-blue);
  border-radius: 0.4rem;
  color: var(--color-white);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  justify-content: center;
  margin-left: 0.8rem;
  padding: 0.2rem 0.4rem;
  position: absolute;
  right: 0rem;
  top: 0.6rem;
  transform: rotate(10deg);
}

.cta {
  border: 0.1rem solid var(--color-blue);
  border-radius: 0.6rem;
  color: var(--color-blue);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8rem;
  margin-left: auto;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
}
