#Home {
    /*   background-image: url(../img/backgrounds/2020/ppal.jpg?);*/
    /* background-image: url(../img/backgrounds//ppal24.jpg?2024); */
    /* background-position: top right; */
    /* padding-top: 180px; */
}


.alerta {
    width: 100%;
    height: auto;
    min-height: 60px;
    background-color: #2c3f50;
    padding-left: 4em;
    padding-right: 4em;
    padding-top: 1em;
    padding-bottom: 1em;
}

/*-----   menu  -----------------------------------------------------------*/


.menu {
    margin-left: 50px;
    position: relative;
    width: 500px;
    z-index: 1;
    height: fit-content;
}

.menu ul {
    list-style: none;
    margin: 0;
    margin-top: 50px;
}

.menu ul li {
    padding: 7px;
    position: relative;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: bold;
}

.menu ul li:hover {
    background-color: rgba(0, 0, 0, 0.44);
    /* opacity: 0.5; */
}

.menu ul ul {
    transition: all 0.3s;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    left: 80%;
    top: 2%;
}

.menu ul li:hover>ul {
    opacity: 1;
    visibility: visible;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    text-shadow: #080808 2px 2px;
}

.item_mobile {
    display: none;
}


.slideshow {
    list-style: none;
    z-index: 0;
}

.slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: imageAnimation 24s linear infinite 0s;
}

.slideshow li:nth-child(1) span {
    background-image: url(../img/backgrounds/2024//1.jpg);
}

.slideshow li:nth-child(2) span {
    background-image: url(../img/backgrounds/2024/2.jpg);
    animation-delay: 6s;
}

.slideshow li:nth-child(3) span {
    background-image: url(../img/backgrounds/2024//3.jpg);
    animation-delay: 12s;
}

.slideshow li:nth-child(4) span {
    background-image: url(../img/backgrounds/2024/5.jpg);
    animation-delay: 18s;
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        @include animation-timing-function(ease-in);
    }

    12.5% {
        opacity: 1;
        @include animation-timing-function(ease-out);
    }

    25% {
        opacity: 1;
    }

    37.5% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 1280px) {


    #Home {
        padding-top: 110px;
        background-image: none;
        background-position: top center;
    }


    .slideshow li:nth-child(1) span {
        background-image: url(../img/backgrounds/2024//1280.jpg);
    }

    .slideshow li:nth-child(2) span {
        background-image: url(../img/backgrounds/2024/1280_2.jpg);
        animation-delay: 6s;
    }

    .slideshow li:nth-child(3) span {
        background-image: url(../img/backgrounds/2024/1280_3.jpg);
        animation-delay: 12s;
    }

    .slideshow li:nth-child(4) span {
        background-image: url(../img/backgrounds/2024/1280_5.jpg);
        animation-delay: 18s;
    }


}

@media (max-width: 750px) {



    .slideshow li:nth-child(1) span {
        background-image: url(../img/backgrounds/2024//750.jpg);
    }

    .slideshow li:nth-child(2) span {
        background-image: url(../img/backgrounds/2024/750_2.jpg);
        animation-delay: 6s;
    }

    .slideshow li:nth-child(3) span {
        background-image: url(../img/backgrounds/2024/750_3.jpg);
        animation-delay: 12s;
    }

    .slideshow li:nth-child(4) span {
        background-image: url(../img/backgrounds/2024/750_5.jpg);
        animation-delay: 18s;
    }




    .menu {
        margin-left: 23px;
    }



    .menu ul li {
        padding: 5px;
        font-size: 14px;
    }


    .item_mobile {
        display: block;
    }

    .alerta {
        padding: 0.5em;
    }
}

@media (max-width: 520px) {

    #Home {
        padding-top: 50px;
    }

    .menu ul li {
        width: 90%;
    }

    .slideshow li:nth-child(1) span {
        background-image: url(../img/backgrounds/2024/520.jpg);
    }

    .slideshow li:nth-child(2) span {
        background-image: url(../img/backgrounds/2024/520_2.jpg);
        animation-delay: 6s;
    }

    .slideshow li:nth-child(3) span {
        background-image: url(../img/backgrounds/2024/520_3.jpg);
        animation-delay: 12s;
        background-position: right;
    }

    .slideshow li:nth-child(4) span {
        background-image: url(../img/backgrounds/2024/520_5.jpg);
        animation-delay: 18s;
    }

}