header {
    background: linear-gradient(28deg, rgba(23, 0, 0, .7), rgba(9, 3, 24, .7));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-family: 'Poppins';
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 3;
    height: 7em;
    transition: .5s ease-in-out;
}
header.absolute {
    position: absolute;
    top: 0;
    left: 0;
}

header img {
    width: auto;
    height: 4.5em;
}
header li {
    list-style: none;
}
header a {
    cursor: pointer;
    font-family: 'Poppins';
}

  /* Dropdown button on hover & focus */
  #dropdown:hover {
      background-color: #ffffff20;
  }
  #dropbtn.open  {
      /* border: 2px solid var(--that-red); */
      background-color: var(--that-red);
      box-shadow: 0 0 9px 4px var(--that-red);
      background-image: url('/resource/global_images/svg/menu-close-white.svg');
  }
  
  /* The container <div> - needed to position the dropdown content */
  #dropdown {
    position: relative;
    display: inline-block;
    border-radius: .2em;
    transition: .3s ease;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background-color: var(--dropdown-bg);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 6px;
    min-width: 10em;
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    font-weight: 600;
    color: var(--medium-grey);
    padding: 12px 16px;
    text-align: end;
    text-decoration: none;
    display: block;
    border-left: 3 solid rgba(255, 68, 0, 0);
    transition: border-left .1s ease-in;
  }
  .dropdown-content .dropdown-first-child {
      border-radius: 5px 5px 0 0;
  }
  .dropdown-content .dropdown-last-child {
      border-radius: 0 0 5px 5px;
  }

  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
      border-left: 3px solid var(--that-red);
}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {
      display:block;
      animation: dropdown-content .2s 1;
  }

@keyframes dropdown-content {
    from {
        opacity: 0;
        right: 30%;
    }
    to {
        opacity: 1;
        right: 0;
    }
}

.dropbtn {
    padding: 1.4em;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 5px;
    background-image: url('/resource/global_images/svg/menu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: .3s ease;
    background-color: rgba(0, 0, 0, 0);
    color: white;
}
  /* OKAY... ==================================> */

.dropdown-hide {
    display: none;
}

.dropdown-submenu {
    position: relative;
}
.dropdown-submenu:hover .submenu-content {
    visibility: visible;
    opacity: 1;
    right: 100%;
}
.submenu-content {
    visibility: hidden;
    position: absolute;
    top: 0;
    right: 110%;
    opacity: 0;
    border-radius: 6px;
    background-color: var(--dropdown-bg);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.6);
    transition: right 150ms ease-in-out, opacity 100ms ease-in-out;
}
.submenu-content a {
    border-left: 3px solid rgba(0, 0, 0, 0);
}
.submenu-content a:hover {
    border-left: 3px solid var(--that-red);
}

.dropdown-submenu-link {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.dropdown-submenu-link::before {
    position: absolute;
    left: 1em;
    content: '◣';
}

/* TRD MENU */

.dropdown-trdmenu {
    position: relative;
}
.dropdown-trdmenu:hover .trdmenu-content {
    visibility: visible;
    opacity: 1;
    right: 100%;
}
.trdmenu-content {
    visibility: hidden;
    position: absolute;
    top: 0;
    right: 110%;
    opacity: 0;
    border-radius: 6px;
    background-color: var(--dropdown-bg);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.6);
    transition: right 150ms ease-in-out, opacity 100ms ease-in-out;
    overflow: hidden;
}
.trdmenu-content a {
    border-left: 3px solid rgba(0, 0, 0, 0);
}
.trdmenu-content a:hover {
    border-left: 3px solid var(--that-red);
}

.dropdown-trdmenu-link {
    position: relative;
}
.dropdown-trdmenu-link::before {
    content: '◣';
    position: absolute;
    left: 12px;
}


