/****************************
**  Style for all devices  **
****************************/

/*
General
*/

body {
    font-size: 17px;
    color: #9d9d9d;
    font-family: sans-serif;
    margin:0px;
background: linear-gradient(0deg, rgba(34,34,34,1) 0%, rgb(33 33 33) 100%);}

a {
    color: #f50;
    text-decoration: none;
    font-size: 20px;
    font-family: sans-serif;
	
}

b {
    font-size: 30px;
	color: #e2e2e2;
}
section {
  border-bottom: solid thin rgb(48 48 48);
 }

/*
Page header
*/

header {
  margin: -0.5 -0.5em 0 -0.5em;
  text-align: center;
 }

/*
Section headings
 */

h1, h2, h3, h4, h5, h6, h7 {
  font-family: serif;
  font-weight: normal;
 }

h1 {
  text-align: center;
 }

/*
Navigation
*/

nav a {
  text-decoration: none;
  color: #f2f2f2;
 }

nav a:hover {
  color: #e27705;
 }

nav h1 {
  font-family: serif;
  margin: 0 0 0.5em 0;
} 


/*
General content elements and styles
*/

ul, ol {
  color: #b91e27;
  font-weight: bold;
  font-family: serif;
  font-size: 1.2em;
 }

ul {
  list-style: square outside;
 }

ol span {
  color: black;
  font-weight: normal;
  font-family: sans-serif;
  font-size: 0.84em;
 }
 
ul span {
  color: black;
  font-weight: normal;
  font-family: sans-serif;
  font-size: 0.84em;
 }
 
blockquote {
  border-left: solid thick #b91e27;
 }
 
em {
  font-style: italic;
 }

strong {
  font-weight: bold;
  color: #b91e27;
 }

/* Nav to-top elements */

nav.to-top {
  display: block;
  padding: 2.5em 0.5em 0.5em 2.5em;
  margin: 0;
  width: auto;
  position: absolute;
  right: 2em;
  left: auto;
  border-style: none;
  background-color: transparent;
 }

nav.to-top a {
  margin: 0; border: 0;
  text-decoration: none;
  color: royalblue;
  font-size: 0.8em;
  font-weight: bold;
  font-family: sans-serif;
 }

nav.to-top a:hover {
  text-decoration: underline;
 }

 
/********************************************
**  Style for devices with small displays  **
********************************************/
@media (max-width: 46.9em){

/*
General
*/

section {
  margin: 0 -0.5em 1em -0.5em;
  padding: 0 0.5em 1em 0.5em;
 }

/*
Page header
*/

header h1 {
  padding: 0.5em 0 0 0;
  font-size: 1.0em;
 }

/*
Section headings
 */

h2, h3, h4, h5, h6, h7 {
  margin: 0.2em 0 0 1em;
  padding: 0.1em;
 }

h1 {
  font-size: 1.5em;

	color: #e2e2e2;
 font-weight: bold;}

h2 {
  font-size: 1.2em;
  color: #909090;
    text-decoration: none;
    font-size: 20px;
    font-family: sans-serif;
}

h3 {
 font-size: 1.13em;
 }
 
h4 {
  font-size: 1.07em;
 }


/*
Navigation
*/

/* Nav bar */

nav {
  margin: 1em 10% 1em 10%;
  padding: 1em 0 0 0;
  width: 22em;
  border: solid thin rgb(240,240,240);
 }

nav ul {
  margin: 0;
  list-style: square outside;
 }

nav a {
  font-family: serif;
 }

nav a:hover {
  font-weight: bold;
 }

}


/********************************************
**  Style for devices with large displays  **
********************************************/
@media (min-width: 47em) {


/*
General
*/

section {
  margin: 0 -0.5em -3em -0.5em;
  padding: 5em 8% 2em 8%;
 }


/*
Page header
*/
 
header {
  margin: 0 -0.5em 0 -0.5em;
 }
 
header h1 {
  padding: 0.5em 0 0 0;
  font-size: 2.3em;
 font-weight: bold;}


/*
Section headings
 */

h2, h3, h4, h5, h6, h7 {
  /*! margin: 0.8em 0 0 7%; */
  padding: 0.2em;
 }

h1 {
  font-size: 1.8em;
  text-align: center;
  margin: 0 0 22px 0;
 color: #e2e2e2;font-weight: bold;font-family: sans-serif;}

h2 {
  font-size: 22px;
font-family: sans-serif;color: #b3b3b3;}

h3 {
 font-size: 1.4em;
 }
 
h4 {
  font-size: 1.15em;
 }


/*
Other content elements
*/

blockquote {
  padding: 0 0 0 1.2em;
  margin: 0 6em 0 4em;
 }

ul, ol{
 padding: 0 6em 0 6em;
 }


/*
Navigation
*/

/* Nav bar */

nav {
  padding: 0 0 3.5em 0;
  margin: 0px 0 0 0;
 text-align: center;display: flex!important;
justify-content: space-around;
flex-basis: auto;}

nav h1 {
  display: none;
 }

nav ul {
    padding: 0;
    
    position: absolute;
    background: #393939;text-align: center;float: left;width: auto; /* set the width that's you want */
        margin: 0px 43px;;border-radius: 7px;box-shadow: 3px 3px 7px rgb(255 255 255 / 25%);/* border: solid thin rgb(240,240,240); */
    list-style: none outside;
 }

nav li {
  float: left;
  margin: 1em;
 }
 
nav li ul {
  display: none;
 }

nav a {
  font-size: 1.1em;
  font-weight: bold;
  font-family: sans-serif;
 color: #dfdfdf;}

}


/**************************
**  Style for printouts  **
**************************/
@media print {

nav.to-top {
  display: none;
 }

}