header {
    nav.escritorio {
        background-color: $color1;
        padding: 15px 0px;

        ul.menu {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            color: $blanco;

            li {
                font-size: 14px;
                font-weight: 400;
                letter-spacing: 0.33px;

                @media screen and (min-width: 1200px) {
                    font-size: 16px;
                }

                & + li {
                    margin-left: 30px;

                    @media screen and (min-width: 1200px) {
                        margin-left: 40px;
                    }
                }

                &.menu-list {
                    @media screen and (pointer: fine) {
                        position: relative;

                        &::before {
                            content: "";
                            width: 25px;
                            height: 2px;
                            background-color: $blanco;
                            position: absolute;
                            bottom: -4px;
                            left: 0px;
                            right: 0px;
                            margin-left: auto;
                            margin-right: auto;
                            opacity: 0;
                        }

                        &:hover::before {
                            opacity: 1;
                            transition: all 350ms;
                        }
                    }
                }

                &.idioma {
                    .active {
                        font-weight: bold;
                    }
                }
            }
        }
    }

    nav.mobil {
        background-color: $color1;
        padding: 15px 0px;
        width: 100%;
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: 500;

        .logo {
            max-width: 150px;
        }

        .menu {
            height: 25px;
            width: 35px;
            position: relative;
            cursor: pointer;
            top: 2px;

            $color-menu: $blanco;

            &.menu-3 {
                &:before {
                    content: '';
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 3px;
                    background: $color-menu;
                    width: 100%;
                    opacity: 1;
                    transform: translate3d(0, 0, 0);
                    transition: transform 0.4s  0.4s, opacity 0.4s  0.4s;
                }

                &:after {
                    content: '';
                    display: block;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    height: 3px;
                    background: $color-menu;
                    width: 100%;
                    opacity: 1;
                    transform: translate3d(0, 0, 0);
                    transition: transform 0.4s  0.4s, opacity 0.4s  0.4s;
                }
                
                span {
                    height: 3px;
                    width: 100%;
                    display: block;
                    transform: translate3d(0, 11px, 0);
                    position: relative;
                    
                    &:before {
                        content: '';
                        display: block;
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 3px;
                        background: $color-menu;
                        width: 100%;
                        transform: rotate(0);
                        transition: transform 0.4s;
                    }

                    &:after {
                        content: '';
                        display: block;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        height: 3px;
                        background: $color-menu;
                        width: 100%;
                        transform: rotate(0);
                        transition: transform 0.4s;
                    }
                }
                
                &.active {
                    &:before {
                        transform: translate3d(100%, 0, 0);
                        opacity: 0;
                        transition: all 0.4s;
                    }
                    
                    &:after {
                        transform: translate3d(-100%, 0, 0);
                        opacity: 0;
                        transition: all 0.4s;
                    }
                    
                    span {
                        &:after {
                            transform: rotate(45deg);
                            transition: transform 0.4s 0.4s;
                        }

                        &:before {
                            transform: rotate(-45deg);
                            transition: transform 0.4s 0.4s;
                        }
                    }
                }
            }
        }

        .sidebar-left {
            background-color: $color1;
            padding: 30px 15px;
            width: 100%;
            height: calc(100vh - 84px);
            max-width: 280px;
            position: absolute;
            top: 84px;
            left: 0px;
            z-index: -1;
            font-size: 16px;
            font-weight: 400;
            letter-spacing: 0.33px;
            color: $blanco;
            transform: translate(-100%, 0px);
            transition: all 350ms;

            &.active {
                transform: translate(0%, 0%);
            }

            ul.menu-list {
                color: $blanco;

                a {
                    display: block;
                    padding: 6px 0px;
                }
            }

            .idioma {
                .active {
                    font-weight: bold;
                }
            }
        }
    }
}