header {
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    background-color: rgb(7, 7, 7);
}
a{
    color:#FEFEFF;
    text-decoration: none;
}

header.active {
    background-color: rgb(7, 7, 7);

}

header .logo-petit {
    display: block;
    flex: 0; 
    padding: 1rem;
}
header .logo-petit img {
	display: block;
	height: 2.5rem;
}

.btn-menu-mobile {
    display: flex;
    justify-content: flex-end;
    justify-content: center;
    width: 100%;
    background-color: rgb(7, 7, 7);
}

.btn-menu-mobile img {
    display: block;
}

.btn-menu {
    width: 24px;
    height: 24px;
    margin: 1rem;
    stroke-width: 2px;
    stroke:#FEFEFF;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 63px;
    left: -100vw;
    width: 100%;
    background-color:rgb(7, 7, 7);
    height: calc(100vh - 63px);
}
.menu ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu li {
    font-family: 'Source Sans Pro', sans-serif;
    list-style: none;
    transform: translateY(100px);
    opacity: 0;
    display: block;
    padding: 1.5em 1.5em;
    text-align: center;
    color:#FEFEFF;
    text-decoration: none;
}

.no-scroll {
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 100%;
    }
}
@media screen and (min-width: 1024px) {
    header{
        height: 3.5rem;
        background-color: rgba(7, 7, 7,1);
    }

    .btn-menu-mobile{
        display: none;
        background-color:rgba(7, 7, 7,0);
    }
    .menu {
        background-color:rgba(7, 7, 7,0);
        position: static;
        opacity: 1;
        display: flex;
        flex: 1;
        justify-content: flex-end;
        height: auto;
        top: 0;
        left: 0;
    }
    .menu ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
     
    }
    .menu li {
        padding: 0;
        font-size: .9rem;
        white-space:nowrap;
        transform: translateY(0px);
        opacity: 1;
    }

  .menu ul a {
    padding: 0rem 2rem 0rem .5rem;
    display : inline-block;
  }

  .menu ul li::before, .menu ul li::after {
    position: absolute;
    content: '';
    display: block;
    background-color: rgba(255, 255, 255, 0.4);
    top: 1.4rem;
    left: .4rem;
    right: 1.8rem;
    bottom: 1.1rem;
    height: 2px;
    transform: translateY(50%);
    transition: right .3s;
}
.menu ul li::before {
    right: calc(100% - .1rem);
    background-color: rgb(249, 250, 252);
}
.menu ul li:hover::before {
    right: 1.9rem;
}

}