function birthdayeffect(m, d) {
let today = new Date();
if (m != today.getMonth()+1 || d != today.getDate()) return;
let speed = 3+$(window).height() * 0.007;
// console.log(speed);
const balloon = 20;
let html = '
';
for (let i = 0; i < balloon; i++) {
html += '
';
}
html += '
';
html += '
';
$('body').append(html)
setTimeout(function() {
$('.birth-balloon').animate({'opacity': 0}, 3000);
$('#happybirthday').css('transition', 'all 1s');
setTimeout(function() {
$('#happybirthday').css('opacity', 0);
setTimeout(function() {
$('#birthday').css('display', 'none');
}, 1500);
}, 1500);
}, 9000);
setTimeout(function() {
$('#happybirthday').css({
'opacity': 1,
'transform': 'scale(1)'
});
}, 6000);
}