@use '../apps/red-ui/src/assets/styles/variables';
@use 'mixin';

.portal-header {
    z-index: 1;
    height: 450px;

    &::before {
        background-color: variables.$grey-1;
    }

    h1 {
        @include mixin.heading-1;
        margin-top: 68px;
        margin-bottom: 40px;
    }

    .portal-search {
        max-width: 600px;
        margin: auto;
        position: relative;

        @include mixin.search-input;

        .search-field {
            padding: 12px 17px;
        }

        .btn {
            position: absolute;
            right: 0;
            padding: 11px 18px;
            background-color: transparent;
            color: variables.$accent;
            cursor: pointer;
            border-radius: 0 8px 8px 0;

            &:hover {
                background-color: variables.$primary;
            }
        }
    }
}

@media only screen and (max-width: 768px) {
    .portal-header h1 {
        @include mixin.heading-2;
    }
}
