/* reset css values
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {box-sizing: border-box;}

body {
    background-color: #3F0D0C;
}

@font-face{ 
	font-family: 'el-messiri';
	src: url('../fonts/el-messiri-v16-latin-regular.eot');
	src: url('../fonts/el-messiri-v16-latin-regular.eot?iefix') format('embedded-opentype'),
	     url('../fonts/el-messiri-v16-latin-regular.woff') format('woff'),
	     url('../fonts/el-messiri-v16-latin-regular.ttf') format('truetype'),
	     url('../fonts/el-messiri-v16-latin-regular.svg#el-messiri-v16-latin-regular') format('svg');
}

.heading img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

nav {
    width: 100%;
    background-color: #3F0D0C;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: auto;
    font-variant: small-caps;
}

nav a {
    float: left;
    padding: 12px;
    color: #D9B061;
    text-decoration: none;
    font-size: 17px;
    width: 20%; /* Four links of equal widths */
    text-align: center;
}

nav .active {
    background-color: #D9B061;
    color: #3F0D0C;
}

nav .dropdown {
    float: left;
    overflow: hidden;
    width: 20%;
    text-align: center;
}

.dropdown .dropbtn {
    font-size: inherit;
    border: none;
    color: #D9B061;
    outline: none;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    width: 20%;
}

/* Add a brown background color to navbar links on hover */
nav a:hover, .dropdown:hover .dropbtn {
    background-color: #8d6f57;
    width: 50%;
}

/* Dropdown content (hidden by default) */
nav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #3F0D0C;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
nav .dropdown-content a {
  float: none;
  color: #D9B061;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
nav .dropdown-content a:hover {
    background-color: #8d6f57;
    min-width: 160px;
}

/* Show the dropdown menu on hover */
nav .dropdown:hover .dropdown-content {
  display: block;
}

.content {
    margin: 10px;
    padding: 10px;
}

.content p {
    color: #D9B061;
    line-height: 1.5;
    font-size: 1.5em;
}

footer {
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    color: #D9B061;
}

@media screen and (max-width: 500px) {
    .navbar a {
        float: none;
        display: block;
        width: 100%;
        text-align: left;
    }
}