#hero {
    position: relative;
    margin-bottom: 11.25rem;
    margin-top: 5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 23.0625rem 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16.5rem;
    align-items: end;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-family: var(--headers-font);
    font-weight: var(--h1-weight);
    font-size: var(--h1-size);
    line-height: var(--h1-height);
    color: var(--h1-color);
    margin: 0;
    transform: translateX(-5rem);
    opacity: 0;
    transition: transform .4s, opacity .4s;
    transition-delay: .3s;
}

.hero-text h1 i {
    font-style: normal;
    color: #7398D7;
}

.inView .hero-text h1 {
    transform: translateX(0);
    opacity: 1;
}

.hero-description {
    font-size: 2.5rem;
    line-height: 3rem;
    transform: translateX(-5rem);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    transition-delay: .6s;
    padding: 0 0 4.5rem;
}

.inView .hero-description {
    transform: translateX(0);
    opacity: 1;
}

.hero-more {
    display: flex;
    flex-direction: column;
    align-items: start;
    transform: translateY(20rem);
    opacity: 0;
    transition: transform .3s, opacity .3s;
}

.hero-more a {
    font-weight: 500;
    font-size: 1.3125rem;
    line-height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #FFFFFF;
    color: #0A163F;
    padding: 1rem 1.5rem;
    border: var(--button-border);
    transition: opacity .7s;
    border-radius: var(--button-radius);
}

.inView .hero-more {
    transform: translateY(0);
    opacity: 1;
}

.hero-more a:hover {
    opacity: .7;
}

.hero-image{
    position: absolute;
    z-index: 1;
    bottom: -1.5rem;
    right: 0;
    width: 100%;
}

@media (max-width: 1440px) {
    
}

@media (max-width: 1280px) {
    .hero-content {
        padding-top: 18rem;
        gap: 5rem;
    }

    .hero-text h1 {
        font-size: 5.25rem;
        line-height: 5.75rem;
    }
}

@media (max-width: 1080px) {

}

@media (max-width: 820px) {
    .hero-content {
        padding-top: 10rem;
    }
}

@media (max-width: 620px) {

    .hero-content{
        padding-top: 2rem;
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 4.25rem;
        line-height: 4.75rem;
    }

    .inView .hero-description {
        font-size: 2rem;
        line-height: 2.5rem;
    }
}