/* the styles for the elements */
* { padding: 0; margin: 0; }

html {
    background-color: white;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    width: 900px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    margin-left: auto;
    background-color: #F9FBE7;
}

.center {
    text-align: center;
}

a { 
    font-weight: bold; 
}

a:link { 
    color: #0000ff; 
}

a:visited { 
    color: #57126d; 
}

a:hover, a:focus { 
  text-shadow: 2px 2px 2px #800000;
}

li.icon a {
    text-shadow: 0px 0px 0px #800000;
}

li.icon a:hover {
    text-shadow: 2px 2px 2px #800000;
}

/* the styles for the header */
header {
    border-bottom: 3px solid #827717;
    padding-top: 1.5em;
    padding-bottom: 2em; 
    background: linear-gradient(30deg,  #DCD240 0%,  #DCD240 30%, white 50%,  #DCD240 80%,  #DCD240 100% );
} 

header img { 
    float: left; 
    padding-left: 1em;
    padding-right: 1em;
}

header h2 {
    font-size: 170%;
    color: #80000e;
}

header h3 {
    font-size: 130%;
    font-style: italic;
}

.shadow {
    text-shadow: 2px 2px 2px #800000; 
}

/* the styles for the navigation bar */
nav {
    clear: left;
    margin: 0;
    padding: 0;
}

nav ul {
    margin-left: 0;
    margin-bottom: .5em;
    list-style: none;
    padding: .5em 2em 0 0;
}

nav li {
    display: inline;
    font-weight: bold;
}


#nav_bar ul {
    list-style: none;  
    overflow: hidden;
    padding: .75em 0;  
    background-color: #827717;
}


#nav_bar a {
    padding: 1em 2em;
    text-decoration: none;
    color: #fffded;
}

#nav_bar a.current { 
    color: yellow; 
}

#nav_bar .dropbtn {
    text-decoration: none;
}

.dropdown-content a {
    background-color: #827717;
    text-decoration: none;
    display: block;
    text-align: left;
    padding: 1em 2em;
    text-decoration: none;
    color: #fffded;
}

#nav_bar .show {display:block;}
ul.nav li.icon {display: none;}

/* the styles for the section */
section {
    width: 525px;
    float: right;
    padding-bottom: 20px;
}


section ul{
    padding-right: 50px;
}

section li{
    padding-top: 5px;
}

section h1 { 
    font-size: 150%; 
    padding-top: .5em;
    padding-bottom: .5em;
    margin: 0;
}

section h2 { 
    font-size: 130%; 
    color: #80000e;
    padding-top: .5em;
    padding-bottom: .25em;
	text-align: justify
}

section h22 { 
    font-size: 130%; 
    color: #C814C8;
    padding-top: .5em;
    padding-bottom: .25em;
	text-align: justify
}

section h3 { 
    font-size: 130%; 
	text-align: justify
}
section h44 { 
	text-align: justify
	    font-size: 120%; 
    color: #C814C8
}

section h44 { 
    font-size: 110%; 
	text-align: justify;
    color: #C814C8;
}

section h6 { 
    font-size: 90%; 
	text-align: justify;
    color: #C814C8;
}
section p{
    padding-bottom: .5em;
}

section blockquote {
    padding-left: 2em;
    padding-right: 2em;  
    font-style: italic;
}

section ul {
    padding-bottom: .2em;
    padding-left: 1.25em;    
}

section li {
    padding-bottom: .35em;
}


/* the styles for the aside */
aside {
    width: 305px;
    padding-left: 20px; 
    padding-right: 20px;
}
aside img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #800000;
}
aside ul{
    padding-right: 50px;
}

aside li{
    padding-top: 5px;
}


aside h2 { 
    font-size: 130%; 
    color: #80000e;
    padding-top: .5em;
    padding-bottom: .25em;
}

aside h3 { 
    font-size: 105%; 
    padding-bottom: .25em;
} 

/* the styles for the article */
article {
    padding-top: .5em;
    padding-bottom: .5em;
    border-top: 3px solid #800000;
    border-bottom: 3px solid #800000;
    width: 90%;
}

article img {
    float: right;
    margin-top: 10px;
    margin-left: 10px;
    border: 1px solid black;
}

article h2 {
    padding-top: 0;
}

article h3 {
    font-size: 105%;
    padding-bottom: .25em;
}
article h7 {
    font-size: 80%;
}

/* the styles for the footer */
footer p {
    text-align: center;
    color: white;
    background-color: #DCD240;
    padding-top: 1em;
    padding-bottom: 1em;
}

footer {
    clear: both;
}
 
@media screen and (min-width:680px) {
 
    #nav_bar li { 
        float: left;
    }

    section {
        padding-right: 20px;
    }

    aside {
        float: right;
    }

    .dropdown-content {
        display: none;
        position: absolute;
    }
}
 
@media screen and (max-width:680px) {

    body {
        width: 100%; 
    }

    header {
        text-align: center;
    } 

    header img { 
        float: none; 
    }

    section {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    aside {
        width: auto;
    }

    .dropdown-content {
        display: none;
        padding-left: 30px;
    }

    ul.nav li {display: none;}
    ul.nav li.icon {
        float: right;
        display: inline-block;
    }
}

@media screen and (max-width:680px) {
    ul.nav.responsive {position: relative;}
    ul.nav.responsive li.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    ul.nav.responsive li {
        float: none;
        display: inline;
    }
    ul.nav.responsive li a {
        display: block;
        text-align: left;   
    }
    
     
}