/*Rachel Spelich, ITWP 1050, Homework 4, external stylesheet*/

/*Button class that changes to violet when hovered over*/

.button {
    background-color: #4162e9;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 15px;
}

.button:hover {
    background-color: blueviolet;
    transition: .5s ease;
    transition-duration: .5s;
    transition-delay: .5s;
}

/*Link formatting to remove underline and change color to white*/
.button a {
    text-decoration: none;
    color: white;
}

/*Header styling using the transform shorthand property*/
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(images/headerimages.png);
    background-size: contain;
    background-position: center;
    text-align: center;
    padding: 30px;
    height: 500px;
    font-size: 3em;
    line-height: 2em;
    letter-spacing: .1em;
    font-family: Montserrat, Arial, Helvetica, sans-serif, sans-serif;
    color: #4162e9;
    transform: perspective(400px) rotateX(15deg);
    margin: 50px;
}

/*body styling to include margins, and style text*/
body {
    margin: 50px;
    font-family: Montserrat, Arial, Helvetica, sans-serif, sans-serif;
    font-size: 1em;
    text-align: left;
    line-height: 20px;
}

/* Image styling to float left, scale and rotate */
img {
    border: 3px dotted #4162e9;
    border-radius: 10px;
    padding: 5px;
    margin: 50px;
    width: 20%;
    height: auto;
    float: left;
    clear: left;
    scale: calc(.5);
    rotate: calc(15deg);
}


/*footer styling to center and skew*/
.footer {
    margin-top: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    transform: skew(10deg);
}