function showStep(hideId, showId){
document.getElementById(hideId).style.display = "none";
document.getElementById(showId).style.display = "block";
window.dispatchEvent(new Event('resize'));
}
document.querySelectorAll('.btn1').forEach(el=>{
el.addEventListener('click', function(){
showStep('step1','step2');
});
});
document.querySelectorAll('.btn2').forEach(el=>{
el.addEventListener('click', function(){
showStep('step2','step3');
});
});
});