@import '../../_global/styles/mixins';
@import '../../_global/styles/vars';

button.search-submit {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 32px;
  border: 0;
  background-color: var(--theme-color-secondary);
  color: var(--theme-color-primary);
  padding: 0 2px 0 0;
  cursor: pointer;
  transition: 0.25s ease;
  @include focus-visible;

  &:hover {
    background-color: var(--theme-color-secondary-intensed);
    color: var(--theme-color-background);
  }

  &:before {
    @include icon-suche-big;
    font-family: 'Icons', sans-serif;
    position: relative;
    display: block;
    text-align: center;
    font-size: 40px;
    line-height: 1;
  }

  &.secondary {
    background-color: var(--theme-color-primary);
    color: var(--theme-color-white);
    &:hover {
      background-color: var(--theme-color-primary-dimmed-04);
      color: var(--theme-color-primary);
    }
  }

  @media(max-width: 767px) {
    border-radius: 28px;
    width: 70px;
    height: 70px;

    &:before {
      font-size: 36px;
    }
  }
}