/*

   CyberHack website forum
   Author: Layan Jeremiah
   Date:   4/25/16

   Filename:         cyberhack_styles.css
   Supporting Files: 

*/

/* Styles for the Page Body */

body {
    background: white;
    position: relative;
    width: 100%;
    min-width: 1000px;
    max-width: 1400px;
}

  
  
article, figure, figcaption, hgroup, header, 
section, nav {
   display: inline-block;
}


/* Set the default page element styles */

article {
        font-size: 21px;
}

nav {
   float: left;
   margin-center: 800px;
   width: 1500px;
}

nav ul {
   list-style-type: none; 
   padding: 10px; 
   margin: 10px; 
   font-size: 1em;

}

nav ul li {
display: inline-block;
width: 180px;
background-color: rgb(30, 144, 255);
color: white;
border: 5px;
text-indent: 10px;
margin-bottom: 2px;
line-height: 3.0em;
text-align: center;

}

nav a {
   text-decoration: none;
   color: rgb(248, 248, 255);
   font-size: 16px;
}

nav a:active {
   text-decoration: none;
   font-size: 16px;
   color: black;
   background-color: rgb(211, 211, 211);
}

nav a:hover {
   text-decoration: overline underline;
}

header {
   float: center;
   border-bottom: 2px solid rgb(0,0,0);
   width: 100%;
}

section {
   float: left;
   width: 800px;
}

h1 {
   text-align: center;
   letter-spacing: 4px;
}



h2 {
   font-size: 24px;
   font-style: italic;
   letter-spacing: 2px;
   margin: 10px 8px 15px 8px;
}

 p {
   margin: 20px 20px;
}

p::first-letter { 
    font-size: 200%;
}

section figure {
   float: right;
   text-align: center;
   width: 350px;
   margin: 20px 290px 10px 10px;
}

section figure figcaption {
   text-align: center;
   font-size: 0.9em;
   font-style: italic;
   font-weight: bold;
   letter-spacing: 2px;
   margin: 0px 0px 0px 120px;
}

aside figure figcaption {
   text-align: left;
   font-size: 1.5em;
   font-style: none;
   font-weight: normal;
   letter-spacing: 2px;
   margin: 400px 0px 0px 30px;
}

}
table {
   font-size: 20px;
   text-align: left;
   margin: 25px 50px 0px 70px;
   float: left;
   border-spacing: 25px;

}

table, th, td {
   border: 3px solid black;
   border-collapse: collapse;
  padding: 5px;
}

footer {
    text-align: center;
    font-weight: bold;
    display: block;
    background-color: white;
    color: black;
    width: 100%;
    margin:0;
    bottom: 0px;
}

form {
    text-align: left;
    border-spacing: 25px;
    font-size: 20px;
    padding: 50px;
}