header {
    /*height: 9rem;*/
    padding: 20px;
    position: absolute;
    top: 0;
    width: 100%;
    background: rgb(255,255,255);
   /* background: linear-gradient(180deg, rgba(255,255,255,1) 60%, rgba(255,255,255,0.8744747899159664) 70%, rgba(255,255,255,0) 100%);*/
}
header div {
    display: flex;
    justify-content: space-between; /* Justifica los elementos entre sí */
    align-items: center; /* Centra verticalmente los elementos en el contenedor */
}
header div img {
    width: 160px;
    height: 66px;
    margin-left: 9rem;
}

nav {
    display: flex;
}

nav a {
    text-decoration: none;
    margin: 0 30px; 
    text-transform: uppercase;
    color: #5A3089;
    font-weight: 600;
}
nav span{
    color: #5A3089;
    font-weight: 300;
}
.nav-links {
    display: flex;
}

.burger-menu{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
}

.bar {
    width: 25px;
    height: 4px;
    background-color: #5A3089;
}

@media (max-width: 1180px){
    nav a { 
        font-size: small;
    }
}
@media (max-width: 1088px){
    header div img {
        width: 120px;
        height: 56px;
        margin-left: 3rem;
    }
    nav a {
        margin: 0 15px;
    }
}

@media (min-width: 800px) {
    .burger-menu{
        display: none;
    }
}

@media (max-width: 800px){
    .nav-links {
        display: none;
    }
    .nav-links.show {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 5rem;
        left: 0;
        width: 100%;
        background: #fff; 
        box-shadow: 0 4px 5px #fff;
        z-index: 1000; 
    }
    .nav-links.show span{
        display: none;
    }
    .nav-links.show a{
        font-size: 1.2rem;
        padding: 16px 0 16px 0;
    }
    .nav-links.show a:active{
        color: #FF8001;
    }
    .burger-menu{
        display: flex;
    }
}