@use "abstracts";

.wrapper {
    height: var(--nav-height);
    border-radius: 0 0 10px 10px;
    background-color: var(--nav-bg);
    backdrop-filter: var(--nav-backdrop);
    box-shadow: var(--nav-shadow);
    position: sticky;
    top: 0;
    z-index: var(--z-index-sticky);
}

.header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    min-height: abstracts.rem(60);
    position: sticky;
    top: 0;

    &__nav-section {
        display: flex;
        flex-direction: row;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-left: var(--space-4);

    &__logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--text-on-accent);
        border: 1px solid var(--accent);
        width: abstracts.rem(30);
        height: abstracts.rem(30);
        display: flex;
        background-color: var(--accent);
        border-radius: 5px;
    }

    &__company {
        font-size: var(--font-size-base);
        font-weight: 700;
        color: var(--text-main);

        span {
            color: var(--accent);
        }
    }
}

.theme-toggle-container {
    width: abstracts.rem(24);
    height: abstracts.rem(24);
    margin: auto;
    margin-right: var(--space-4);

    @include abstracts.breakpoint("md") {
        margin: auto;
        margin-right: var(--space-4);
    }
}

.burger-menu {
    padding: 0 var(--space-4) 0 var(--space-4);
    cursor: pointer;

    @include abstracts.breakpoint("md") {
        display: none;
    }

    &__icon {
        width: abstracts.rem(32);
        height: abstracts.rem(32);
        color: var(--text-main);
    }

}