header{
    position:sticky;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    background-color: var(--color-brand-gray);
}
nav{
    display: flex;
    width: 100%;
    position: relative;
    justify-content: space-between;
    align-items: center;
   
}
.logo{
    width: 8rem;
    margin: 1rem;
    /* padding: 0.8rem; */
}
.toggle-menu{
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
    margin-right: 2rem;
}
.open,.close{
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 2rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
    color: #FEFAD7;
}
.close{
    opacity: 0;
}
.show-toggle .open{
    opacity: 0;
    transform:rotateZ(90deg);
}
.show-toggle .close{
    opacity: 1;
    transform:rotateZ(-90deg);
}

.menu{
    display: flex;
    width: 100%;
    height: 0rem;
    background-color: transparent;
    position: absolute;
    flex-direction: column;
    top: 8rem;
    gap: 1rem 0rem ;
    padding: 2rem 0.8rem;
    opacity: 0%;
    transition: none;
}
.show{
    opacity: 1;
    transition: all .3s ease-in;
    height: 80dvh;
    top: 8rem;
    background-color: var(--color-brand-blue);
    
}
.dropdown-menu{
    display: flex;
    flex-direction: column;
    justify-content: start;

}
.drop{
    display: flex;
    width: 100%;
    align-items: center;
    & i{
        display: flex;
        color: var(--color-brand-gray);
   }
    
}
.links-dropdown{
    display: none;
    margin-top: 1rem;
    width: 100%;
    flex-direction: column;
    transition: all .3s ease;
    margin-left: 3.2rem;
    & li{
        margin-top: 1.6rem;
    }
}

.linkmenu{
   padding: 1rem;
   display: flex;
   align-items: center;
   cursor: pointer;
   & i{
        display: flex;
        color: var(--color-brand-gray);
        transition: all .3s ease;
   }
   & a{
        color: var(--color-brand-gray);
        font-weight: 600;
        transition: all .3s ease-in;
   }
}

.menu .linkmenu a:hover{
    color: #FEFAD7;
}
.linkmenu:hover i{
    transform: rotateZ(90deg);
    color: var(--color-brand-red);

}
.dropdown-menu:hover .links-dropdown{
    display: flex;

}
.link{
    color: var(--color-brand-gray);
}
.btn-matrículas{
    display: inline-block;
    width: 20rem;
    background-color: #F2ED4F;
    color: var(--color-brand-gray);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 0.6rem;
    transition: all .3s ease;
    margin-top: 3.2rem;
}
.btn-matrículas:hover{
    background: #FEFAD7;
    color: var(--color-brand-red);
    
}

