YUI().use('event-mouseenter', 'transition', function (Y) {

    var zdarzenie_1 = Y.one('#zdarzenie_1');

    zdarzenie_1.on('mouseenter', function () {
        
        Y.one('#menu_1').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '80px',
              width: '140px',
              borderRadius:'50%',
              border:'3px solid #ffffff',
              boxShadow:'5px 5px 5px rgba(217, 103, 4, 0.5)',
              background:'#FFDC00'
              });        
        });

    zdarzenie_1.on('mouseleave', function () {
        
        Y.one('#menu_1').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '60px',
              width: '140px',
              borderRadius:'15px',
              border:'2px solid #BF4904',
              boxShadow:'5px 5px 5px rgba(255, 220, 0, 0.5)',
              background:'#F2DA91'
              });     
    });
        
        
        var zdarzenie_2 = Y.one('#zdarzenie_2');

    zdarzenie_2.on('mouseenter', function () {
        
        Y.one('#menu_2').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '80px',
              width: '140px',
              borderRadius:'50%',
              border:'3px solid #ffffff',
              boxShadow:'5px 5px 5px rgba(217, 103, 4, 0.5)',
              background:'#FFDC00'
              });     
    });

    zdarzenie_2.on('mouseleave', function () {
        
        Y.one('#menu_2').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '60px',
              width: '140px',
              borderRadius:'15px',
              border:'2px solid #BF4904',
              boxShadow:'5px 5px 5px rgba(255, 220, 0, 0.5)',
              background:'#F2DA91'
              });     
     });
        
        var zdarzenie_3 = Y.one('#zdarzenie_3');

    zdarzenie_3.on('mouseenter', function () {
        
        Y.one('#menu_3').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '80px',
              width: '140px',
              borderRadius:'50%',
              border:'3px solid #ffffff',
              boxShadow:'5px 5px 5px rgba(217, 103, 4, 0.5)',
              background:'#FFDC00'
              });     
    });

    zdarzenie_3.on('mouseleave', function () {
        
        Y.one('#menu_3').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '60px',
              width: '140px',
              borderRadius:'15px',
              border:'2px solid #BF4904',
              boxShadow:'5px 5px 5px rgba(255, 220, 0, 0.5)',
              background:'#F2DA91'
              });     
     });
        
        var zdarzenie_4 = Y.one('#zdarzenie_4');

    zdarzenie_4.on('mouseenter', function () {
        
        Y.one('#menu_4').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '80px',
              width: '140px',
              borderRadius:'50%',
              border:'2px solid #ffffff',
              boxShadow:'5px 5px 5px rgba(217, 103, 4, 0.5)',
              background:'#FFDC00'
              });     
    });

    zdarzenie_4.on('mouseleave', function () {
        
        Y.one('#menu_4').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '60px',
              width: '140px',
              borderRadius:'15px',
              border:'2px solid #BF4904',
              boxShadow:'5px 5px 5px rgba(255, 220, 0, 0.5)',
              background:'#F2DA91'
              });     
     });
        
        var zdarzenie_5 = Y.one('#zdarzenie_5');

    zdarzenie_5.on('mouseenter', function () {
        
        Y.one('#menu_5').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '80px',
              width: '140px',
              borderRadius:'50%',
              border:'2px solid #ffffff',
              boxShadow:'5px 5px 5px rgba(217, 103, 4, 0.5)',
              background:'#FFDC00'
              });     
    });

    zdarzenie_5.on('mouseleave', function () {
        
        Y.one('#menu_5').transition({
              duration: 0.3,
              easing: 'ease-out',
              height: '60px',
              width: '140px',
              borderRadius:'15px',
              border:'2px solid #BF4904',
              boxShadow:'5px 5px 5px rgba(255, 220, 0, 0.5)',
              background:'#F2DA91'
              });     
      });
           
});
