import React from 'react'

const Count = ({number, text, ...props}) => {
    return (
        <div className='text-center basis-1/2 mb-[70px] max-md:mb-8' {...props}>
            <span className='text-red-500 text-5xl max-md:text-4xl font-bold mb-2'>{number}</span>
            <p className='text-slate-600 text-xl max-md:text-lg font-medium'>{text}</p>
        </div>
    )
}

export default Count;