@media (min-width: 1080px) {
    :root {
        --header-height-desktop-full: 130px;
        --header-height-desktop: 80px;
    }
    header div nav ul {
        display: flex;
        flex-direction: row;
    }
    header div nav > label {
        display: none;
    }
    header div nav ul li a::before {
        content: '';
        height: 3px;
        display: flex;
    }
    header div nav ul li a::after {
        content: '';
        height: 3px;
        display: flex;
    }
    header div nav ul li a {
        text-align: center;
        line-height: inherit;
    }
    header div nav ul p {
        display: none;
    }
}

@media (max-width: 1079px) {
    :root {
        --header-height-desktop-full: 60px;
        --header-height-desktop: 60px;
    }
    header div nav ul {
        position: inherit;
        display: none;
    }
    header div nav .menu-open:checked ~ ul {
        display: flex;
        position: fixed;
        top: 0px;
        left: calc(clamp(140px, 80%, 440px) * -1);
        width: clamp(140px, 80%, 440px);
        flex-direction: column;
    }
    header div nav .menu-open:checked ~ label {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
    }
    header div nav .menu-open:checked ~ label svg {
        display: none;
    }
    .transformElement {
        transform: translateX(clamp(140px, 80%, 440px));
    }
    header div nav ul li a::after {
        content: '';
        height: 1px;
        display: flex;
        border-bottom: 1px solid;
        border-color: darkgrey;
    }
    header div nav ul li a {
        width: 100%;
        text-align: left;
        line-height: 30px;
    }
    header div nav ul p {
        display: flex;
        color: black;
        line-height: 30px;
        text-align: left;
        font-size: 16px !important;
        text-transform: uppercase;
        text-decoration: none;
        padding-right: 10px;
        margin: 0px;
        padding-left: 10px;
        padding-top: 30px;
    }
}

header {
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: calc(var(--header-height-desktop) - 6px);
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
    font-weight: 400;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1000;
    transition: transform ease-in-out 0.3s;
    -webkit-transition: color 0.3s ease, transform 0.3s ease;
}

header div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: inherit;
}

header div img {
    height: calc(100% - 10px);
    aspect-ratio: 1;
    cursor: pointer;
}

header div nav ul {
    gap: 20px;
    margin: auto !important;
}

header div nav ul li {
    display: flex;
}

header div nav ul li a {
    color: var(--header-text) !important;
    font-size: 14px !important;
    text-transform: uppercase;
    transition: color 0.3s ease, opacity 0.3s ease;
    -webkit-transition: color 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
}

header div nav ul li .current {
    color: var(--primary) !important;
}

header div nav ul li a:hover {
    color: var(--primary) !important;
}

header div nav ul li a.current::before {
    background: var(--primary) !important;
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
}