I have set a max-size in the first class to limit the size height will be automatic and removed the border in the second class you do not really need the frameborder width and height settings in the iframe code
<style>
/* This element defines the size the iframe will take.
In this example we want to have a ratio of 25:14 */
.aspect-ratio {
position: relative;
width: 100%;
max-width:550px;
height: 0;
padding-bottom: 56%; /* The height of the item will now be 56% of the width. */
}
/* Adjust the iframe so it's rendered in the outer-width and outer-height of it's parent */
.aspect-ratio iframe {
position: absolute;
width: 100%;
height: 100%;
border:0;
left: 0;
top: 0;
}
</style>