* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: linear-gradient(180deg, #ffd6ec, #ffc1e3);
    min-height: 100vh;
    display: grid;
    grid-template-rows: 100px auto 80px;
    color: #5a0035;
}



header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff4da6;
    color: white;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}



.grid {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}



.card {
    background: white;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}



.box {
    width: 110px;
    height: 110px;
    background: #ff4da6;
    margin: 25px auto;
    transition: 0.5s;
}


.translate:hover {
    transform: translate(40px, 20px);
}

.rotate:hover {
    transform: rotate(45deg);
}

.scale:hover {
    transform: scale(1.5);
}

.skew:hover {
    transform: skew(20deg, 10deg);
}

.matrix:hover {
    transform: matrix(1, 0.3, 0.3, 1, 20, 10);
}



h2 {
    margin-bottom: 10px;
    color: #ff2a8c;
}

p {
    margin-bottom: 6px;
}



footer {
    display: flex;
    justify-content: center;
    align-items: center;

    background: #ff4da6;
    color: white;
    font-weight: 500;
}



@media(max-width:900px) {

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:600px) {

    .grid {
        grid-template-columns: 1fr;
    }

}