@charset "UTF-8";

body {
    padding: 0px; /* This removes any default padding the browser may apply to the body tag */
    margin: 0px; /* This removes any default margin the browser may apply to the body tag */
    text-align: center; /* This will make sure all text and objects that behave like text center in the browser */
    background-color: rgba(243,243,244,1.00); /* This is my background color in case my gradient fails */
    background-image: url(../images/pexels-photo-1193743.jpeg); /* This is our background image animated animated GIF. Look at those lil' fishies swim */
    background-repeat: no-repeat; /* This makes sure only one background image will appear */
    background-attachment: fixed; /* This makes sure the image will appear where you want it to */
    background-position: center center; /* This makes the background image appear in the exact center of the browser window */
    background-size: cover; /* This makes the background image fill the entirety of the tag containing it. In this case, the <body> tag */	/* Look at all this gradient code crap. Aren't you glad Michael didn't make you hand code this? */	/* -- Yes, I have hidden our beautiful background gradient. background-image is needed by a duck --
	
	background-image: -webkit-linear-gradient(34deg,rgba(255,252,0,1.00) 0%,rgba(246,157,251,1.00) 41.89%,rgba(0,74,255,1.00) 82.66%);
	background-image: -moz-linear-gradient(34deg,rgba(255,252,0,1.00) 0%,rgba(246,157,251,1.00) 41.89%,rgba(0,74,255,1.00) 82.66%);
	background-image: -o-linear-gradient(34deg,rgba(255,252,0,1.00) 0%,rgba(246,157,251,1.00) 41.89%,rgba(0,74,255,1.00) 82.66%);
	background-image: linear-gradient(56deg,rgba(255,252,0,1.00) 0%,rgba(246,157,251,1.00) 41.89%,rgba(0,74,255,1.00) 82.66%);
	
	*/
}

header {
    height: 200px; /* This determines the height of our <header> (deafault is 0) */
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px; /* Each number represents an edge of our header; the first number is the top margin (30 px), the second number is the right margin (auto), the third number is the bottom margin (0 px), the fourth number is the left margin (auto). The "auto auto" margins for the left and right center the box in our browser window */
    /* I commented out the background color so we could have a gradient in out background */
	
	/* background-color: rgba(0,24,146,0.75); */ /* Note the 0.75 in the "a" channel. This means that our <header> has an opacity of 75% */
	
    border-radius: 0px; /* This rounds the corners and gives our header an elegant look. Maybe. */
    border: 1px solid rgba(239,239,237,1.00); /* This is a 2px white, solid line border around our header */
    -webkit-box-shadow: 0px 0px 0px 0px;
    box-shadow: 0px 0px 0px 0px; /* This sexy gradient gradiates from a 100% opacity version of the class selected teal to a 0% version of the same teal. It creates a neat effect, if I do say so myself. */
    /* [disabled]background-color: #1F1C43; */
    background-image: -webkit-linear-gradient(270deg,rgba(8,5,42,1.00) 0%,rgba(8,5,42,0.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(8,5,42,1.00) 0%,rgba(8,5,42,0.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(8,5,42,1.00) 0%,rgba(8,5,42,0.00) 100%);
    background-image: linear-gradient(180deg,rgba(8,5,42,1.00) 0%,rgba(8,5,42,0.00) 100%);
}


nav {
    position: relative; /* Added so that we could add a z-index property and have it stick */
    z-index: 10000; /* This makes sure our dropdown menu appears over the top of our other content */
    width: 40%;
    height: 125px;
    margin: 20px auto 0px auto;
    background-color: rgba(8,5,42,1.00);
    border: 2px solid rgba(239,239,237,1.00);
    border-radius: 300px;
    white-space: nowrap;
}


nav ul /* This selector controls our navigation unordered list. The compound selector is looking for instaces of <ul> tags inside of <nav> tags */ {
	margin: 0px; /* This cleans off the default margin of the <ul> tags */
	padding: 0px; /* This cleans off the default padding of the <ul> tags */
	list-style-type: none; /* This removes the bullets from our bulleted list */
	display: flex; /* This takes our vertical stack of list items and rotates them so they "stack" horizontally. The top item is the leftmost item in our button list. You can change this with a flex-direction property */
	justify-content: center; /* This centers our group of buttons */
}

nav ul li /* This selector controls the button containers in our navigation bar. The compound selector is looking for instances of <li> tags inside of <ul> tags that are in turn inside of <nav> tags */ {
    display: block; /* This allows us to apply block level styling (margin, padding, etc.) */
    height: 125px;
    background-color: #030303; /* This shows us our button containers so we can make sure our CSS rule is working */
    border-left: 2px solid white; /* A nice left border to divide our buttons from one another */
    position: relative;
}


nav ul li:last-child /* This pseudo-class selector selects the last object in your HTML file that meets the criteria of the selector. In this case it's looking for the last list item inside an unordered list inside a <nav> tag. */ {
	border-right: 2px solid white; /* This adds a nice right border on our last button container to cap our navigation */
}


nav ul li a /* This selector controls the buttons in our navigation bar. The compound selector is looking for instances of <a> tags that are inside of <li> tags which are inside of <ul> tags that are themselves inside of <nav> tags */ {
    display: block;
    height: 125px; /* Our buttons are the same height as the nav containing them */
    padding: 0px 35px; /* This padding property adds 35px of padding to the left and right of the word inside the button. That lets the word determine the width of the button */
    background-color: #08052A; /* Our buttons are PINK. P I N K, I tell you! */
    color: white; /* White text in our buttons */
    font-weight: bold; /* Bold text in our buttons */
    text-decoration: none; /* No link underline */
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif"; /* A nice font for buttons */
    font-size: 1.5em; /* A nice text size for our button links */
    line-height: 125px; /* Vertically center our type in our buttons */
}

nav ul li a:hover /* This pseudo-class selector changes the button whenever it is rolled over by a mouse */ {
    background-color: #87DBFF;
    background-image: url("../images/duckys-evil-twin.jpg"); /* THE DUCK SEES THROUGH YOUR LIES. H E  S E E S ! */
}

nav ul li ul /* This is the style to control the list for our dropdown menus */ {
    display: none;   /* This hides the menu from prying eyes */
    position: absolute; /* This keeps the menu's width from strteching the button */
    flex-direction: column; /* This makes sure our buttons stack vertically */
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    left: -2px;
    /* margin-left: -115px; This "centers" our menu */
}

nav ul li:hover > ul /* This selector means that when an <li> tag containg a <ul> tag is rolled over, then these properties are applied to that <ul> tag */ {
    display: block; /* This makes our hidden menu visible when it's container <li> is rolled over */
}

nav ul li ul li /* This styles our button containers on our dropdown menu */ {
    height: 65px;
    border-top: 2px solid white;
    border-left: none;
    border-right: none;
    border-bottom: none;
    position: relative;
}

nav ul li ul li:last-child /* This stripps off the last-child border we applied to the main menu */ {
    border-right: none;
}

nav ul li ul li a /* This styles the buttons in a dopdown menu */ {
    height: 65px;
    line-height: 65px;
    background-color: mediumseagreen;
}

nav ul li ul li:nth-child(3) a /* This one selects <a> tags that are in the third <li> tag in our dropdown menu */ {
    background-color: lime; /* YOU ASKED FOR IT! */
}

nav ul li ul li ul {
    display: none;
    top: -2px;
    left: 100%;
}

nav ul li ul li:hover ul {
    display: block;
}

nav ul li ul li ul li a {
    background-color: brown;
}


main {
    width: 75%;
    padding: 30px;
    margin: 41px auto 0px auto;
    border: 10px double rgba(8,5,42,1.00);
    border-radius: 17px;
    background-image: -webkit-linear-gradient(270deg,rgba(183,139,40,1.00) 0%,rgba(194,189,152,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(183,139,40,1.00) 0%,rgba(194,189,152,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(183,139,40,1.00) 0%,rgba(194,189,152,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(183,139,40,1.00) 0%,rgba(194,189,152,1.00) 100%);
}


h1 {
    color: rgba(249,247,250,1.00);
    font-size: 50.93px;
    line-height: 1.15em;
    font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
}

h2 {
	color: rgba(255,86,188,1.00);
	font-size: 4em;
	letter-spacing: 1em;
	text-shadow: 0px 0px 5px rgba(0,151,128,1.00);
	word-wrap: break-word;
}


p {
	color: rgba(255,255,255,1.00);
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	line-height: 1.35em;
	text-align: justify;
}


.button /* This class style controls our big standalone button */ {
    display: block; /* This allows us to apply block level styling (margin, padding, etc.) */
    background-color: rgba(8,5,42,1.00); /* This is what I get for listening to you people */
    width: 55%;
    margin: 20px auto;
    padding: 40px; /* Keeps out button THICC around our link type */
    border: 2px solid rgba(8,5,42,1.00);
    border-radius: 25px;
    color: rgba(255,255,255,1.00); /* White link type */
    text-decoration: none; /* No link underline beneath our type */
    font-weight: bold; /* Bold link type */
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif"; /* Pretty link type */
    font-size: 1.75em; /* Big link type */
}


.button:hover /* This pseudo-class selector controls what happens to our big standalone button when it gets rolled over by a mouse*/ {
    background-color: rgba(183,139,40,1.00); /* The V O I D */
    background-image: none; /* NO SHIFTING COLORS */
}


.flexbox-playpen {
    display: flex; /* This enables us to set whether we want any objects inside this container to display in a vertical stack or a hoizontal stack */
    flex-direction: row; /* This property indicates we want our objects inside to display in a row in the order that they appear in the HTML stack */
    flex-wrap: wrap; /* This makes the items inside our container wrap so that as our items approach the edge of the container, they snap doen to the next line */
    justify-content: center; /* This horizontally aligns our boxes in the center */
    align-items: center; /* This vertically aligns our boxes in the center */
	background-color: rebeccapurple;
	padding: 30px;
	border: 2px solid rgba(255,201,0,1.00);
    border-radius: 13px;
	-webkit-box-shadow: inset 5px 5px 10px 3px rgba(20,0,52,1.00);
	box-shadow: inset 5px 5px 10px 3px rgba(20,0,52,1.00); /* look at that beautiful inset drop shadow. What depth! */
    margin: 50px 0px;
}

.flexbox-playpen div /* A general style for all our flexbox divs */ {
    background-color: bisque; /* B I S Q U E */
    height: 150px;
    width: 150px;
    margin: 20px;
    text-align: center;
    line-height: 150px;
    font-size: 3em;
}

.flexbox-playpen div:nth-child(3) /* This selects the third of our <div> tags */ {
    background-color: tomato; /* To-may-to? To-mah-to? */
    flex-basis: 600px; /* This property overrides the width specified above and widens our big, stretchy, tomato boi out to 600px wide. */
}

.position-playpen {
    height: 175px;
    width: 80%;
    min-width: 600px;
    position: relative; /* This makes sure our absolutely positioned objects within stay within this container (good luck) */
	background-color: cadetblue;
	padding: 30px;
	border: 2px solid rgba(0,255,171,1.00);
	border-radius: 13px;
	-webkit-box-shadow: inset 5px 5px 10px 3px rgba(0,36,52,1.00);
	box-shadow: inset 5px 5px 10px 3px rgba(0,36,52,1.00);
	margin: 50px 0px;
}

.position-playpen div /* Here are some base styles for our <div> tags */ {
    background-color: darksalmon;
    height: 150px;
    width: 150px;
    text-align: center;
    line-height: 150px;
    font-size: 3em;
}

.position-playpen div:nth-child(1) /* This one styles the first <div> */ {
    background-color: khaki;
    position: absolute; /* This enables us to absolutely control the position of this <div> tag within the container */
    right: 10%; /* Each edge is represented by it's own property. The numbers indicate proximity to that property */
    bottom: -3%; /* This one's sticking out the bottom. Lol! */
}


.position-playpen div:nth-child(2) /* This one styles the second <div> */  {
    background-color: slategrey;
    color: white;
    position: fixed /* This enables us to absolutely control the position of this <div> tag within the browser window */;
    left: 25px;
    top: 20px;
}

.position-playpen div:nth-child(3) /* This one styles the third <div> */ {
    background-color: deeppink;
    position: absolute;
    z-index: 5; /* This controls z-axis placement (i.e. how close they are to the viewer) */
    left: -20px;
}

.position-playpen div:nth-child(4) /* This one styles the fourth <div> */  {
    background-color: yellow;
    position: absolute;
    left: 71px;
    top: 42px;
    z-index: 6; /* FOUR ontop of THREE! Madness! Madness, I tell you! */
}


.some-columns /* Add three columns to any text with just the simple addition of this class selector */ {
    column-count: 2; /* How many columns you want */
    column-gap: 50px; /* How much space between columns */
    column-rule: 2px dotted rgba(129,103,0,0.75); /* What does the pretentious line between your columns look like? */
}


.someword {
	color: rgba(6,255,0,1.00);
	line-height: 2.45em;
	text-align: right;
}


footer {
    width: 85%;
    height: 200px;
    /* Why are these separated instead of being individual values on a margin: property? Because Dreamweaver writes them separately */
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-size: cover;
    border: 10px double rgba(8,5,42,1.00);
    border-bottom-right-radius: 0px;
}
