/*HEADER*/
header {
    display: flex;
    justify-content: space-around;
}

header a {
    text-align: right;
}

header > * {
    margin-left: 30px;
    margin-right: 30px;
}
.navigation {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
}
header a, header a:visited{
    text-decoration: none;
    color: #28336b;
}
.painted h2 {
    font-size: 30pt;
}
header a:active, header a:hover {
    color: #0ece7d;
}
.enlace-nav {
    font-size: 16pt;
    text-align: center;
    font-weight: 600;
    margin: 0 6px;
    max-width: 120px;
    vertical-align: middle;
    line-height: 20px;
}
.logo {
    display: flex;
    align-items: center;
    align-content: center;
}
.logo img {
    height: 45px;
    margin: 15px 0;
    margin-left: 20%;
}
nav {
    width: 100%;
    
    margin: 0;
}
.enlaces-header {
    /* background-color: #29326b !important; */
    border-radius: 0px 0 0 20px !important;
    padding: 15px 0;
    padding-right: 90px;
    padding-left: 30px;
    align-items: center;
}
.enlaces-header a {
    color: #28326A !important;
    font-weight: 400 !important;
    font-size: .9rem;
}
.enlaces-header a:hover {
    font-weight: 700 !important;
}
.enlaces-header .active {
    color: #28326A !important;
    font-weight: 700 !important;
}

header .contenedor-nav {
    padding-right: 0px;
    padding-left: 0px;
}
nav {
    padding-top: 0 !important;
}
#navbarNavAltMarkup {
    
    flex-grow: 0;
}
header #dropdownMenuButton1 {
    border: none;
    background-color: transparent;
    margin: auto;
    color: #28326A !important;
    padding-bottom: 0;
    font-size: .9rem;
    font-weight: 400;
}
header #dropdownMenuButton1:hover {
    border: none;
    background-color: transparent;
    margin: auto;
    font-weight: 700;
}
.nav-wrapper {
    padding: 0;
    border: 0px;
}
.dropdown-menu a{
    color: var(--secondary-color) !important;
}
.dropdown-menu a:hover{
    color: var(--main-color) !important;
    background-color: var(--main-color-background);
    transition: all 0.2s;
}

.custom-toggler {
    color: #012A67;
    padding: 15px 20px;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#dropdownMenuButton1.active {
    color: #28326A !important;
    font-weight: 700 !important;
}
header button {
    padding: 10px 20px;
}

@media (min-width: 1200px) {
    .enlaces-header {
        padding-right: 12vw;
    }
    .enlace-nav {
        max-width: 150px;
    }
}
@media (min-width: 990px) {
    
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    animation-fill-mode: forwards; 
    transform: scale(0.9, 0.7) translateY(-20px);
    display: block; 
    transition: all 80ms ease;
  }
  .dropdown-menu.show {
    transform: scale(1, 1) translateY(0);  
    opacity: 1 !important;
    visibility: visible;
  }
  .header-dropdown-visible {
    -webkit-box-shadow: 0px 10px 60px -12px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 10px 60px -12px rgba(0,0,0,0.5);
    box-shadow: 0px 10px 60px -12px rgba(0,0,0,0.5);
    }
}
@media (max-width: 991px) {
    .header-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contenedor-enlaces-nav {
        justify-content: center;
    }

    .enlaces-header {
        background-color: white !important;
        padding-left: 0;
        padding-right: 0;
    }
    .enlaces-header a:hover {
        color: #28336b !important;
    }
    .logo img {
        margin-left: 10px;
    }
    header #dropdownMenuButton1 {
        border: none;
        background-color: transparent;
        margin: auto;
    }
    header #dropdownMenuButton1:hover {
        border: none;
        background-color: transparent;
        margin: auto;
    }
    .dropdown-menu {
        border: none;
    }
    .dropdown-menu a{
        color: var(--secondary-color-background) !important;
    }
    .dropdown-menu a:hover{
        color: var(--secondary-color) !important;
        background-color: transparent;
        transition: 0.2s;
    }
}
