*{ /* pushes the webiste to the edges making it fit the whole screen*/
	padding: 0px;
	margin: 0px;
}

body{ /* changes the colour of the background*/
	background-color: #ebecf0;
}

P{ /* styles the paragraphs */
  font-family: Helvetica, Sans-Serif; 
  font-size: 120%;
}

table, th, td{

}
th, td{
  padding: 2px;
}
table{
  width: 100%;
}
th{
  font-size: 200%;
  text-align: LEFT;
}
td{
  font-size: 100%;
  text-align: left;
}

.textgap{ /* adds a margin to some parts of the webstie */
  font-family: Helvetica, Sans-Serif;
  margin-left: 5%;
  margin-right: 5%; 
}

h2{ /* styles the first header type*/
  font-family: Helvetica, Sans-Serif;
  font-size: 300%;
  text-align: left;
}

h3{ /*styles the second header type */
  font-family: Helvetica, Sans-Serif;
  font-size: 300%;
  text-align: left;
  margin-left: 5%;
}

h4{
  text-decoration: bold;
  font-size: 200%;
}
/*
::selection { /* for changing the colour of highlighting but i have not implimented this*/
  color: black;
  background: green;
}
*/
.banner{ /*puts the banner into the banner part of the grid */
  grid-area: banner;
}

.nav{ /* puts the navagation bar in the nav part of the grid*/
 grid-area: nav;
}

.article{ /* styles the article section*/
  grid-area: article;
  font-family: Helvetica, Sans-Serif;
  font-size: ;
  background-color: #ebecf0;
  margin-top: 40px;
  margin-bottom: 40px;
}

}
.container{ /*centers all the links on the home page */
  text-align: center;
}

.footer{ /* styles the footer of the page */
  grid-area: footer;
  text-align: center;
  margin-top: auto;
  background-color: #dedede;
}

.flex-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: flex-start;
}
.footer1{ /* styles the footer of the page */
  margin-top: auto;
  grid-area: footer;
  text-align: center;
  background-color: #ebecf0;
}

.pagemargin{ /*adds a margin to parts of the website not using the textgap div */
  grid-area: pagemargin;
  margin: 5%;
  margin-top: 0px;
}

.example{ /* styles the second section of each page containing the video embed */
  background-color: #dedede;
  grid-area: example;
}

.video-container{ /*styling for the embed */
  margin-top: 5%;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
  }

.video-container iframe, /*more embed styling */
.video-container object, 
.video-container embed { 
  position: absolute;
  top: 0; 
  left: 0; 
  width: 70%; 
  height: 70%; 
}

ul { /* styles the text in the nav bar*/
  list-style-type: none;
  font-family: 'Trebuchet MS', sans-serif ;
  font-size: 160% ;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #1b264f;
}

li { /*aligns all the text for the navagation bar to the left */
  float: left;
}

li a { /* styes the look of the navagation bar */
  height: 28px;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover { /*styles what the nav bar looks like when you over over a tab */
  background-color: #274690;
}

li .active{ /* changes the colour of the selected page on the nav bar */
  background-color: #051094; 
}

.grid-container { /* this is the grid */
  display: grid;
  grid-template-areas: 
  'banner banner banner banner'
  'pagemargin nav nav pagemargin'
  'pagemargin article article pagemargin'
  'example example example example'  
  'footer footer footer footer';
  grid-template-rows: 20% 10% 65% 20% 2%;
  grid-template-columns: 20% 30% 30% 20%;
  height: 100vh;
  grid-gap: 0px;
}

/* this code below is for rearranging the page for different device sizes but i have not implimented all of this */
@media screen and (max-width: 992px) {

}

@media screen and (max-width: 475px) {
  ul{
    font-size: 120% ;
  }

  td{
    font-size: 80%;
  }
}

.imgbanner{
  width: 100%;
  height: 50%;
}

.imglogo{
  width: 20%;
}

.img1{
  width: 50%;
}

.imgiframe{
  width: 50%;
  height: 100;
}