header {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(22, 18, 76, 0.7), rgba(255, 127, 80, 0.7)), url('../img/header-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 85vh;
    /*clip-path: polygon(0 90%, 0 0, 100% 0, 100% 90%, 50% 100%);*/
}

.header-menu {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    z-index: 10;
}

.header-menu > a {
    position: relative;
    color: white;
    margin: 0 36px;
}

.header-menu > a:hover::after, .header-menu > a.active::after {
    content: '';
    position: absolute;
    background-color: white;
    bottom: -8px;
    left: calc(50% - 9px);
    width: 18px;
    height: 2px;
}

.header-menu .footer-social-media {
    position: absolute;
    right: 10px;
    float: right;
}

.header-logo:hover::after, .header-logo.active::after {
    display: none;
}

.header-menu.scrolled {
    background-color: #16124C;
    transition: background-color 200ms linear;
}

.header-logo img {
    margin: 0 36px;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.header-infos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin-bottom: 10vh;
    color: white;
}

.header-infos-title {
    margin-bottom: 70px;
}

.header-infos-subtitle {
    text-align: center;
    margin: 0 8px 14vh 8px;
}

.header-infos-contact-btn {
    background-color: rgba(255,255,255, 0.8);
}

.header-infos-contact-btn a {
    color: #16124C;
}


.header-infos-contact-btn:hover {
    background-color: white;
}

.header-menu-mobile {
    display: none;
}


/*---- RESPONSIVE MENU ----*/

@media screen and (max-width: 992px) {
    .header-menu-mobile {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }
    .header-menu-mobile.collapsed {
        height: 100px;
    }

    .header-menu-mobile.scrolled .burger,
    .header-menu-mobile.scrolled .burger:after,
    .header-menu-mobile.scrolled .burger:before {
        background-color: #16124C;
    }

    .header-menu-mobile.scrolled .burger-text {
        color: #16124C;
    }

    .header-menu {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        text-align: center;
        background: rgba(255, 255, 255, 0.8);
        opacity: 0;
        z-index: -1;
        visibility: hidden;
        transition: all .375s;
    }

    .main-nav.is-open {
        opacity: 1;
        z-index: 100;
        visibility: visible;
    }

    .main-nav::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: -15px;
        background-image: linear-gradient(to bottom, #FF7F50, #FEB47B);;
        transform-origin: 0 0;
        transform: skew(-14deg) translateX(-120%);
        transition: all .275s .1s;
    }

    .main-nav.is-open::before {
        transform: skew(-14deg) translateX(0);
    }

    .main-nav ul {
        display: inline-flex;
        flex-direction: column;
        height: 100%;
        align-items: flex-end;
        justify-content: center;
        transform: translateX(-18%) skew(-16deg);
    }

    .main-nav li {
        display: block;
        margin: 16px 0;
        transform: skew(16deg);
    }

    .main-nav a {
        opacity: 0;
        transform: translateY(-10px);
    }

    .main-nav.is-open a {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav li:nth-child(1) a {
        transition: all 275ms 175ms
    }

    .main-nav li:nth-child(2) a {
        transition: all 275ms 225ms
    }

    .main-nav li:nth-child(3) a {
        transition: all 275ms 275ms
    }

    .main-nav li:nth-child(4) a {
        transition: all 275ms 325ms
    }

    .main-nav li:nth-child(5) a {
        transition: all 275ms 375ms
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        color: white;
        font-size: 1.4em;
        text-decoration: none;
        font-weight: bold;
    }

    .open-main-nav {
        position: absolute;
        top: 15px;
        padding-top: 20px;
        right: 15px;
        z-index: 1000;
        background-color: transparent !important;
        cursor: pointer;
    }

    .open-main-nav:focus {
        outline: none;
    }

    .burger {
        position: relative;
        display: block;
        width: 28px;
        height: 4px;
        margin: 0 auto;
        background: white;
        transform: skew(5deg);
        transition: all .275s;
    }

    .burger:after,
    .burger:before {
        content: '';
        display: block;
        height: 100%;
        background: white;
        transition: all .275s;
    }

    .burger:after {
        transform: translateY(-12px) translateX(-2px) skew(-20deg);
    }

    .burger:before {
        transform: translateY(-16px) skew(-10deg);
    }

    .is-open .burger {
        transform: skew(5deg) translateY(-8px) rotate(-45deg);
    }

    .is-open .burger:before {
        transform: translateY(0px) skew(-10deg) rotate(75deg);
    }

    .is-open .burger:after {
        transform: translateY(-12px) translateX(10px) skew(-20deg);
        opacity: 0;
    }

    .burger-text {
        display: block;
        font-size: 1em;
        letter-spacing: .05em;
        margin-top: 8px;
        text-transform: uppercase;
        font-weight: 500;
        text-align: center;
        color: white;
    }
}


