

/* - - - - - - - - - - - - - - - - - - - - *//* Index */


.btn-menu {
    z-index: 1003;
}

nav {
    z-index: 1002;
}

header {
    z-index: 1001;
}

.cover {
    z-index: 1000;
}


/* - - - - - - - - - - - - - - - - - - - - *//* Cover */

.cover {
    display: block!important;
    position: fixed;
}

.cover {
    top:0;
    left: 0;

    width:100vw;
    height:0;
    
    opacity: 0;
    background-color: var(--black);

    -webkit-box-sizing:border-box;
    box-sizing:border-box;

    transition: opacity .3s ease-in-out;


}     

body.viewmenu .cover {
    opacity: .9;
    height:100vh;
}

/* - - - - - - - - - - - - - - - - - - - - *//* Header */

header {
    top:0;
    left: 0;
    width:100vw;
    position: absolute;
    height: 70px;

    background: var(--black);
    border-bottom: 1px solid var(--darkgray);
}

@media (min-width:600px){
    header {
        height: 100px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - *//* Header Up */

.header-up {

}


.top-bar {
    width: 100vw;
    max-width: 1400px;
    margin: 0 auto;

    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    align-items: center;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;

    padding: 20px;
}


@media (min-width:600px){
    .top-bar {
        padding: 35px 50px;
    }
}




/* - - - - - - - - - - - - - - - - - - - - *//* Logo */

.logo {
    width: auto;
    height: 30px;
    
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;

    color: var(--white);
    transition: color .3s linear;
}

@media (min-width: 600px) {
    .logo {
    }
}

a.logo:hover {
    color: var(--white);
}

/* - - - - - - - - - - - - - - - - - - - - *//* Btn Menu */

.btn-menu {
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    position: relative;
    pointer-events: auto;

    position: fixed;
    top: 20px;
    right: 20px;
}

@media (min-width: 600px) {
    .btn-menu {
        top: 35px;
        right: 50px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - *//* Bar */

.btn-menu .bar, 
.btn-menu .bar:after, 
.btn-menu .bar:before {
    width:30px;
    height:2px;
}

.btn-menu .bar {
    position:relative;
    background-color: transparent;
}

.btn-menu .bar.animate{
    background-color: transparent;
}

.btn-menu .bar:after {
    left:0;
    top:8px;
    content:"";
    background:var(--white);
    position:absolute;

     -webkit-transform: all .3s ease-in-out;
    -ms-transform: all .3s ease-in-out;
    transform: all .3s ease-in-out;

    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-menu .bar:before {
    left:0;
    top:20px;
    content:"";
    background:var(--white);
    position:absolute;

     -webkit-transform: all .3s ease-in-out;
    -ms-transform: all .3s ease-in-out;
    transform: all .3s ease-in-out;

    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-menu:hover .bar:after {
    top:12px;
}

.btn-menu:hover .bar:before {
    top:12px;
}

.btn-menu .bar.animate:after {
    top:12px;
    background: var(--white);

    -webkit-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    transform:rotate(45deg);
}

.btn-menu .bar.animate:before {
    top:12px;
    background: var(--white);

    -webkit-transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    transform:rotate(-45deg);
}

/* - - - - - - - - - - - - - - - - - - - - *//* Nav */

nav {
    height: 100vh;
    margin: 0;
}


/* - - - - - - - - - - - - - - - - - - - - *//* Mobile & View menu */

nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    float: right;
    height: 100vh;
    width: 100vw;
    background: var(--white);

    -webkit-transform:translateX(100%);
    -ms-transform:translateX(100%);
    transform: translateX(100%);

    transition: transform .3s ease-in-out;
}

@media (min-width: 600px) {
    nav {
        width: 50vw;
    }
}

@media (min-width: 1200px) {
    nav {
        width: 25vw;
        max-width: 360px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - *//* Viewmenu */

body.viewmenu header .logo {
    transition: color .3s linear;
    color: var(--white);
}


body.viewmenu .btn-menu .bar:before, 
body.viewmenu .btn-menu .bar:after {
    background-color: var(--black);
}

body.viewmenu header {
    overflow-y: hidden;
}

body.viewmenu nav {
    -webkit-transform:translateX(0%);
    -ms-transform:translateX(0%);
    transform:translateX(0%);
}


/* - - - - - - - - - - - - - - - - - - - - *//* Nav Menu */

nav .menu {
    text-align:left;
    position:static;
    margin: 0;
    padding: 0;
    position: relative;

    top: 100px;
    left: 20px;
}

@media (min-width: 600px) {
    nav .menu {
        top: 50px;
        left: 50px;
    }
}


nav .menu li {
    margin-left: 0;
    margin: 0;
    display: block;
    margin-bottom: 0;
}

/* Boton */

nav .menu li a {
    font-size: 40px;
    line-height: 48px;
    font-weight: 800;
    font-style: normal;
    text-decoration: none;

    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0;
    color: var(--black);
}

@media (min-width: 600px) {
    nav .menu li a {
    }
}

nav .menu li a:after {
    content: "";
    
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: block;
    position: absolute;
    transform: translateX(0);
    
    background: rgba(0, 0, 0, 0.9);
    transition: transform .35s ease-in-out;
    transition-delay: .1s;

}

body.viewmenu nav .menu li a:after {
    transform:translateX(-120%);
}
body.viewmenu nav .menu li:nth-child(2) a:after {
    transition-delay: .15s;
}
body.viewmenu nav .menu li:nth-child(3) a:after {
    transition-delay: .20s;
}
body.viewmenu nav .menu li:nth-child(4) a:after {
    transition-delay: .25s;
}
body.viewmenu nav .menu li:nth-child(5) a:after {
    transition-delay: .30s;
}

body.viewmenu nav .menu li a:hover {
    opacity: 0.5;
}



/* End */



