/*

Student: Rhys Lewis
Version: 1.0

*/


body {
  margin: 0;
  font-family: courier;
  display: flex;
  flex-direction: column;
}

nav {
  display: inline-block;
  position: fixed;
  top: 0;
  height: 3%;
  width: 7.5%;
  min-width: 160px;
  left: 45%;
  font-size: 1em;
  font-family: courier;
  background-color: transparent;
  z-index: 1;
}

.dropbtn {
  font-family: courier;
  font-weight: bold;
  background-color: white;
  color: black;
  font-size: 20px;
  border: none;
  height: 100%;
  width: 100%;
  right: 0;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  width: 100%;
  top: 0;
  white-space: nowrap;
  z-index: 1;
  align-items: left;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding-bottom: 10px;
}

.dropdown-content a  {
  color: black;
  text-decoration: none;
  display: block;
  width: inherit;
  text-align: left;
  font-size: 20px;
  border: 0;
  padding: 3%;
}

.dropdown-content a:hover {color: #FE5722;}

header {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  background-image: url("../images/index_header.jpeg");
  background-size: fill;
  background-repeat: no-repeat;
  background-size: 145%;
  background-position: 60%;
  color: black;
  top: 0;
  background-color: black;
  display: table;
}

.spanContainer {
  text-align: left;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

span {
  display: inline-block;
  background-color: white;
  color: #FE5722;
  font-size: 7em;
  padding: 0;
  margin: 0;
}


main {
  width: 100%;
  left: 0;
  height: 60%;
  top: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  background-color: f5f5f5;
}


article {
  width: 100%;
  display: flex;
  flex-direction: row;

} .heading {
  background-color: #FE5722;
  display: flex;
  flex-direction: row;
  padding-top: 2.5%;
  padding-bottom: 2.5%;
}

.threats {
  background-color: #f5f5f5;
  text-align: center;
  padding-bottom: 2%;
}

.half {
  color: white;
  width: 50%;
  padding-left: 2.5%;
  padding-right: 2.5%;
  display: inline;
}

.topicHeader {
  background-color: white;
  margin-top: 2.5%;
  margin-left: 2.5%;
  border: none;
  color: black;
  font-family: courier;
  font-size: 2em;
  max-width: 30%;
  overflow: visible;
}

.topicDescription {
  background-color: #f5f5f5;
  font-size: 1.5em;
  padding-top: 2.5%;
  display: table-cell;

}

.centre {
  text-align: center;
}

.topicLinks {
  color: black;
}

.topicLinks:hover {color: #FE5722;}

footer {
  width: 100%;
  height: 4%;
  left: 0;
  background-color: black;
  color: white;
  text-align: center;
}

h2, p, h3 {
  margin: 0;
  padding: 0;
}

h2{font-size: 1.5em;}

h3{
  font-size: 1em;
  font-style: normal;
}

p {font-size: 1.5em;}

.imgreferenceLinks {
  display: block;
  color: white;
  font-size: 10px;
  background-color: black;
  text-align: center;
  z-index: 1;
  padding: 0;
  margin: 0;
}
.imgreferenceLinks:hover {color: #FE5722;}

.referenceLinks {color: white;}

.referenceLinks:hover {color: black;}
