#hero {
    height: 97vh;
    width: 100%;
    background: url('/img/home/herobg.jpg');
    background-position: 10% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    max-height: 1500px;
    max-width: unset !important;
}
#hero::before{
    content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-image: linear-gradient(#000, #000);
        opacity: .6;
        z-index: -1;
        pointer-events: none;
        will-change: opacity;
        transform: translateZ(0);
        /* again, layer promotion */
}
#hero #energyI{
    aspect-ratio: 1;
    height: 40px;
}
#hero h2 {
    margin: 0;
    margin-bottom: 30px;
    font-size: 53px;
    font-weight: 500;
    font-style: italic;
    color: white;
    display: flex;
    flex-direction: column;
}

#hero h2>span {
    font-size: 45px;
    font-weight: 500;
    font-style: italic;
    color: white;
}

#hero h2 div span {
    color: #2FBA3F;
    font-weight: 500;
    font-size: 55px;
    transition: .8s;
    padding-bottom: 80px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    /* GPU acceleration hint */
    will-change: transform;
    padding-left: 10px;
    padding-right: 10px;
    overflow: visible;
    padding-top: 10px;
}

#hero h2 div .slyellow {
    --var-color: #eded13;
    color: var(--var-color);
}

#hero h2 div .sl3 {
    --var-color: #a4e712;
    color: var(--var-color);
}

#hero h2 div {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px
}

#hero .brand {
    display: none;
}

#hero .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

#hero h2 span img {
    aspect-ratio: 1;
    height: 33px;
    margin: 0 -5px 0 0;
}

#hero .vert-slide {
    height: 105px;
    width: 100%;
    padding-top: 0;
    box-sizing: content-box;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    margin: 0px 0 0 0;
    gap: 0;
    position: relative;
    transform: translateY(-10px);

    line-height: normal;
    contain: layout style;
    will-change: transform;
    -webkit-mask-image: linear-gradient(black, black);
    /* Triggers layer promotion */
}


#hero p, #hero h1{
    font-size: 20px;
    font-weight: 500;
    color: white;
    text-align: center;
    width: 80vw;
}
#hero h1{
    text-transform: none;
    margin-top: 20px;
    /* margin-top: auto; */
    text-align: center;
    width: 95%;
    font-size: 20px;
    font-weight: 400;
}

.btn {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    height: 16%;
}

#hero a {
    width: min(80%, 300px);
    background-color: #259632;
    border-radius: 20px;
    height: 46px;
    border: none;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#hero a:hover {
    /* background-color: #2bc23d; */
    -webkit-box-shadow: inset 0 0 7px 6px #146e1f;
    box-shadow: inset 0 0 15px 7px #146e1f;

}

#hero a span {
    margin-bottom: -3px;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 500;
    /* height: 20px; */
    display: inline-block;
}

@media only screen and (min-width: 720px) {
    #hero p.brand {
        display: block;
        text-transform: uppercase;
        font-size: 32px;
        font-weight: 400;
        margin-top: 0;
    }
    #hero #energyI{
        aspect-ratio: 1;
        height: 60px;
    }
    #hero {
        flex-direction: row;
        padding: 0 min(12vw, 60px) 0 min(10vw, 30px);
    }

    #hero h2 div span {
        padding-left: 20px;
    }

    #hero h2>span,
    #hero h2 div span {
        font-size: max(min(6vw, 110px), 90px);
    }

    #hero h2 div.vert-slide {
        padding-top: max(min(1vw, 21px), 18px);
        height: calc(max(min(6vw, 110px), 90px) * 1.40 - 5px + max(min(1vw, 21px), 18px));
        top: calc(-1* max(min(1vw, 21px), 18px));
    }

    #hero h2 div.vert-slide img {
        height: 50px;
        margin-right: -8px;
        margin-left: -8px;
    }

    #hero .vert-slide {
        align-items: start;
    }

    #hero .text {
        align-items: start;
        justify-content: start;
        height: 100%;
        width: min-content;
        width: 60%;
        padding: 20% 0 10% 0;

    }

    #hero p , #hero h1{
        text-align: left;
        margin: 0;
        width: 95%;
        font-size: 26px;
        margin-top: auto;
    }

    #hero .btn {
        height: 100%;
        padding: 20% 0 10% 0;
        justify-content: end;
        align-items: end;
        width: 100;
    }

    #hero .btn .button {
        width: max-content;
        padding: min(max(2.3vw, 30px), 50px) 3.5vw;
        max-height: 90px;
    }

    #hero .btn .button span {
        font-size: min(4vw, 40px);
        width: max-content;
        text-align: center;
    }
}

@media only screen and (min-width: 1200px) {
    #hero h2 {
        flex-direction: row;
    }

    #hero .vert-slide,
    #hero .vert-slide span {
        width: max-content;
    }

    #hero .vert-slide {
        padding: 0 10px;
    }

    #hero .text {
        padding: 15% 0 10% 0;
    }
}