@media screen and (min-width:600px)
{
  #head
  {
    background: url('../images/toronto_med.jpg') no-repeat;
    background-position: center;
    background-size: cover;
  }
}

@media screen and (min-width:625px)
{
  #teams ul
  {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

    #teams ul li
    {
      margin-left:10px;
      margin-right: 10px;
    }
}

@media screen and (min-width:641px){.outer-frame{width: 75%;}}

@media screen and (min-width:738px)
{
  nav ul{padding: 1%;}

  #gallery ul
  {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

    #gallery ul li{margin-left:10px; margin-right: 10px;}
}

@media screen and (min-width:768px) and (max-width:978px)
{
  h1{font-size: 4rem;}
  h2{font-size: 3.2rem;}
  h3{font-size: 2.4rem;}
  p{line-height: 1.375em;}
}

@media screen and (min-width:979px)
{
  h1{font-size: 4.8rem;}
  h2{font-size: 3.6rem;}
  h3{font-size: 2.8rem;}
  p{line-height: 1.375em;}

      nav ul
      {
        width: 960px;
        margin: 0 auto;
        padding: 0.5%;
      }

    #head
    {
      background: url('../images/toronto_large.jpg') no-repeat;
      background-position: center;
      background-size: cover;
    }

    #wrapper,header
    {
      width: 960px;
      padding: 20px;
      margin: 0 auto;
    }

      #gallery ul
      {
        flex-direction: row;
        justify-content: space-around;;
        align-items: flex-start;
        flex-wrap: wrap;
      }

        #gallery ul li{margin-left:0px; margin-right: 0px;}

      .outer-frame{width:50%;}

}
