.hero
{
    position: relative;
    grid-column: 1 / -1;
    margin: 140px 60px 30px;
    padding: 0; 
    border-radius: 30px;
    height: 850px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.heroBg
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:1;
}
.heroBg img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(2px) brightness(0.8);
    transform: scale(1.1);
    animation: imageFade 25s infinite;
}
.heroContent
{
    position: relative;
    z-index: 2;
    text-align: left;
}
.heroContent h1
{
    font-size: 4rem;
    text-shadow: 0 4px 10px var(--hero-text);
    font-weight: 700;
}
.heroContentDescription p
{
    margin-top: 30px;
    margin-left: 30px;
    font-size: 30px;
}



/*====Calculo de tiempo====*/
.heroBg img:nth-child(1) {animation-delay: 0s;}
.heroBg img:nth-child(2) {animation-delay: 5s;}
.heroBg img:nth-child(3) {animation-delay: 10s;}
.heroBg img:nth-child(4) {animation-delay: 15s;}
.heroBg img:nth-child(5) {animation-delay: 20s;}

/*====Animaciones====*/
@keyframes imageFade 
{
    0% 
    {
        opacity: 0;
    }
    10%
    {
        opacity: 1;
    }
    20%
    {
        opacity: 1;
    }
    30%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 0;
    }    
}

/*==Responsive==*/
@media (max-width: 768px)
{
    .hero
    {
        margin: 100px 20px 20px;
        height: 500px;
    }
    .heroContent h1
    {
        font-size: 2.5rem;
    }
}