* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #2b2d42;
    color: #2b2d42;
    font-size: large;
}

h1 {
    text-align: center;
    margin-top: 20px;
    color: #ef233c;
}

h2 {
    margin-top: 20px;
    color: #8d99ae;
}

.box {
    border: #2b2d42 10px solid;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #8d99ae;
    min-height: 100vh;
}

.box div {
    width: 200px;
    height: 100px;
    margin: 15px;
    background-color: #d90429;
    text-align: center;
    line-height: 100px;
    font-size: 18px;
    color: white;
    border-radius: 5px;
}

@keyframes keyframeExample {
    0% { background-color: #8d99ae; transform: translateX(0); }
    50% { background-color: #ef233c; transform: translateX(150px); }
    100% { background-color: #8d99ae; transform: translateX(0); }
}

.key {
    animation: keyframeExample 2s infinite;
}

@keyframes nameExample {
    0% { transform: scale(1); }
    100% { transform: scale(1.5); }
}

.name {
    animation: nameExample 2s infinite;
}

@keyframes durExample {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.dur {
    animation: durExample 3s ease-in-out forwards;
}

@keyframes delayExample {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.delay {
    animation: delayExample 3s ease-in-out 2s infinite;
}

@keyframes countExample {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.count {
    animation: countExample 1s ease-in-out 3;
}

@keyframes dirExample {
    0% { transform: translateX(0); }
    100% { transform: translateX(200px); }
}

.dir {
    animation: dirExample 3s infinite alternate;
}

@keyframes funExample {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.fun {
    animation: funExample 2s infinite ease-in-out;
}

@keyframes fillExample {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fill {
    animation: fillExample 4s forwards;
}

