if (PINB & (1<<PINB0))
Probier es mit einer While Schleife
while (PINB & (1<<PINB0)) PORTD = (1<<PD3);
oder
while (PINB & (1<<PB0)) PORTD = (1<<PD3);

Das 2te sollte funktionieren. So haben wir es in der Schule gemacht.