/* body { margin-top: 60px; }  INFO: header height = 60px */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFF;
    padding: 10px;
    box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.1);
    z-index: 1;
}

header nav > div:not(:last-child) a { color: var(--dblue); }

/* INFO: language --> */
header nav > div:first-child a {
    border: 1px solid var(--lblue);
    border-radius: 50%;

    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 41px;
    text-decoration: none;
    padding: 0;
    display: block;
    width: 42px;
    height: 42px;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;

    transition: background-color 0.5s ease;
}
/* <-- */

/* INFO: contacts button --> */
header nav > div:last-child a {
    border: none;
    background-color: var(--green);
    color: var(--white);

    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
    padding: 10px 24px;
    display: inline-block;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;

    transition: background-color 0.5s ease;
}

header nav > div:last-child a:hover { background-color: var(--lblue); }

/* Mobile */
@media (max-width: 979.99px) {
    header section {
        padding: 10px;
        height: 40px;
    }

    header .mgE { float: right; }

    header nav {
        text-align: center;
        clear: both;
        overflow: hidden;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.5s ease;

        position: absolute;
        z-index: 1;
        top: 75px;
        left: 0;
        right: 0;

        background-color: #FFF;
    }

    header nav > div a {
        display: inline-block;
        padding: 8px 0;
        margin: 0 10px;
        text-transform: uppercase;
        font-size: 18px;
        text-decoration: none;
    }

    body.nav nav { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }

    header nav > div { margin: 20px; }

    header nav > div:first-child a { margin: 0 auto; }

    header nav > div:last-child a { margin-bottom: 40px; }
}

/* Desktop */
@media (min-width: 980px) {
    header .mgE { display: none; }

    header a.logo {
        display: inline-block;
        width: 200px;
    }

    header nav {
        padding: 10px 0 10px 50px;
        display: inline-block;
        width: calc(100% - 270px);
        vertical-align: top;
        box-sizing: border-box;
    }

    header nav > div { display: inline-block; }

    header nav > div a.current {
/*        font-weight: 700;*/
        text-decoration: none;
    }

    header nav > div.languages,
    header nav > div:last-child { float: right; }

    header nav > div { display: inline-block; }

    header nav > div a {
        display: block;
        padding: 8px 0;
        margin: 0 10px;
        text-transform: uppercase;
        font-size: 18px;
        text-decoration: none;
        position: relative;
    }

    header nav > div a:hover { text-decoration: none; }

    header nav > div:not(:first-child):not(:last-child) a::before {
        content: ' ';
        border-top: 1px solid var(--green);
        border-bottom: 1px solid var(--green);
        position: absolute;
        left: 0;
        right: 0;
    }

    header nav > div:not(:first-child):not(:last-child) a:not(.current)::before {
        opacity: 0;
        top: 17px;
        bottom: 17px;

        transition: opacity 0.5s ease, top 0.5s ease, bottom 0.5s ease;
    }

    header nav > div a.current::before,
    header nav > div:not(:first-child):not(:last-child) a:not(.current):hover::before {
        opacity: 1;
        top: 0;
        bottom: 0;
    }
}
/* <-- */

main .anchor {
    height: 60px;
    margin-top: -60px;
    position: relative;
    z-index: -1;
}