h1 {
  font-family: 'Lobster';
  font-size: 38px;
  text-align: center;
}
h2 {
  font-family: 'Lobster';
  font-size: 22px;
}
p {
  font-family: 'Play';
  font-size: 14px;
}
footer {
  padding: 10px;
  background-color: #2c4633;
  color: white;
  text-align: center;
}
footer a {
  color: white;
  text-decoration: underline;
}



@media only screen and (max-width: 540px) {
li {
  position: relative;
  margin: 0px 40px;
}
li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: gray;
  display: block;
  z-index: -1;

}
img {
  border-radius: 50%;
  width: 100%;
  height: auto;
  display: block;
}
.smallpic {
  display: inline-block;
  width: 20%;
  position: absolute;
  top: 0;
  left:-10%;
}
.text {
  padding: 5px 5px 5px 12%;
}
}
@media only screen and (min-width: 541px) {

  li{
    display: inline-block;
    padding: 2%;
    position: relative;
  }

  img {
    border-radius: 50%;
    width: 100%;
    height: auto;
  }

  .smallpic {
    display: inline-block;
    max-width: 20%;
    height: auto;
    float: left;
  }
  .text {
  }


  li:nth-of-type(odd) {
    margin-right: 50%;
    text-align: right;
  }
  li:nth-of-type(odd) .smallpic {
    float: right;
    margin-right: -15%;
  }
  li:nth-of-type(odd) .text {
    margin-right: 15%;
  }

  li:nth-of-type(odd)::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: gray;
    z-index: -1;
    right: 0px;
  }

  li:nth-of-type(even) {
    margin-left: 50%;

  }
  li:nth-of-type(even) .smallpic {
    float: left;
    margin-left: -15%;
  }
  li:nth-of-type(even) .text {
    margin-left: 15%;
  }
  li:nth-of-type(even)::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: gray;
    z-index: -1;
    left: 0px;
  }
}
