/* 
Course: ITWP 1050
Assignment: Homework 3
*/


/* Global Styling */

* {
    box-sizing: border-box;
}

/* This selector styles the entire body of the webpage + Background Image & Gradient */
body {
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    text-align: center;
    line-height: 1.8;
    background: linear-gradient(to bottom, #f4f4f4, #dcdcdc);
}

/* Web Font */
/* This loads a custom web font for the page heading */
@font-face {
    font-family: 'RavenFont';
    src: url('fonts/Roboto-Regular.ttf');

}


/* This selector styles the main heading */
h1 {
    margin-bottom: 20px;
    font-family: 'RavenFont', Arial, sans-serif;
    font-size: xxx-large;
    text-shadow: 2px 2px 5px orange;
    letter-spacing: 5px;
    font-variant: small-caps;
    white-space: nowrap;

}

/* This section styles the image container with a gradient background */

.image-section {
    background: linear-gradient(to right, #8e0e6f, #f27121);
    padding: 30px;
    margin: 30px auto;
    width: 80%;
    border-radius: 10px;
    justify-content: center;
}

/* This styles all images on the page */
img {
    width: 200px;
    margin: 10px;
    border-radius: 10px;
    border: 4px solid white;
}

/* Second Image Styling */
.second-image {
    border: 4px solid black;
}

/* This selector improves paragraph readability and spacing */
p {
    max-width: 700px;
    margin: 0 auto 20px auto;
    white-space: pre-line;
    text-indent: 20px;
    text-align: justify;
}


/* Fix footer so it does not copy the poem formatting */
footer p {
    white-space: normal;
}

/* This selector styles the footer spacing */
footer {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Keep footer links on one line */
footer a {
    display: inline;
    margin: 0;
}


/* Keep source link on one line */
.source-link {
    white-space: nowrap;
}

/* This pseudo-element adds "(external)" after the source link */
.source-link a::after {
    content: " (external)";
    color: red;
}

