body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

h1 {
    color: #333;
}

.transform-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.transform-example {
    flex: 1 1 300px; 
    margin: 10px;
}

.box {
    width: 200px;
    height: 200px;
    background-color: rgb(245, 148, 164);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: transform 0.5s ease;
}

.rotateX:hover {
    transform: rotateX(45deg);
}

.rotateY:hover {
    transform: rotateY(45deg);
}

.translateZ:hover {
    transform: perspective(500px) translateZ(100px);
}