﻿@import '../Styles/abstracts/_colors.scss';
@import '../Styles/abstracts/_media-queries.scss';
@import '../Styles/abstracts/_functions.scss';
@import '../Styles/abstracts/_mixins.scss';

.header {
    top: 0;
    width: 100%;
    position: absolute;
    background: transparent;
}

.header-container {
    display: flex;
    margin: 0 auto;
    align-items: center;
    flex-flow: row nowrap;
    max-width: rem2(1440px);
    justify-content: space-between;
    padding: rem2(40px) rem2(140px);

    @include lg {
        padding: rem2(32px) rem2(60px);
    }

    @include md {
        padding: rem2(32px);
    }

    @include xs {
        padding: rem2(16px);
    }
}

.logo-container {
    flex-grow: 1;
    display: flex;
}

.header-shadow {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
}

.bit-logo {
    width: rem2(36px);
    height: rem2(24px);
    background-image: url('/images/shared/bit-logo.png');
}

.header-content {
    display: flex;
    align-items: center;
    flex-flow: row nowrap;

    @include md {
        display: none;
    }
}

.header-lnk {
    color: $Gray1;
    font-weight: 600;
    position: relative;
    font-size: rem2(18px);
    margin-left: rem2(52px);
    line-height: rem2(22px);

    &:hover {
        color: $B2;
    }
}

.header-lnk--active {
    color: $B2;
}

.header-lnk-border {
    left: 0;
    width: 100%;
    top: rem2(30px);
    height: rem2(4px);
    position: absolute;
    background-color: $B2;
}

.header-btn {
    @include SecondaryButton($IsInNavbar: true);

    & {
        background: transparent;
        margin-left: rem2(60px);
    }

    @include md {
        margin-left: rem2(32px);
    }
}

.header-menu-btn {
    top: 50%;
    display: none;
    cursor: pointer;
    width: rem2(32px);
    height: rem2(32px);
    position: absolute;
    transform: translateY(-50%);
    background-position: center;
    background-size: rem2(24px);
    background-repeat: no-repeat;
    background-image: url('/images/shared/menu-icon.svg');

    @include md {
        right: rem2(22px);
        display: inline-block;
    }
}

.menu-shadow {
    top: 0;
    right: 0;
    width: 100%;
    z-index: 110;
    height: 100vh;
    display: flex;
    position: fixed;
    align-items: flex-start;
    justify-content: flex-end;
    background-color: rgba(0, 0, 0, 0.6);
}

.menu {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: rem2(360px);
    flex-flow: column nowrap;
    background-color: $White;
    justify-content: flex-start;
}

.menu-top-bar {
    width: 100%;
    position: relative;
    height: rem2(100px);
    box-sizing: border-box;
    border: rem2(1px) solid #E7E7E7;
}

.close-btn {
    top: 50%;
    cursor: pointer;
    left: rem2(26px);
    width: rem2(32px);
    height: rem2(32px);
    position: absolute;
    transform: translateY(-50%);
    background-position: center;
    background-size: rem2(14px);
    background-repeat: no-repeat;
    background-image: url('/images/shared/menu-close-icon.svg');
}

.menu-content {
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: rem2(36px);
    flex-flow: column nowrap;
    justify-content: flex-start;
}

.menu-lnk {
    color: $Black;
    position: relative;
    font-size: rem2(22px);
    line-height: rem2(35px);
    margin-bottom: rem2(35px);
}

.menu-lnk--active {
    color: $B2;
}

.menu-link-border {
    left: 0;
    width: 100%;
    top: rem2(30px);
    height: rem2(4px);
    position: absolute;
    background-color: $B2;
}

.menu-header-btn {
    background: transparent;
    margin-top: rem2(115px);

    .menu-btn {
        @include PrimaryButton($IsInNavbar: false);
    }
}
