#hero.hero-8{
    position: relative; 
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    /*
    height: calc(100vh - 100px);
    */
}

#hero.hero-8 .hero-container-pos{
    position: absolute;
    bottom: 0;
}

#hero.hero-8 .hero-container{
    overflow-x: hidden;
}

#hero.hero-8 .hero-top img{
/*
    height: calc(100vh - 100px);
    object-fit: cover;
    */
}
#hero.hero-8 .hero-bottom{
    justify-content: center;
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
    gap: var(--space-4xl);
}
#hero.hero-8 .hero-topline{
    font-family: var(--secondary-font);
    color: var(--text-body);
    font-size: var(--text-display);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}
#hero.hero-8 .hero-headline{
    font-family: var(--primary-font);
    color: var(--text-title);
    font-size: var(--h1);
    font-weight: 700;
    margin-bottom: var(--space-s);
}
#hero.hero-8 .hero-text{
    font-family: var(--secondary-font);
    color: var(--text-body);
    font-size: var(--text);
    font-weight: 400;
}
#hero.hero-8 .hero-buttons{
    margin-top: var(--space-m);
    gap: var(--space-xs);
}
#hero.hero-8 .hero-buttons button{
    padding: var(--space-2xs) var(--space-s) var(--space-2xs) var(--space-s);
    border: 1px solid var(--primary);
    opacity: 0px;
    border-radius: 0;
    cursor: pointer;
}
#hero.hero-8 .hero-buttons .button-one{
    background-color: var(--primary);
    color: var(--light);
}
#hero.hero-8 .hero-buttons .button-two{
    background-color: transparent;
    color: var(--primary);
}

@media only screen and (max-width:1024px){
    #hero.hero-8 .hero-top img {
        width: 100%;
        height: 100%;
    }
    #hero.hero-8 {
        height: 100%;
    }
    #hero.hero-8 .hero-container {
        padding-right: 24px;
        padding-left: 24px;
        max-width: 100%;
    }   
    #hero.hero-8 .hero-container-pos {
        position:static; 
    }
}

@media only screen and (max-width:768px){
    .reversed{
        flex-direction: column-reverse !important;
    }
    #hero.hero-8 .hero-bottom{
        gap: 0;
    }
    #hero.hero-8 .hero-text{
        width: 100%;
    }
}
