HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/bekkers/bekkersengineering.nl/resources/assets/sass/site/partials/_header.sass
/*==========================================================================
  Navigation / Header
  ========================================================================== */

header
  position: relative
  z-index: 4

  .grid-row
    padding: 0
    +flex(center, center)

    >.grid-col
      +flex(space-between, center)
      width: 100%

    // Main logo
    .logo
      display: inline-block
      width: 54px
      img
        width: 100%
        max-height: 94px

    /* Navigation
     ========================================================================== */

    nav
      position: relative
      +flex(flex-end, center)
      width: calc(100% - 140px)
      padding-left: 40px
      font-family: $headerFamily
      font-weight: bold
      letter-spacing: -0.24px

      ul
        +flex(flex-end, center)
        list-style: none
        margin: 0
        padding: 0
        width: calc(100% - 100px)

        li
          margin-right: 45px

          a
            position: relative
            display: inline-block
            padding: 42px 0
            font-size: 0.8rem
            line-height: 1.2
            color: $grey
            text-decoration: none
            transition: opacity 0.3s

            &:before
              content: ''
              position: absolute
              bottom: 38px
              left: 0
              display: none
              width: 100%
              height: 1px
              background-color: $blue

          +respond-to-width(1250)
            margin-right: 30px
            +respond-to-width(1150)
              a
                font-size: 0.6rem

          &:last-of-type
            margin-right: 0

          &:hover
            a
              opacity: 0.6

          &.active
            a
              color: $darkBlue
              opacity: 1

            &:not(.nav-item--contact)
              a
                &:before
                  display: block

          //&.nav-item--contact
          //  margin-left: auto
          //  a
          //    border: 1px solid $brightBlue
          //    padding: 10px 20px
          //    transition: opacity 0.2s, background-color 0.2s, color 0.2s
          //
          //    &:hover
          //      opacity: 1
          //      background-color: $brightBlue
          //      color: white
          //
          //  &.active
          //    a
          //      background-color: $brightBlue
          //      color: white

  +respond-to-width(750)
    display: none