@keyframes nav_background0
{
    0%
    {
        background: #7272726b;
    }
    100%
    {
        background:#2f2e2ed4;
    }
}

@keyframes nav_background1
{
    0%
    {
        background:#5d5d5da1;
    }
    100%
    {
        background: #acacac80;
    }
}

/* @keyframes nav_color0
{
    0%
    {
        color: #8b0505;
    }
    100%
    {
        color: #2d0101;
    }
}

@keyframes nav_color1
{
    0%
    {
        color: #2d0101;
    }
    100%
    {
        color: #8b0505;
    }
} */

.nav_color_trans1
{
    /* animation: nav_color1 1s forwards; */
    color: red;
}
.nav_color_trans0
{
    /* animation: nav_color0 1s forwards; */
    color: gray;
}

.nav_bkg_trns0
{
    animation: nav_background0 1s forwards;
}

.nav_bkg_trns1
{
    animation: nav_background1 1s forwards;
}

/* -------------------------- @ landscap ---------------------------------- */
@media (orientation: landscape) {

.menue_width
{
    width: 40%;
}
.nav_bkg_trns0, .nav_bkg_trns1
{
    position: fixed;
    margin-top: 10px;
    border-radius: 25px;
    padding: 5px;
    display: flex;
    justify-content: space-around;
    box-shadow: inset 0 0 16px 2px #101033bf; 
    z-index: 100; 
}

    #menu_port
    {
        display: none;
    }

    /* .menuUl
    {
        position: fixed;
        margin-top: 10px;
        background: #7272726b;
        border-radius: 25px;
        padding: 5px;
        display: flex;
        justify-content: space-around;
        box-shadow: inset 0 0 16px 2px #101033bf;  
        animation: nav_background0 0.5s forwards;
        z-index: 100;      
    } */

     #menuUl_scorrl
     {
        background: #5a5a5ac7;
     }

    ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* background-color: #333333; */
    }

    ul li {
    float: left;
    }

    ul li a {
    display: block;
    color: #8b0505;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    }

    ul li a:hover {
        background-color: #f4f6ff;
        border-radius: 30px;
        box-shadow: inset 0 0 20px 5px #838388;
        color: red !important;
    }

}


@media (orientation: landscape) and (max-width: 1366px)
{
    ul li a 
        {
            padding: 14px 12px;
        }
    .menue_width
    {
        width: 50%;
    }
    
}

@media (orientation: landscape) and (max-width: 1000px)
{
    .menue_width
    {
        width: 60%;
    }

    
}

@media (orientation: landscape) and (max-width: 850px)
{
    ul li a 
    {
        padding: 14px 8px;
    }
    .menue_width
    {
        width: 75%;
    }
}

@media (orientation: landscape) and (max-width: 750px)
{
    .row {
    flex-direction: column !important;
    }
    /* .w-33 {
        width: 53% !important;
    } */
}
@media (orientation: landscape) and (max-width: 576px)
{
    ul li a 
    {
        padding: 14px 8px;
        font-size: 1.5vw;
    }
}

/* ------------------------------ @portrait --------------------------- */
@media (orientation: portrait) {
    #menu_ico
    {
        display: inline;
        max-width: 10vw;
        border-radius: 8px;
        border-radius: 2px;
        padding: 1px;
        background: rgb(225 231 255 / 82%);
        border-radius: 7px;
        box-shadow: inset 0 0 9px 4px #44444466;
    }


    #menu_port
    {
        display: block;
        position: fixed;
        text-align: end;
        right: 42%;
        top: 7px;
        z-index: 100;
    }

    #menuUl
    {
        display: none;
    }
    #port_nav
    {
        position: fixed;
        top: 21px;
        right: 9%;
        text-align: center;
        margin-right: 2vw;
        background: rgb(225 231 255 / 82%);
        border-radius: 20px;
        box-shadow: inset 0 0 34px 3px #31313180;
        z-index: 100;
    }

    #menu_port {
        text-align: right;
        margin-right: 1vw;
        text-align: end;
    }
    ul {
        list-style-type: none;
        margin: 0;
        padding-right: 3px;
        width: 57vw;
        padding: 0 32px;
    
    }

    li a {
    display: block;
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    }

    /* Change the link and background color on hover */
    li a:hover {
    background-color: #c0c2e6;
    color: rgb(110, 2, 2);
    }

    .row {
        flex-direction: column !important;
    }
}