video, audio {
    display: block;
    margin: 10px auto;
}

video:hover {
    transform: scale(1.2);
    transition: transform 0.5s;
}

audio:hover {
    background-color: lightblue;
    transform: scale(1.1);
    transition: background-color 0.5s;
}

 video:nth-of-type(2):hover {
    transform: rotate(3deg);
    transition: transform 0.5s;
 }

 @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
 }

video:first-of-type {
    animation: pulse 2s infinite;
}