@charset "UTF-8";
/* CSS Document used for homework 3 (styling a given topic part 2, I chose "I Wandered Lonely as a Cloud" by William Wordsworth)
Author: Melissa Daoud
Date created: 11/11/2023
Course: ITWP 1050
File: styles.css
*/


/* Font type: Agbalumo
Source: https://fonts.google.com/specimen/Agbalumo*/
@font-face {
    font-family: 'Title Font';
    src: url("../fonts/Agbalumo/Agbalumo-Regular.ttf");
}

/* Body tag: Declare font family and line height, center align text, add background image */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5rem;
    text-align: center;
    background-image: url("../images/flowers_clipped.jpg");
    background-position: center;
    background-size: cover; 
}

/* h1 tag: Use custom font, change font size to better suit page, customize the text */
h1 {
    font-family: 'Title Font', Arial, sans-serif;
    font-size: 40px;
    text-shadow: 3px 3px 0px #bd8191;
    letter-spacing: 2px;
    font-variant: small-caps;
    white-space: nowrap;
}

/* Move the header section down to account from the background image */
header {
    padding-top: 120px;
}

/* Universal selector; set the color of all elements to dark green */
* {
    color: darkgreen;
}

/* Give the image within the img tag a 1 pixel, solid black border with rounded edges */
img {
    border: 1px solid #000000;
    border-radius: 10px;
}

/* Add a top and bottom margin of 50 pixels */
footer {
    margin-top: 50px;
    margin-bottom: 50px;
}


/* Classes */

/* Place the word (external) after a link and made it blueviolet colored */
.external-link::after {
    content: ' (external)';
    color: blueviolet;
}

/* Create a container for the daffodils and wordsworth images*/
.img_container {
    width: 70%;
    margin: auto;
    padding-top: 2px;
    padding-bottom: 2px;
    border: 5px solid black;
    border-radius: 2rem;
}

/* Handle the color gradient for the image container (for daffodils and wordsworth images) */
.gradient_container {
    background-image: linear-gradient(
        45deg,
        #000000,
        #881c39,
        #a34f65,
        #bd8191,
        #d7b3bd,
        #bd8191,
        #a34f65,
        #881c39,
        #000000
    );
}