/*The following style is for the nav*/
nav{
    width: 100%;
    background-color: black;
    font-size: 24px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: 60px;
}

ul{
    margin-left: 150px auto 0;
    padding:0;
    list-style: none;
    display: table;
    width: 100%;
    text-align: center;
    
}
li{
    display: table-cell;
    position: relative;
    

}

a{
    color: #FFF;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0;
    display: inline-block;
    position: relative;
}

a:after{
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #d8b75a;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
    -webkit-transition: width 0.3s ease 0s, left 0.3s ease 0s;
    -moz-transition: width 0.3s ease 0s, left 0.3s ease 0s;
    -ms-transition: width 0.3s ease 0s, left 0.3s ease 0s;
    -o-transition: width 0.3s ease 0s, left 0.3s ease 0s;
}
a:hover{
    color: #d8b75a;
}

a:hover:after{
    width: 100%;
    left:0;
    /*color: #d8b75a;*/
}


.textNav{
    width: 100%;
    margin-right: 30%;
}
.itemNavbar{
    
    width: 150px; /*this is the size that have every item in the navbar*/
    
   /* border: 1px solid rgb(255, 0, 0);*/
}



.containerTextNavAfter{ /*Se cumple solamente cuando aparece la corona en el nav*/
    margin-left: -4%;
    
}



@media(max-width:700px){
    a{
        letter-spacing: 0;
        font-size: 10px;
    }
    .containerTextNav{
        padding-left: 0%;
    }
    .textNav{
        padding-left: 0%;
        margin-left: -40%;
        width: 75px; /*Logra separar el texto*/

    }
    .containerTextNavAfter{ /*Se cumple solamente cuando aparece la corona en el nav*/
        margin-left: -5%;
        
    }
    .itemNavbar{
        width: 75px; /*this is the size that have every item in the navbar*/
        
    }
    a.textNav{
        margin: 0px 22.5px 0px -40px;
    }
    
}

@media(max-width:999px){
    .containerTextNav{
        padding-left: 5%;
    }
  
}


@media(min-width:1000px){
    .containerTextNav{
        padding-left: 20%;
    }
}