.nav{
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: transparent;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    min-height: 8vh;
    
    margin-bottom: 8em;
    padding: 5px 0px;
}

.nav2{
    background-color: #000000 ;
    box-shadow: 2px 3px 40px #5a85e979;
    color: #ffffff;
}
.nav2 .enlaces li a{
   color: #ffffff;
}
/* .dropdown-menu{
    background-color: #faedcf !important;
} */
/* .nav2 .enlaces .dropdown .dropdown-menu{
    background-color: #ffffff !important;
 } */

.logo{
    display: flex;
    position: relative;
}
.logo img{
    max-width: 60px;
    height: auto;
}
/* .logo:hover{
    box-shadow: 0px 0px 30px #EEE43F;
} */
.logo::before{
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50px;
    /* box-shadow: 0px 0px 20px #b9c51d; */
    /* background-color: #003da5; */
    z-index: -1;
    animation: luz .9000s linear infinite alternate-reverse;
}
@keyframes luz{
    from{
        box-shadow: 0px 0px 20px #b9c51d;
    }
    to{
        box-shadow: 0px 0px 30px #b9c51d;
    }
}
.logo img:hover.logo::before{
    box-shadow: 0px 0px 30px #3f91ee;
}

.enlaces{
    display: flex;
    justify-content: space-around;
    width: 30%;
    z-index: 99;
}
.enlaces li{
    list-style: none;
}
.enlaces li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    position: relative;
}
.enlaces li a:hover {
    color: #EEE43F;
}
.enlaces li a::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform ease 0.5s;
    -webkit-transition: transform ease 0.5s;
    -moz-transition: transform ease 0.5s;
    -ms-transition: transform ease 0.5s;
    -o-transition: transform ease 0.5s;
}

.enlaces li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.burger{
    display: none;
    cursor: pointer;
}
.burger div{
    width: 25px;
    height: 3px;
    margin: 5px; 
    background-color: #EEE43F;
}
@media only screen and (max-width: 1024px) {
   .enlaces{
       width: 60%;
   }
}
@media only screen and (max-width: 768px) {
    .logo img{
        max-width: 60px;
    }
    .enlaces{
        position: absolute;
        top: 10vh;
        right: 0px;
        height: 92vh;
        background-color: #000000;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        justify-content: center;
    }
    .enlaces li{
        opacity: 0;
        /* animation: navLinkFade 5s ease forwards; */
        width: 100%;
        height: 70px;
        display: flex;
        justify-content: center;
    }
    /* .nav2 .enlaces li a{
        color: #FFF;
     } */
    .burger{
        display: block;
    }
    .enlaces li a{
        color: #FFF;
    }
 }

/* ==== Responsive ==== */
    @media only screen and (max-width: 414px) {
        .enlaces li a::after {
            display: none;
        }
    }

/* ========================= */
.enlaces-active{
    transform: translateX(0%);
}

@keyframes navLinkFade{
    from{
        opacity: 0.5;
        transform: translateX(60px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}
.toggle .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}