/******************************************** 
    Hero Section Styles
    These styles are loaded only when the hero section template part is used
********************************************/

#hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
}



/******************************************** 
    Background Image Wrapper
********************************************/

#hero .background-image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

#hero .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    animation: heroBackgroundAnimation 60s ease-in-out 1;
    transform-origin: center center;
}

@keyframes heroBackgroundAnimation {
    0% {
        transform: scale(1) rotate(-5deg);
    }
    100% {
        transform: scale(1.2) rotate(0deg);
    }
}

#hero .background-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #313131;
}



/******************************************** 
    Textos
********************************************/

#hero .titulo > * {
    margin: 0 0 50px;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
}

#hero .titulo > * strong {
    color: #FC393F;
}

#hero .subtitulo > * {
    margin: 0 0 50px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}



/******************************************** 
    Logos
********************************************/

#hero .app-logos-container {
    margin: 30px 0 0;
    display: flex;
    flex-direction: row;
    column-gap: 24px;
}

#hero .app-logos-container a {
    display: flex;
    transition: all 0.3s ease;
}

#hero a:hover {
    text-decoration: none;
    filter: invert(1);
    transition: all 0.3s ease;
}



/******************************************** 
    Mobile Styles
********************************************/

@media (max-width: 1140px) {
    #hero .titulo > * {
        font-size: 38px;
    }
}

@media (max-width: 1024px) {
    
    #hero .app-logos-container {
        flex-direction: row !important;
    }
    
}

@media (max-width: 820px) {
    #hero h1 {
        font-size: 40px;
    }
    
    #hero .background-image {
        width: 150%;
        height: 100%;
        left: 0;
        object-fit: cover;
    }
    
    #hero .app-logos-container {
        flex-direction: column;
        align-items: center;
        row-gap: 15px;
    }
} 

@media (max-width: 768px) {

    #hero {
        min-height: 600px;
    }

    #hero .titulo > * {
        text-align: center;
    }

    #hero .subtitulo > * {
        margin: 0 auto 50px;
        text-align: center;
    }

    #hero .app-logos-container{
        justify-content: center;
    }
    
}

@media (max-width: 680px) {

    #hero {
        min-height: 700px;
    }

    #hero .titulo > * {
        margin: 0 0 30px;
        font-size: 32px;
    }

    #hero .subtitulo > * {
        margin: 0 0 50px;
        font-size: 22px;
    }

    #hero .app-logos-container {
        flex-direction: column !important;
    }
    
}