@import '@/sass/style.scss';

.BasicHeader {
  background-color: $mostly-black-green;
  left: 0;
  padding: 16px 0;
  position: absolute;
  top: 0;
  width: 100%;

  .container {
    margin: 0 auto;
    max-width: 768px;
    position: relative;

    h3,
    select {
      font-size: 16px;
      font-weight: bold;
      line-height: 1.5;
      text-align: center;
    }

    select {
      text-transform: uppercase;
      width: 100%;
    }

    .back {
      display: block;
      height: 36px;
      left: 8px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;

      svg {
        display: block;
        fill: $very-soft-green;
        height: auto;
        width: 100%;
      }
    }

    .close {
      background-color: $very-dark-green;
      border-radius: 50%;
      height: 36px;
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      transition: background-color 200ms;
      width: 36px;

      &:hover {
        background-color: $vivid-green;

        svg {
          fill: $very-dark-green;
        }
      }

      svg {
        fill: $very-soft-green;
        transition: fill 200ms;
      }
    }
  }
}
