#toggle-nav {
    display: block;
    position: relative;
    float: right;
    overflow: visible;
    background: #FFF;
    appearance: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 100;
    margin-top: $content-padding;
    text-align: center;

    @include breakpoint($mobile-l) {
        display: none;
    }

    &:focus {
        outline: none;
    }

    span.text {
        display: block;
        padding: 5px 3px;
        font-size: 14px;
        color: $red;
        margin-top: 20px;
    }

    span.burger {
        display: block;
        position: absolute;
        top: 15px;
        left: 5px;
        width: 30px;
        height: 2px;
        background: $red;

        &:before,
        &:after {
            position: absolute;
            display: block;
            top: 8px;
            right: 0;
            width: 100%;
            height: 2px;
            background-color: $red;
            content: "";
            transition-duration: 0.3s, 0.3s;
            transition-delay: 0.3s, 0s;
            transition-property: bottom, transform;
        }

        &:before {
            top: -8px;
            transition-property: top, transform;
        }
    }

    .open & {
        span.burger {
            background: none;

            &:before,
            &:after {
                transition-delay: 0s, 0.3s;
            }

            &:before {
                top: 0;
                transform: rotate(45deg);
            }

            &:after {
                top: 0;
                transform: rotate(-45deg);
            }
        }
    }
}
