/*
This is the style file for the About page.
Programmer: Austin Shawaga (University of Calgary)
*/
#page_head_title{
  max-width:50%;
  font-family:"Lucida Console", "Courier New", monospace;
}

body{
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

header{
  padding:20px 10px;
  margin: 0;
  top: 0;
  left:0;
  display: block;
  background-color: lightgrey;
  border-bottom: 2px solid black;

}
#logo{
  max-width: 100px;
  max-height: 100px;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 1px;
  margin-right: 1px;
  padding: 6px;
  border: 2px solid black;
  transition: background-color 0.4s;
}

#logo:hover{
  background-color: linen;
}

#nav{
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: dimgrey;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top:0;
}


#nav li{
  float: left;
}

#nav li a{
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none; /* removes underline*/
  background-color: dimgrey;
  color:white;
  transition: background-color 0.5s ease-out;
}

#nav li a.active{
  background-color: green;
}

#nav li a:hover:not(.active){
  background-color: black;
}

h2, p, .researchPurposes li{
  margin: 15px 10px;
}

h2{
  color: darkgreen;
}

p,.researchPurposes li{
  font-size: 17px;
  max-width: 60%;
  height: auto;
}
.researchPurposes ol{
  margin-top: 5px;
}

/*Formats layout for phone screen*/
@media screen and (max-width: 600px) {
    #nav{
      position: static;
    }
    #nav li {
      float: none;
    }
    p, .researchPurposes li, h2{
      max-width: 100%;
      margin: 10px 2px;
    }


}
