/********************
	Style général des burgers
********************/
.burger {
    position : relative;
    width    : 25px;
    height   : 25px;
}

.burger span {
    display            : block;
    position           : absolute;
    height             : 2px;
    width              : 100%;
    background         : var(--color-secondary);
    border-radius      : 9px;
    opacity            : 1;
    left               : 0;
    -webkit-transform  : rotate(0deg);
    -ms-transform      : rotate(0deg);
    transform          : rotate(0deg);
    -webkit-transition : .3s ease-in-out;
    -o-transition      : .3s ease-in-out;
    transition         : .3s ease-in-out;
}

.burger span:nth-child(1) {
    top : 10px;
}

.burger span:nth-child(2),
.burger span:nth-child(3) {
    top : 18px;
}

.burger span:nth-child(4) {
    top : 21px;
}

.burger.active span:nth-child(1) {
    top     : 0;
    width   : 0;
    left    : 50%;
    opacity : 0;
}

.burger.active span:nth-child(2) {
    -webkit-transform : rotate(45deg);
    -ms-transform     : rotate(45deg);
    transform         : rotate(45deg);
}

.burger.active span:nth-child(3) {
    -webkit-transform : rotate(-45deg);
    -ms-transform     : rotate(-45deg);
    transform         : rotate(-45deg);
}

.burger.active span:nth-child(4) {
    top     : 20px;
    width   : 0;
    left    : 50%;
    opacity : 0;
}
