* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2rem;
    color: #2c3e50;
}

.intro {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
}

.transformations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.transform-box {
    background-color: #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    width: 250px;
    text-align: center;
}

.box {
    width: 100px;
    height: 100px;
    background-color: #3498db;
    margin: 20px auto;
    transition: transform 1s;
}

.rotate3d:hover {
    transform: rotate3d(1, 1, 0, 45deg);
}

.translate3d:hover {
    transform: translate3d(100px, 100px, 100px);
}

.scale3d:hover {
    transform: scale3d(1.5, 1.5, 1.5);
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
}

footer p {
    margin-top: 10px;
}
