/* CSS file for use with homework 7 */
/* ITWP-2750 */


/* This uses the web font Roboto for the all of the body text within the web page */
body {
    font-family: 'BodyFont', sans-serif;
}

/* If you wish to add any Google or Web fonts, you can use the @font-face property to do so.
	Here is a good reference for including web fonts in your web page: https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
	
	I left my code in as an example. Note the font family name and how it's used.
*/

/* Downloaded Fonts from the Web */
@font-face {
    font-family: "CustomFont";
    src: url("fonts/Rubik-Medium.ttf");
}
@font-face {
    font-family: "BodyFont";
    src: url("fonts/Roboto-VariableFont_wdth\,wght.ttf");
}


/* The heading tags uses the LuckiestGuy-Regular.ttf font */
h1 {
    text-align: center;
    font-family: 'CustomFont';
}

h2 {
    font-family: 'CustomFont';
}

/* Set the paragraph tag page margin */
p {
    margin: 1em;
}

/* This code makes the images responsive */

.responsive {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: auto;
    
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    ;
}
/* Sets the maximum width of the unordered list and centers it */
ul {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 0 20px;
}


/* Formats the list of sources */
.sources {
    font-size: 11px;
    font-weight: bold;
}

/* ID that centers the validation text */
#validation {
    text-align: center;
}

/* Centers all paragraph text */
p {
    text-align: center;
}

/* Formats the date that resides in the footer */
#date {
    font-style: italic;
    font-size: 10px;
    text-align: center;
}
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
}