* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.main-container {
    width: 90%;
    max-width: 900px;
    border: 2px solid #3b82f6;
    padding: 20px;
}

.banner {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    animation: changeBgColor 4s infinite alternate ease-in-out;
}

.banner-text {
    font-weight: bold;
    color: #000;
    animation: zoomText 4s infinite alternate ease-in-out;
}

@keyframes changeBgColor {
    0% { background-color: #ff0040; }
    100% { background-color: #f000ff; }
}

@keyframes zoomText {
    0% { transform: scale(0.8); }
    100% { transform: scale(1.6); }
}

.box-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.number {
    font-size: 28px;
    color: #ffff00;
    font-weight: bold;
    z-index: 2;
}

.box-1 {
    border: 4px solid #ff0000;
    background-size: cover;
    background-position: center;
    animation: changeImage 4s infinite alternate steps(1);
}

@keyframes changeImage {
    0% {
        background-image: url('../images/1.jpg');
    }
    20% {
        background-image: url('../images/2.jpg');
    }
    40% {
        background-image: url('../images/3.jpg');
    }
    60% {
        background-image: url('../images/4.jpg');
    }
    80% {
        background-image: url('../images/5.jpg');
    }
    100% {
        background-image: url('../images/6.jpg');
    }
}

.box-2 {
    background-color: #00ffff;
    border: 4px dashed #0000ff;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.box-3 {
    background-color: #00ffff;
    border: 4px dotted #ff00ff;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.box-4 {
    background-color: #008080;
    border: 2px solid #9acd32;
    animation: rotateClockwise 6s linear infinite;
}

.rotate-text {
    color: #ffff00;
    font-size: 20px;
    font-weight: bold;
    transform: rotate(180deg); 
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}