* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    padding: 40px 20px;
    background-color: #f0f2f5;
    color: #333;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
}


h1 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 600;
}

h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 500;
}


.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}


.demo-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.instructions {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}


.transform-element {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


.translate-box {
    width: 100px;
    height: 100px;
    background-color: #dba14a;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.translate-box:hover {
    transform: translate(50px, 20px);
}


.rotate-box {
    width: 100px;
    height: 100px;
    background-color: #dba14a;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.rotate-box:active {
    transform: rotate(45deg);
}


.scale-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.scale-image:hover {
    transform: scale(1.2);
}


.skew-text {
    padding: 15px 25px;
    background-color: #dba14a;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.skew-text:hover {
    transform: skew(20deg);
}


.combo-box {
    width: 100px;
    height: 100px;
    background-color: #dba14a;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.combo-box:hover {
    transform: translate(30px, 30px) scale(1.2) rotate(45deg);
}

@media (max-width: 768px) {
    .demos-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }
}