@keyframes change-color 
{
    0% { color: #F9D9D9; } /* Rosa pálido */
  25% { color: #F8DCC1; } /* Naranja pálido */
  50% { color: #FFF3CD; } /* Amarillo pálido */
  75% { color: #E0FBFF; } /* Azul pálido */
  100% { color: #DFD4FF; } /* Lila pálido */
}

@keyframes change-colors-one 
{
    0% { background-color: #FFE69F; } /* Amarillo claro */
    20% { background-color: #FFC38B; } /* Naranja claro */
    40% { background-color: #FF9FAC; } /* Rosa claro */
    60% { background-color: #9FAFFF; } /* Azul claro */
    80% { background-color: #9FD7FF; } /* Celeste claro */
    100% { background-color: #FFE69F; } /* Volver al amarillo claro */
}

@keyframes change-colors-two 
{
    0% { background-color: #FFE69F; } /* Amarillo claro */
    20% { background-color: #9FD7FF; } /* Naranja claro */
    40% { background-color: #9FAFFF; } /* Rosa claro */
    60% { background-color: #FF9FAC; } /* Azul claro */
    80% { background-color: #FFC38B; } /* Celeste claro */
    100% { background-color: #FFE69F; } /* Volver al amarillo claro */
}

canvas 
{
    position: absolute;
    top: 0;
    left: 0;
    opacity: .3;
}

.cont_menu_navigation
{
    position: relative;
    user-select: none;
}

#new_menuweb_portalutu
{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--azul-utu-dos);
}

.new_menuweb_portalutu
{
    height: 160px;
    width: 100%;
    position: relative;
    /*background-color: var(--azul-utu-dos);*/
    display: flex;
    justify-content: space-between;
}

.new_menuweb_portalutu>a>img 
{
    height: 70px;
    width: auto;
    margin: 45px 0 45px 45px;
}

.new_menuweb_portalutu>a
{
    z-index: 11;
    
}

.menu_principal 
{
    height: 100%;
    box-sizing: border-box;
    width: auto;
}

.menu_principal>ul 
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu_principal>ul>li
{
    list-style: none;
    height: 20px;
    width: auto;
    display: flex;
    align-items: center;
    margin: 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    position: relative;
    color: var(--gris-dos);
    padding: 10px 5px;
    z-index: 20;
}

.menu_principal>ul>li:hover, .submenu>li:hover, .menu_secundario>div:nth-child(2)>ul>li:hover
{
    background-color: var(--azul-utu-uno);
}

.submenu 
{
    width: 400px;
    display: none;
    position: absolute;
    top: 36px;
    left: 0;
    background-color: var(--gris-dos);
    z-index: 20;
    margin: 0;
    padding: 0;
}

.submenu>li
{
    list-style: none;
    height: 70px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dddddd;
}

.menu_principal>ul>li>div>span
{
    margin-left: 5px;
}

.menu_principal>ul>li>div>span>i 
{
    color: white;
    font-size: 0.6rem;
}

.submenu>li>a, .menu_secundario>div:nth-child(1)>ul>li>a, .menu_secundario>div:nth-child(2)>ul>li>a
{
    text-decoration: none;
    color: var(--azul-utu-uno);
    font-weight: 300;
}

@media (min-width: 768px)  
{
    .menu_principal>ul>li:hover > .submenu 
    {
        display: block;
    }
}

.submenu>li:hover>a 
{
    color: var(--gris-dos);
}

.menu_secundario 
{
    display: flex;
    flex-direction: column;
    width: auto;
    height: 160px;
}

.menu_secundario>div
{
    height: 80px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 15px;
}

.menu_secundario>div>ul 
{
    margin: 0;
    padding: 0;
    display: flex;
}

.menu_secundario>div>ul>li
{
    list-style: none;
    margin: 0 8px;
}

.menu_secundario>div:nth-child(2)>ul>li
{
    padding: 6px 6px;
}

.menu_secundario>div:nth-child(1)>ul>li>a>i, .menu_secundario>div:nth-child(2)>ul>li
{
    font-size: 1.2rem;
    color: var(--gris-uno);
    transition: color 0.5s ease-in-out;
}

.menu_secundario>div:nth-child(2)>ul>li>a
{
    color: var(--gris-dos);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
}

.menu_secundario>div:nth-child(1)>ul>li>a>i:hover
{
    animation: change-color 3s infinite;
}

.menu_secundario>div:nth-child(1)
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    margin-top: 15px;
}

.panel_botones_horas 
{
    display: flex;
    align-items: center;
}

.panel_botones_horas>li:nth-child(1)
{
    margin-right: 5px!important;
}

.panel_botones_horas>li:nth-child(2)
{
    margin: 0!important;
}

.panel_botones_horas>li>button
{
    display: inline-block;
    border-radius: 20px; /* Bordes redondeados */
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.5s ease-in-out;
    position: relative;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel_botones_horas>li>img
{
    height: 60px;
    cursor: pointer;
}

.panel_botones_horas>li>button>p 
{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--azul-utu-dos);
    padding: 5px;
}

.panel_botones_horas>li:nth-child(1)>button
{
    animation: change-colors-one 8s infinite; 
}

.panel_botones_horas>li:nth-child(2)>button
{
    animation: change-colors-two 8s infinite; 
}

.menu_icon_mobile
{
    display: none;
}

.menu_secundario>div:nth-child(2)
{
    position: absolute;
    bottom: 0;
    right: 0;
}

.menu_principal>ul:first-child>li 
{
    min-height: 40px;
}

@media only screen and (max-width: 845px) 
{
    .menu_secundario>div:nth-child(2)>ul>li>a
    {
        font-weight: 600;
    }

    .menu_secundario>div:nth-child(2)>ul>li
    {
        font-size: xx-small;
    }
    /*parche noticias*/
    .content__page-internas
    {
        margin-top: 15px;
        padding: 10px;
    }

    .cont_menu_navigation
    {
        width: 100%;
        height: 100vh;
        overflow-y: scroll;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 14;

        transform: translateX(-100%);
        transition: transform ease-in 1s;
    }

    /*estilos para el icono que despliega el menu*/
    .menu_icon_mobile 
    {
        width: 25px;
        height: 25px;
        position: fixed;
        top: 5px;
        left: 5px;
        cursor: pointer;
        z-index: 33;
        display: block;
        background-color: var(--azul-utu-dos);
        border-radius: 4px;
    }

    .bar 
    {
        position: absolute;
        width: 20px;
        left: 1.5px;
        height: 3px;
        background-color: var(--gris-uno);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .bar-1 
    {
        top: 5px;
    }
      
    .bar-2, .bar-4 
    {
        top: 10px;
        width: 15px;
    }
      
    .bar-3 
    {
        top: 15px;
    }

    .menu_icon_mobile.open .bar 
    {
        transition: all ease 0.7s;
        background-color: white;
    }

    .menu_icon_mobile.open .bar-1 
    {
        transform: rotate(45deg) translate(5px, 2.5px);
    }
      
    .menu_icon_mobile.open .bar-2 
    {
        opacity: 0;
    }
      
    .menu_icon_mobile.open .bar-3 
    {
        transform: rotate(-45deg) translate(5px, -2.5px);
    }
      
    .menu_icon_mobile.open .bar-4 
    {
        opacity: 0;
    }

    .move_menu
    {
        transform: translateX(0)!important;
    }
    /*fin estilos para el icono que despliega el menu*/

    .new_menuweb_portalutu
    {
        flex-direction: column;
        height: auto;
        position: absolute;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .new_menuweb_portalutu>a 
    {
        position: relative;
    }

    .menu_principal
    {
        height: auto;
        position: relative;
    }

    .menu_principal>ul 
    {
        flex-direction: column;
    }

    .menu_secundario 
    {
        flex-direction: column-reverse;
        padding: 15px 15px;
        position: relative;
        height: auto;
    }

    .menu_secundario>div 
    {
        margin-right: 0;
    }

    .menu_secundario>div>ul 
    {
        text-align: center;
    }

    .menu_secundario>div:nth-child(1)>ul:nth-child(1)
    {
        text-align: center;
        width: 100%;
        justify-content: center;
        height: 45px;
        align-items: center;
    }

    .menu_secundario>div:nth-child(2) 
    {
        height: auto;
    }

    .menu_secundario>div:nth-child(2)>ul 
    {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .menu_principal>ul>li 
    {
        height: auto;
        flex-direction: column;
    }

    .submenu 
    {
        position: relative;
        left: 0;
        top: 0;
        width: 100vw;
    }

    .submenu>li:hover, .menu_secundario>div:nth-child(2)>ul>li:hover
    {
        background-color: var(--azul-utu-uno);
    }

    .menu_principal>ul>li:hover
    {
        background-color: transparent;
    }

    .menu_secundario>div:nth-child(2)>ul>li
    {
        padding: 0;
    }

    .panel_botones_horas>li>button
    {
        height: 40px;
    }

    .menu_secundario>div:nth-child(2)
    {
        padding: 15px 0;
        border-bottom: 1px solid #e2e2e2;
        margin-bottom: 30px;
    }

    .menu_principal>ul>li>div
    {
        width: 200px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu_principal>ul>li>div>span 
    {
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
        display: flex;
        box-sizing: border-box;
        border: 1px solid #f2f2f2;
    }

    .menu_secundario>div>ul:nth-child(2)
    {
        justify-items: center;
        justify-content: center;
        align-items: center;
        width: 100%;  
    }

    .submenu_hidden 
    {
        display: none;
    }

    .submenu_visible
    {
        display: inline;
    }

    .menu_secundario>div:nth-child(2)
    {
        position: relative;
        bottom: unset;
        right: unset;
    }
}

@media only screen and (min-width: 845px) and (max-width: 1333px)
{
    .new_menuweb_portalutu 
    {
        justify-content: space-between;
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .new_menuweb_portalutu>a 
    {
        position: absolute;
        top: 15px;
        left: 15px;
    }

    .new_menuweb_portalutu>a>img
    {
        margin: 0;
    }

    .menu_secundario>div:nth-child(1)
    {
        flex-direction: initial;
    }

    .menu_secundario>div
    {
        height: auto;
        padding: 10px 0;
    }

    .menu_secundario>div:nth-child(2)
    {
        position: relative;
        bottom: unset;
        right: unset;
    }

    .submenu 
    {
        right: 0;
        left: unset;
    }
}
