* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;}

header {
    text-align: center;
    padding: 40px;
    background: #418dda;
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.transform-section {
    background: white;
    margin: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.example-container {
    perspective: 1000px; 
}

.box {
    width: 100px;
    height: 100px;
    background-color: #3498db;
    margin: 20px;
    transition: transform 0.5s;
}

.rotate {
    transform: rotateY(45deg);
}

.translate {
    transform: translateZ(50px);
}

.scale {
    transform: scale(1.5);
}

.flip {
    transform: rotateY(180deg);
}

.origin{
    transform-origin: bottom right 60px;
}


footer {
   text-align: center;
    padding: 40px;
    background: #418dda;
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}
