#hero {
    margin: 5rem auto 0 auto;
    display: flex;
    flex-direction: row;
    height: calc(100vh - 13rem);
    width: min(80rem, 100%);
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
    column-gap: 1rem;
    padding: 0 92px;
}

#hero-images {
    overflow: hidden;
    min-height: 36rem;
    height: 36rem;
    width: 36rem;
    /* background: red;; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

#hero-images img {
    height: 110%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    
    opacity: 0;
    transition: all 0.5s;
}

#hero-images img.visible {
    opacity: 1;
}

#hero-images img.hidden {
    opacity: 0;
    transition-property: all 0.5s;
}

#hero h3 {
    font-size: 2.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    margin: 0;
    line-height: 3rem;
}

#hero h3 b {
    color: var(--primary-accent-color);
    font-weight: 600;
    font-size: 3rem;
    line-height: 3.5rem;
    animation: blinking-cursor 1s infinite;
}

@keyframes blinking-cursor {
    0% {
        border-right: solid 0.2rem var(--primary-accent-color);
    }
    50% {
        border-right: solid 0.2rem #00000000;
    }
    100% {
        border-right: solid 0.2rem var(--primary-accent-color);
    }
}

#hero span {
    font-family: "Poppins", sans-serif;
    display: block;
    max-width: 31rem;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

#hero #hero-btns {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

#hero #hero-btns input[type=button] {
    padding: 1rem 0;
    width: 13rem;
    border-radius: 5rem;
    border: solid black 0.1rem;
    background: black;
    font-family: "Poppins", sans-serif;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

#hero #hero-btns input[type=button]:hover {
    color: black;
    background: white;
    color: white;
    background: var(--primary-accent-color);
    border-color: var(--primary-accent-color);
}

#hero #hero-btns input[type=button]:nth-child(2) {
    color: black;
    background: white;
}

#hero #hero-btns input[type=button]:nth-child(2):hover {
    color: white;
    background: var(--primary-accent-color);
    border-color: var(--primary-accent-color);

}

@media only screen and (max-width: 1140px) {
    #hero {
        padding: 0 16px 0 92px;
        column-gap: 0;
    }

    #hero-text {
        transform-origin: left;
        transform: scale(0.9);
    }

    #hero-images {
        min-height: 32rem;
        height: 32rem;
        width: 32rem;
    }
}

@media only screen and (max-width: 960px) {
    #hero {
        margin-top: 4rem;
        padding: 0 16px 0 45px;
    }

    #hero-text {
        transform: scale(1);
    }

    #hero-images {
        height: min(24rem, 100vh - 16rem);
        width: min(24rem, 100vh - 16rem);
    }

    #hero-images {
        min-height: 24rem;
        height: 24rem;
        width: 24rem;
    }

    #hero h3 {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    #hero h3 b {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }
    #hero span {
        width: 25rem;
        font-size: 1rem;
    }
    #hero #hero-btns input[type=button] {
        padding: 0.5rem;
        width: 11rem;
        border-radius: 5rem;
    }
}

@media only screen and (max-height: 768px) {
    #hero {
        height: initial;
    }
}

@media only screen and (max-height: 460px) {
    #hero {
        height: calc(100vh - 6rem) !important;
    }

    #hero-images {
        height: min(40rem, 100vh - 6rem);
        width: min(40rem, 100vh - 6rem);
    }
}


 
@media only screen and (max-width: 800px) {
    #hero {
        padding: 0;
        margin-top: 7rem;
        height: max-content !important;
        flex-direction: column;
    }

    #hero-text {
        transform-origin: left;
        transform: scale(1);
    }

    #hero h3 b {
        position: initial;
    }
    

    #hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #hero h3 {
        width: 100%;
    }

    #hero span {
        width: 22rem;
        margin: 0.8rem 0 1.5rem 0;
    }


    #hero-images {
        min-height: initial;
        height: min(24rem, calc(100vw - 2rem)) !important;
        width: min(24rem, calc(100vw - 2rem)) !important;
    }
}

@media only screen and (max-width: 420px) {
    #hero {
        margin-top: 5rem;
    }
    #hero h3 {
        font-size: 1.5rem;
        line-height: 1.8rem;
        margin: 0;
        display: flex;
        flex-direction: column;
        width: max-content;
        align-items: center;
    }
    #hero h3 b {
        font-size: 1.5rem;
        line-height: 1.8rem;
        height: 1.8rem;
        min-height: 1.8rem;
    }
    #hero span {
        width: calc(100% - 2rem);
        margin: 0.4rem 0 0.8rem 0;
        font-size: 0.9rem;
    }
    #hero #hero-btns {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.5rem;
        width: 100%;
    }
    #hero #hero-btns input[type=button] {
        font-size: 0.8rem;
        padding: 0.5rem;
        width: 9rem;
        border-radius: 5rem;
    }
}
