
header {
    padding: 0 0;
    position: sticky;
    position: -webkit-sticky;
    display: flex;
    top: 0;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    background: var(--color-background);
    border-bottom: var(--border);
  }
nav {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    justify-content: space-between;
}

.nav--logo {
    width: 124px;
    height: auto;
    font-weight: 500;
    z-index: 12;
    font-family: var(--font-family-deko);
    line-height: 0;
}
.nav--logo svg{
    width: 100%;
    height: auto;
    transform: translateX(-3px);
}
#nav--responsive {
    display: flex;
    transform: translateY(-100%);
    transition: 0.2s ease-in-out all;
    visibility: hidden;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    border-bottom: var(--border);
    background: var(--color-background);
    justify-content: center;
    overflow-y: scroll;
}
#nav--responsive.open {
    transform: translateY(0);
    transition: 0.2s ease-in-out all;
    visibility: visible;
}
#nav--responsive ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 7rem;
}
#nav--responsive li {
    margin-bottom: 1rem;
    text-align: center;
}

.nav--item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 0.6rem;
}
.nav--deko {
    position: absolute;
    overflow: hidden;
    bottom: -0.2rem;
    left: 0;
    right: 100%;
    transition: all ease-in-out 0.2s;
}
.nav--item:hover .nav--deko,
.nav--item.active .nav--deko {
    right: 0;
}

#nav--responsive li.smallprint--links {
    display: block;
    padding-bottom: 3rem;
}
.nav-svg {
    width: 1.5rem;
    height: 1.5rem;
}
.svg-stroke {
    stroke: var(--color-text);
    transition: 0.2s ease-in-out all;
}
.svg-fill {
    fill: var(--color-text);
    transition: 0.2s ease-in-out all;
}
.largefont #nav--responsive a {
    font-size: 1.3rem;
}
#nav--responsive a {
    background-size: 100% 0%;
    transition: background-size .3s ease-in-out;
}

#nav--responsive a.active:not(#search),
#nav--responsive a:not(#search)[aria-current] {
    background-image: linear-gradient(90deg,var(--color-primary) 0,var(--color-primary));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 55%;
    text-decoration: none;
    transition: background-size .3s ease-in-out;
}


#nav--responsive a.active .svg-stroke,
#nav--responsive a[aria-current] .svg-stroke {
    stroke: var(--color-primary-l)
}
#nav--responsive a.active .svg-fill,
#nav--responsive a[aria-current] .svg-fill {
    fill: var(--color-primary-l)
}

.logo-fill {
   fill: var(--color-text);
}
.logo-fill-primary {
    fill: var(--color-primary-l);
    transition: 0.2s ease-in-out all;
}

@media (hover: hover) {
    #nav--responsive a:hover:not(#search) {
        background-image: linear-gradient(90deg,var(--color-primary) 0,var(--color-primary));
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 100% 55%;
        text-decoration: none;
        transition: background-size .3s ease-in-out;
    }
    #nav--responsive a:hover .svg-fill,
    #nav--responsive button:hover .svg-fill {
        fill: var(--color-primary-l)
    }
    #nav--responsive a:hover .svg-stroke,
    #nav--responsive button:hover .svg-stroke {
        stroke: var(--color-primary-l)
    }
    a:hover .logo-fill-primary {
        fill: var(--color-secondary);
    }
}


.accessibility--links button {
    background: transparent;
    border: none;
}

/* Hamburger */
#btn--hamburger {
    margin: 0 0 0 0;
    height: 50px;
    position: relative;
    z-index: 99;
    padding: 0;
    border: 0;
    display: inline-block;
    cursor: pointer;
    background-color: transparent;
}
.hamburger--box {
    width: 30px;
    height: 24px;
    display: inline-block;
    line-height: 0;
    position: relative;
}
.hamburger--inner, 
.hamburger--inner::before, 
.hamburger--inner::after {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; 
    right: 0;
}
.hamburger--inner::before, 
.hamburger--inner::after {
      content: "";
      display: block; 
}
.hamburger--inner {
    height: 0;
    top: auto;
    bottom: 0;
    transition-duration: 0.13s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
    background-color: transparent;
}
.hamburger--inner::before {
    top: -5px;
    transition: transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--inner::after {
    top: -15px;
    transition: transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Hamburger Animation */
#btn--hamburger.active .hamburger--inner::after {
    width: 31px;
    transform: translateY(5px);
    opacity: 1;
    transition: transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#btn--hamburger.active .hamburger--inner::before {
    width: 31px;
    transform: translateY(-5px);
    transition:  transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}


nav.prevnext {
    width: auto;
    margin-left: auto;
}
.prevnext a {
    width: 50px; 
    height: 50px;
    border-left: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.prevnext a:last-child {
    border-right: var(--border);
}
.prevnext a:first-child {
    display: none;
}
.prevnext a span {
    display: none;
}
.prevnext a svg {
    fill: var(--color-text);
}

@media (hover: hover) {
    .prevnext a:not([aria-hidden=true]):hover {
        background: var(--color-primary);
    }
    .prevnext a[aria-hidden=true] {
        cursor: default;
    }
}

@media screen and (min-width: 1024px) {
    nav {
        padding: 0.1rem 2rem 0;
    }
    header {
        padding: 0.6rem 0;
    }
    .nav--logo {
        width: 166px;
        font-size: 1.6rem;
    }
    .nav--logo svg {
        transform: translateX(-5px);
    }
    #nav--responsive {
        transform: translateY(0)  !important;
        display: inline-block !important;
        visibility: visible;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: transparent;
        overflow-y: visible;
        border-bottom: none;
    } 
    #nav--responsive ul {
        flex-direction: row;
        margin-bottom: 0;
        margin-top: 0;
        position: relative;
    } 
    #nav--responsive li {
        margin-bottom: 0;
        height: 50px;
        display: flex;
        align-items: center;
    }
    #nav--responsive li:not(.accessibility--links) {
        margin-left: 2rem;

    }
 
    #nav--responsive li.smallprint--links {
        display: none;
    }
    #btn--hamburger {
        display: none;
    }
    nav.prevnext {
        margin-left: 0;
    }
    .prevnext a {
        width: auto; 
        height: 35px;
        padding: 0 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.3rem;
        border: var(--border);
    }
    .prevnext a:first-child {
        display:flex;
    }
    .prevnext a:nth-child(3) span {
        display: inline-block;
        margin-right: 0.4rem;
    }
    .prevnext a:nth-child(2) span {
        display: inline-block;
        margin-left: 0.4rem;
    }
    .prevnext a:nth-child(2) svg,
    .prevnext a:nth-child(3) svg {
        transform: translateY(-1px);
    }
}
@media screen and (min-width: 1260px) {
    nav.prevnext {
        margin-left: 17rem;
    }
}
@media screen and (min-width: 1600px) {
    nav {
        padding: 0.1rem 2.6rem 0;
    }
}


/* Creatives Tags */
.tags  {
    display: block;
    min-width: 100%;
    padding-top: 0.8rem;
    margin-top: 0;
    overflow-x: scroll;
    white-space: nowrap;
    border-top: var(--border);
    margin-bottom: 0.8rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
tags::-webkit-scrollbar {
    display: none;
  }
.tags li {
 display: inline-block;
 margin-right: 0.4rem;
}
.tags li:first-child {
    margin-left: 1rem;
}
.tags li:last-child {
    margin-right: 1rem;
}
.tags button {
    padding: 0.4rem 0.8rem 0.4rem;
    background-color: transparent;
    color: var(--color-text);
    border-radius: none;
    border: var(--border-transparent);
    transition: all ease-in-out 0.2s;
}

@media (hover: hover) {
    .tags button:hover {
        background-color: var(--color-primary);
    }
}
.tags button.active {
    /* background-color: var(--color-primary); */
    border: var(--border);
    pointer-events: none;
}
@media screen and (min-width:1024px) {
    .tags li:first-child {
        margin-left: 2rem;
    }
    .tags li:last-child {
        margin-right: 2rem;
    }
    .tags  {
        display: block;
        min-width: 100%;
        padding-top: 0.8rem;
        margin-top: 0.6rem;
        margin-bottom: 0;
        overflow-x: scroll;
        white-space: nowrap;
        border-top: none;
       }
       .tags button {
        padding: 0.4rem 0.8rem 0.4rem;
       }
}
@media screen and (min-width:1240px) {
    .tags  {
        display: flex;
        justify-content: space-between;
        min-width: calc(100% - 4rem);
        padding-top: 0.8rem;
        margin: 0.6rem 2rem 0;
       }
       .tags li:first-child {
        margin-left:0;
    }
    .tags li:last-child {
        margin-right:0;
    }
}
@media screen and (min-width:1440px) {
    .tags  {
        justify-content: flex-start;
    }
    .tags li {
        margin-right:1rem;
    }
}
@media screen and (min-width:1600px) {
    .tags  {
        min-width: calc(100% - 5.2rem);
        margin: 0.6rem 2.6rem 0;
    }
}