* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.animation-box {
    width: 610px;
    height: 255px;
    margin: 30px auto;
    padding: 5px;
    border: 1px solid #4c73ff;
}
.banner {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    animation: bannerAnim 4s infinite alternate;
}
@keyframes bannerAnim {
    0%   { background: #ff0050; font-size: 12px; }
    25%  { background: #ff00c8; font-size: 16px; }
    50%  { background: #00e5e5; font-size: 20px; }
    75%  { background: #80ff00; font-size: 16px; }
    100% { background: #ff0050; font-size: 12px; }
}
.items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
}
.frame {
    width: 105px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: yellow;
    font-size: 24px;
}
.image-frame {
    border: 2px solid red;
    overflow: hidden;
}
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: imageFade 1.5s infinite;
}
@keyframes imageFade {
    0%, 100% { opacity: 1; }
    50% { opacity: .65; }
}
.frame2 {
    background: cyan;
    border: 3px dashed blue;
    border-radius: 0 20px 0 20px;
}
.frame3 {
    background: #0ee;
    border: 3px dotted #ff00ff;
    border-radius: 20px 0 20px 0;
}
.frame4 {
    background: #078c87;
    border: 2px solid #a6c85a;
    animation: rotateClockwise 3s linear infinite;
}
@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
