/*

Name: Safaa Sabir
Course: ITWP 1050
Assignment: Homework 4

*/


/* Page Styling */
body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f8ff;
    margin: 20px;
    line-height: 1.6;
}


/* Header */
h1 {
    text-align: center;
}


h2 {
    text-align: left;
}

h3 {
    text-align: right;
}

/* Rotation Function */
.rotate {
    transform: rotate(5deg);
    width: 300px;
    margin: 10px;
}


/* Scale Function */
.scale {
    width: 300px;
    margin: 10px;
    transform: scale(1.1);
}


/* Skew Function */
.skew {
    width: 300px;
    margin: 10px;
    transform: skew(10deg, 5deg);
}


/* Paragraph Layout */
.text-content {
    display: flex;
    justify-content: space-between;
}



.column {
    width: 48%
}


.column h2,
.column h3 {
    text-align: center;
}

/* Each Pargarph trakes half width */
.text-content p {
    width: 100%;
}



/* Images Layout */
.images {
    justify-content: center;
    display: flex;
    gap: 500px;
}


/* Multiple Transforms */
.multi-transform {
    width: 200px;
    height: 100px;
    margin: 20px auto;
    background-color: lightblue;
    text-align: center;
    line-height: 100px;


    /* Multiple transforms applied */
    transform: rotate(10deg) scale(1.1) translateX(20px);
}


/* Transition Requirement */
.transition-box {
    background-color: blue;
    color: white;

    transition-property: background-color, transform;
    transition-duration: 0.5s;
    transition-delay: 0.2s;
}


/* Hover effect */
.transition-box:hover {
    background-color: red;
    transform: scale(1.2);
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
}
