:root{
    --light: #F7EFEE;
    --dark: #0B2149;

    --borderMargin: 5rem;
}

@media only screen and (max-width: 500px){
    #heroContent{
        flex-direction: column;
    }

    #heroContent img,#heroContent picture img{
        max-width:100%;
        max-height:100%;
    }
    #heroContent button, #statsPanel button, #companyPanel button{
        display: block;
        margin: auto;
        margin-bottom: 2rem;
    }

    #infoItems{
        grid-template-columns: auto auto !important;
        gap: 2rem !important;
    }

    .infoItem img,.infoItem picture img{
        width: 30% !important;
    }

    #companyPanel, #statsPanel{
        flex-direction: column !important;
    }

    #companyPanel img, #companyPanel picture img, #statsPanel img, #statsPanel picture img{
        max-width:100%;
        max-height:100%;
        padding: 0 !important;
    }

    #clientList > div{
        gap: 0 !important;
        justify-content: space-between !important;
    }
    #statsPanel{
        text-align: right;
        flex-direction: column-reverse !important;
    }

    #solutionCallout img,#solutionCallout picture img{
        display: none;
    }

    #heroContent img,#heroContent picture img{
        display: none;
    }
    
}

#heroContent{
    display: flex;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
#heroContent img,#heroContent picture img{
    width: 40rem;
    height: auto;
    margin-left: 4rem;
}

#heroContent h1{
    font-size: 3rem;
}


#featuresBorder{
    background-color: white;
    filter: drop-shadow(0px 4px 4px #00000025);
}

#featuresBorder h1{
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 1rem;
    font-size: 2.25rem;
}

#infoItems{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 4rem;
    row-gap: 1rem;
    margin-bottom: 1rem;
}

.infoItem{
    text-align: center;
}

.infoItem img,.infoItem picture img{
    width: 15%;
}

.infoItem h2{
    margin: 0;
}

#companyPanel{
    display: flex;
    margin-top: 2rem;
}

#companyPanel img, #companyPanel picture img, #statsPanel img, #statsPanel picture img{
    width: 40rem;
    height: auto;
    padding-left: 4rem;
}

#statsPanel{
    display: flex;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* #statsPanel img{
    width: 40rem;
    height: auto;
    padding-right: 4rem;

    
} */

#clientList{
    text-align: center;
    padding-top: 1rem;
    /* margin-bottom: ; */
}


#clientList > div{
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 1rem;
}

.clientLogo{
    width: 4rem;
    height: 4rem;
    background-color: grey;
}

#solutionCallout{
    background-color: white;
    text-align: center;
    filter: drop-shadow(0px -4px 4px #00000015);
}
#solutionCallout div{
    margin-top: 4rem;
    margin-bottom: 4rem;
}
#solutionCallout img,#solutionCallout picture img{
    position: absolute;
    right: 0;
    width: 18rem;
    transform: translate(-1rem, -8.5rem);
}