/*
    Author: Philip Howard
    Date:   2026-04-09
    Course: ITWP 1050

    Stylesheet for Homework 3

    Note: assignment required items are marked 'assigned' at col 60
*/


/*Default font color*/
* {
    color: black;
}

/*Body style*/
body {
    margin: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    text-align: center;
    background-color: bisque;
}

/*Paragraph style*/
p{
    line-height: 120%;
    max-width: 50%;
    text-align: left;
    margin-left: 25%;
    text-indent: 50px;
    background-color: lightgrey;
    padding: .5%;
}


/*Heading 1 style*/
h1{
    /*format border*/
    border: 5px solid #000000;
    background-clip: border-box;
    /*Set size and position*/
    width: 30rem;
    height: 10rem;
    margin: auto;
    /*Set text*/
    align-content: center;
    font-size: 4em;
    text-shadow: .05em .05em 0 black;
    letter-spacing: .10em;
    font-variant: small-caps;
    white-space: nowrap;
    /*Background*/
    background-color: lightslategray;
}


/*Footer style*/
footer {
    margin-top: 25px;
    margin-bottom: 50px;
}
footer::before{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000000;
    margin-bottom: 25px;

}
/*Footer paragraph style*/
footer > p {
    text-align: center;
    margin: auto;
}


/*Format source link*/
p.source{
    text-align: center;
    margin: auto;
    margin-top: 50px;
}
a.source::after {
    content: " (external)";
    color: red;
}

/*********************************Assigned*********************************/
/*rotate tranformation*/
.rotate {
    transform: rotate(10deg);
}
/*scale transformation*/
.scale {
    transform: scale(1.4, .8);
}
/*skew transformation*/
.skew {
    transform: skewX(15deg);
}
/*multiple transformations*/
.multi {
    transform: perspective(25em) scaleZ(3) rotate3d(1,.2,.2,25deg) skewX(10deg);
}
/*transitioning image frame*/
.fancy {
    padding: 1em;
    background-color: lightgray;
    box-shadow: 2px 2px 8px;
    transition-property: background-color;
    transition-duration: 800ms;
    transition-delay: 100ms;
}
.fancy:hover {
    background-color: blueviolet;
}