/* Applies to the entire body of the HTML document (except where overridden by more specific
selectors). */

body {
  margin: 25px;
  background-color: rgb(240,240,240);
  font-family: arial, sans-serif;
  font-size: 14px;
}

theorytopic{
  font-size: 1em;
}

.theorytopic a:link {
   text-decoration: none;  /* don't underline links */
   color:  #A6192E; }         /* text colour */   
.theorytopic a:visited {
   text-decoration: none;  /* don't underline links */
   color: #A6192E; }         /* text colour */

.Examples a:link {
   text-decoration: none;  /* don't underline links */
   color:  #A6192E; }         /* text colour */   
.Examples a:visited {
   text-decoration: none;  /* don't underline links */
   color: #A6192E; }         /* text colour */

ul.menu  {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #CC0633;
}


.menu li{
    float: left;
}

.menu li a{
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
}


/* Dropdown Button */
li a.dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change color of dropdown links on hover */
li a.menu:hover {
    background-color: #A6192E;
    color: white;
}

.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    text-align: center;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
  color: white;
  background-color: #A6192E;}

.dropdown:hover .dropdown-content {
    display: block;
}

        img {
           display:block;
            margin: auto;
            width: 500px;
            height: 500px;
}

footer{
  text-align: center;
  background: #CC0633;
  color:white;
  font-size: 1em;
  width: 100%;
  overflow: hidden;
}

footer a:link {
   text-decoration: none;  /* don't underline links */
   color: white; }         /* text colour */   
footer a:visited {
   text-decoration: none;  /* don't underline links */
   color: white; }         /* text colour */

/* Applies to all <h1>...</h1> elements. */
h1 {
  font-size: 50px;
  font-weight: normal;
  margin-top: 5px;
  margin-bottom: -2px;
  background-color: #CC0633;
  color: white;
}

.webtitle a:link {
   text-decoration: none;  /* don't underline links */
   color: white; }         /* text colour */   
.webtitle a:visited {
   text-decoration: none;  /* don't underline links */
   color: white; }         /* text colour */

/* Applies to all elements with <... class="someclass"> specified. */

/* Applies to the element with <... id="someid"> specified. */
#someid { color: green; }