/****************************************/

/********** Navigation Bar *************/

/***************************************/

.main-nav {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 5rem;
    background-color: var(--primary-accent-color);
    z-index: 99999;
  }
  
  /********** Navigation LOGO *************/
  
  .main-nav-left {
    height: 100%;
    width: 50%;
  }
  
  .main-nav-left-logo {
    height: 100%;
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: left;
    z-index: 999;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    padding-left: 3rem;
  }
  
  .main-nav-left-logo-img {
    height: 3.5rem;
  }
  
  .nav-logo-first {
    display: inline-block;
  }
  
  .nav-logo-second {
    display: none;
  }
  
  /********** Navigation Center *************/
  
  .main-nav-middle {
    opacity: 0;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    z-index: 9999;
  }
  
  /********** Navigation Items *************/
  
  .main-nav-right {
    height: 100%;
    width: 70%;
  }
  
  .main-nav-right-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  .main-nav-right-list-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
    z-index: 1;
  }
  
  .nav-border {
    height: 100%;
    width: 100%;
  }
  
  .main-nav-right-list-item-link:link,
  .main-nav-right-list-item-link:visited {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 4px;
    width: 100%;
    text-transform: uppercase;
    border: none;
    background-color: transparent;
    font-weight: 400;
    color: var(--primary-color);
    border-bottom: transparent;
    border-bottom: 3px solid transparent;
  }
  
  .main-nav-right-list-item-link:hover,
  .main-nav-right-list-item-link:active {
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
  }
  
  /***************************************/
  
  /********** Sticky Navigation  *********/
  
  /***************************************/
  
  /******** Sticky Change Color  ************/
  
  .sticky .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    width: 100%;
    z-index: 9999;
    background-color: var(--secondary-color);
    backdrop-filter: blur(8px);
  }
  
  .sticky .main-nav-right-list-item-link:link,
  .sticky .main-nav-right-list-item-link:visited {
    border: none;
    background-color: transparent;
    color: var(--primary-color);
  }
  
  .sticky .main-nav-right-list-item-link:hover,
  .sticky .main-nav-right-list-item-link:active {
    background-color: var(--primary-accent-color);
    color: var(--primary-color);
  }
  
  .sticky .nav-border {
    height: 100%;
    width: 100%;
  }
  
  .sticky .nav-logo-first {
    display: none;
  }
  
  .sticky .nav-logo-second {
    display: inline-block;
  }
  
  /***************************************/
  
  /********** Mobile Navigation  *********/
  
  /***************************************/
  
  /* Nav Bar Toggler*/
  
  .main-nav-hamburger {
    height: 100%;
    width: 20%;
    display: none;
  }
  
  .main-nav-hamburger-btn {
    border: none;
    background: none;
    cursor: pointer;
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
  }
  
  .main-nav-hamburger-btn:active,
  .main-nav-hamburger-btn:focus {
    outline: none;
  }
  
  .navbar-toggler:active,
  .navbar-toggler:focus {
    outline: none;
  }
  
  .navbar-toggler-icon {
    border: none;
    background: none;
    position: absolute;
    display: flex;
    outline: none;
    top: 10px;
    left: -10px;
  }
  
  .navbar-toggler-icon:after,
  .navbar-toggler-icon:before {
    width: 27px;
    position: absolute;
    height: 1.5px;
    background-color: var(--primary-color);
    content: "";
    z-index: 2;
    transition: all 300ms linear;
    outline: none;
  }
  
  .main-nav-hamburger-btn .navbar-toggler-icon:after {
    top: 8px;
  }
  
  .nav-open .navbar-toggler-icon:after {
    height: 2.5px;
    transform: rotate(45deg);
  }
  
  .nav-open .navbar-toggler-icon:before {
    height: 2.5px;
    transform: translateY(8px) rotate(-45deg);
  }
  
  .nav-open .navbar-toggler-icon {
    border-color: transparent;
  }
  

  /****************************************/
/****** Media Query Breakpoints ********/
/***************************************/
/* // X-Large devices (large desktops, less than 1400px) */

@media (max-width: 1399.98px) {
    /************ INTRO SECTION *************/
    .nav-border {
      height: 100%;
      width: 100%;
    }
  
    /********** Navigation LOGO *************/
    .main-nav-left-logo {
      z-index: 9999;
      width: 30%;
    }
  
    .main-nav-right {
      height: 100%;
      width: 60%;
    }
  
    .main-nav-middle {
      width: 10%;
    }
  }
  
  /* // Large devices (desktops, less than 1200px) */
  
  @media (max-width: 75em) {
    /************ INTRO SECTION *************/
    .nav-border {
      height: 100%;
      width: 100%;
    }
  
    .main-nav-right-list-item-link:link,
    .main-nav-right-list-item-link:visited {
      font-size: 0.7rem;
    }
  
    /********** Navigation LOGO *************/
    .main-nav-left-logo {
      z-index: 9999;
      width: 30%;
    }
  
    .main-nav-right {
      height: 100%;
      width: 60%;
    }
  
    .main-nav-middle {
      width: 10%;
    }
  }
  
  /* // Medium devices (tablets, less than 992px) */
  
  @media (max-width: 62em) {
    /********** Back-Drop ******************/
    .backdrop-nav {
      display: none;
      position: fixed;
      opacity: 0;
      top: 0;
      left: 0;
      z-index: 100;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 1);
      transition: opacity 0.2s linear;
      cursor: pointer;
    }
  
    .open-backdrop-nav {
      display: block;
      opacity: 0.3;
    }
  
    .sticky .backdrop-nav {
      background: rgba(0, 0, 0, 0.5);
    }
  
    .main-nav {
      background-color: var(--secondary-color);
    }
  
    /********** Navigation LOGO *************/
    .main-nav-left-logo {
      z-index: 9999;
      width: 40%;
      padding-left: 1.1rem;
    }
  
    /********** Navigation Center *************/
    .main-nav-middle {
      width: 40%;
      opacity: 1;
      justify-content: center;
    }
  
    /*********** Nav Bar Toggler**************/
    .main-nav-hamburger {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .main-nav-hamburger-btn {
      display: block;
      z-index: 999;
    }
  
    /********** Navigation Items *************/
    .main-nav-right {
      z-index: 999;
      background-color: var(--primary-accent-color);
      position: absolute;
      top: 0;
      left: 0;
      width: 35%;
      height: 100vh;
      transform: translateX(-100%);
      transition: all 0.5s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
    }
  
    .nav-open .main-nav-right {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      transform: translateX(0);
    }
  
    .main-nav-right-list {
      padding-top: 5rem;
      flex-direction: column;
      width: 100%;
    }
  
    /********** Navigation Items transform *************/
    .main-nav-right-list-item {
      height: 100%;
      width: 100%;
      position: relative;
      transform: translateX(100%);
      opacity: 0;
    }
  
    .main-nav-right-list-item:nth-child(1) {
      transition: transform 0.8s ease-in-out;
    }
  
    .main-nav-right-list-item:nth-child(2) {
      transition: transform 1s ease-in-out;
    }
  
    .main-nav-right-list-item:nth-child(3) {
      transition: transform 1.2s ease-in-out;
    }
  
    .main-nav-right-list-item:nth-child(4) {
      transition: transform 1.4s ease-in-out;
    }
  
    .main-nav-right-list-item:nth-child(5) {
      transition: transform 1.6s ease-in-out;
    }
  
    .nav-open .main-nav-right-list-item {
      transform: translateX(0);
      opacity: 1;
    }
  
    /********** Navigation links  *************/
    .main-nav-right-list-item-link:link,
    .main-nav-right-list-item-link:visited {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: left;
      text-decoration: none;
      padding-left: 1.5rem;
      font-size: 0.7rem;
      letter-spacing: 4px;
      border-left: 3px solid transparent;
      border-bottom: NONE;
      z-index: 1;
      background-color: transparent;
      color: var(--primary-color);
    }
  
    .main-nav-right-list-item-link:hover,
    .main-nav-right-list-item-link:active {
      background-color: var(--secondary-color);
      color: var(--primary-color);
    }
  
    /********** Navigation space  *************/
    .main-nav-right-space {
      padding: 1rem;
      text-align: center;
      height: 50%;
      width: 100%;
    }
  
    .sticky .main-nav {
      position: fixed;
      top: 0;
      left: 0;
      padding-top: 0;
      padding-bottom: 0;
      box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
      width: 100%;
      z-index: 9999;
      background-color: var(--secondary-color);
      backdrop-filter: blur(8px);
    }
  
    .sticky .main-nav-right-list-item-link:link,
    .sticky .main-nav-right-list-item-link:visited {
      border: none;
      background-color: transparent;
      color: var(--primary-color);
    }
  
    .sticky .main-nav-right-list-item-link:hover,
    .sticky .main-nav-right-list-item-link:active {
      background-color: var(--secondary-color);
      color: var(--primary-color);
    }
  }
  
  /* // Small devices (landscape phones, less than 768px) */
  @media (max-width: 48em) {
    .main-nav-right {
      width: 50%;
    }
  }
  
  /* // X-Small devices (portrait phones, less than 576px) */
  @media (max-width: 36em) {
    .main-nav-right {
      width: 60%;
    }
  }
  
  @media (max-height: 36em) {
    .main-nav-right-space {
      height: 20%;
      padding: 0;
    }
  }
  