@charset "utf-8";

/* ---------------------------------
   Background for the browser window
   --------------------------------- */

html {
   background-image: url("images.jpg");
   background-repeat: no-repeat;
   background-position: center center;
   background-size: cover;
   background-attachment: fixed;
}


/* ---------------------------------
   Body styles
   --------------------------------- */

body {
   font-family: Verdana, Geneva, sans-serif;
   color: rgb(45, 55, 65);
   background-color: rgba(245, 248, 250, 0.95);

   width: 90%;

   margin-left: auto;
   margin-right: auto;

   margin-top: 0;
   margin-bottom: 0;
}


/* ---------------------------------
   Header styles
   --------------------------------- */

header {
   text-align: center;
   padding: 0;
}


/* Header image */

header img {
   width: 100%;
   display: block;
}


/* ---------------------------------
   Heading styles
   --------------------------------- */

h1,
h2 {
   text-shadow: 4px 6px 5px gray;
}

h2 {
   font-size: 1.3em;
}


/* ---------------------------------
   Navigation
   Assignment 3: 5-column layout
   using float
   --------------------------------- */

/*
nav {
   background-color: rgb(45, 75, 105);
   padding: 15px;
   text-align: center;
}
*/


/* Navigation unordered list */

nav ul {
   list-style: none;
   margin: 0;
   padding: 0;
}


/* Navigation list items */

nav li {
   display: block;
   width: 20%;
   float: left;
}


/* Navigation links */

nav a {
   display: block;
   background-color: rgb(35, 65, 100);
   color: white;

   line-height: 2.8em;

   text-decoration: none;
   text-align: center;
}


/* Navigation hover effect */

nav a:hover {
   background-color: rgb(70, 130, 180);
   color: rgb(255, 235, 150);
}


/* ---------------------------------
   Main section
   --------------------------------- */

main {
   padding: 20px;
   margin-top: 35px;
}


/* ---------------------------------
   Images that are children of main
   --------------------------------- */

main > img {
   width: 25%;
   padding: 25px;
   float: right;
}


/* ---------------------------------
   Footer
   --------------------------------- */

body > footer {
   clear: both;

   background-color: rgb(35, 65, 100);
   color: rgba(255, 255, 255, 0.9);

   font-weight: bold;
   font-size: 0.9em;
   line-height: 2em;

   text-align: center;

   margin-top: 10px;
   padding: 10px;
}


/* ---------------------------------
   Education list marker
   --------------------------------- */

ul {
   list-style-type: square;
}