/* 
Author: Shannon Mahan 
Date: 2-7-2025 
File Name: styles.css 
*/

/*CSS Reset */
html, body, header, nav, main, footer, div, img, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rule for html */
html {
    height: 100%;
}

/* Style rules for body */
body {
	background: linear-gradient(white, lightblue);
	height: 100%;
}

/* Style rules for images */
img {
    padding: 2em;
    height: auto;
    max-width: 70%;
    width: 450px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Style rule for header */
header {
    top: 0;
    background-color: white;
    height: 75px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #000;
    border-radius: 5px;
}

/* style rule for home page title. */
.test {
    font-size-adjust: .5;
}

/*Style rule for h1 headings */
h1 {
    font-family: "Francois One", serif;
    font-weight: 10;
    font-style: normal;
}

/* Style rule for h2 headings */
h2 {
    padding: 0 2em;
    font-family: "Francois One", serif;   
    font-weight: 400;
    font-style: normal;
}

/* Style Rule for h4 headings. */
h4 {
    font-family: "Francois One", serif;
    font-weight: 400;
    font-style: normal;
}

/* Style rule for navigaion area */
nav{
    padding: 1%;
    margin-bottom: 1%;
}

nav ul{
    color: white;
    list-style-type: none;
    text-align: center;
    border: 1px solid #000;
    border-radius: 5px;
}
/* Style rule for  navigation list */
nav li {
    display: inline-block;
    font-size: 1.0em;
    font-family: "Francois One", serif;
    font-weight: bold;
    padding: 0 2em;
    border-top: 1px solid #fff;
}

nav li:first-child {
    border-top: none;
}

/*Style rules for navigation list anchor content */
nav li a {
    text-decoration: none;
}

/* Style rule for main content */
main {
    clear: left;
    font-family: "Roboto Slab", serif;
}

/*Style rules for main list content */
main li {
    padding: 1em;
    list-style: none; 
    font-family: "Roboto Slab", serif;
}

/*Style rules for main unordered list content */
main ul {
    padding: 0 2em;
}

main dl{
    padding: 0 3em;
    font-family: "Roboto Slab", serif;
}

/*Style rule for div paragraph */
div p {
    padding: 0 3em;
    font-family: "Roboto Slab", serif;
}


/* Style rules for footer content */
footer p {
    font-size: 0.75em;
    text-align: center;
    color: black;
    padding: 0 1em;
}

/*Style rules for footer anchor content */
footer a{
    color: black;
    text-decoration: none;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	/*Tablet Viewport: Show tablet-desktop class, hide mobile class */
	.tablet-desktop {
		display: block;
	}

	.mobile {
		display: none;
	}
	
	/*Tablet Viewport: Style rule for header */
	header {
		position: static;
		padding-bottom: 2%;
	}
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
	/* Desktop Viewport: Show tablet-desktop class, hide mobile class */
	.tablet-desktop {
		display: block;
	}
	
	.mobile {
		display: none;
	}
	
    /*Make the header stick to the top of the page while on a desktop. */
	header {
	    position: -webkit-sticky;
        position: sticky;
	}
	
	/*Add 2 columns to unordered lists on a desktop.*/
	main ul{
	    column-count: 2;
	    column-rule: 1px solid black;
	}
	
    nav ul a:link {
        color: black
    }
    
    nav ul a:hover {
        color: white;
        background-color: black;
    }
}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1440px) {
    /* Desktop Viewport: Show tablet-desktop class, hide mobile class */
	.tablet-desktop {
		display: block;
	}
	
	.mobile {
		display: none;
	}
	
	/*Make the header stick to the top of the page while on a desktop. */
	header {
	    position: -webkit-sticky;
        position: sticky;
	}
	
	/*Add 3 columns to unordered lists on a desktop.*/
	main ul{
	    column-count: 3;
	    column-rule: 1px solid black;
	}
	
    nav ul a:link {
        color: black;
    }
    
    nav ul a:hover {
        color: white;
        background-color: black;
    }
}

/* Media Query for Printing */
@media print {
    .tablet-desktop {
        display:block;
    }
    
    .mobile{
        display:none;
    }
	/* Printing: Change everything to be basic black and white for readability after printing. */
	body {
		color: black;
		background: white;
		font-size: 12pt;
    }
	
	.no-print {
		display: none;
	}
}

