/*
This is the stylesheet for the contact page
Programmer: Austin Shawaga (University of Calgary)
*/
/*
This is the style file for the main tool 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;
}

.contactInfo{
  margin: 10px 30px;
  font-size: 16px;
  border:3px solid black;
  display: inline-block;
  width: 550px;
  height: 200px;
  padding: 15px;
  outline: 4px solid lightgrey;
  float: left;
}

.contactInfo h2{
  text-decoration: underline;
  font-weight: bold;
  display: inline;
}
.contactInfo p{
  font-size: 18px;
}


/*Formats layout for phone screen*/
@media screen and (max-width: 600px) {
    #nav{
      position: static;
    }
    #nav li, .contactInfo {
      float: none;
    }
    .contactInfo{
      width: 100%;
      margin:10px 2px;
      font-size: 12px;
      padding: 5px;
    }

}
