html {
  box-sizing: border-box;
}
html *, html *:before, html *:after {
  box-sizing: inherit;
}
html body {
  margin: 0;
  padding: 0;
  background-color: rgba(79, 161, 165, 0.15);
  font-family: "Roboto Condensed", sans-serif;
}

header {
  border-bottom: 10px solid #58C2CA;
}
header h1 {
  font-size: 0;
  opacity: 0;
  margin: 0;
}
@media screen and (min-width: 800px) {
  header {
    padding-bottom: 2em;
  }
}

main {
  width: 100%;
  background-color: #ffffff;
  height: auto;
  -webkit-transition: height 0.1s fade-in;
  transition: height 0.1s fade-in;
}
@media screen and (min-width: 800px) {
  main {
    border-bottom: 10px solid #58C2CA;
  }
}
main ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
@media screen and (min-width: 800px) {
  main ul {
    max-width: 960px;
    margin: 0 auto;
  }
  main ul:after {
    content: "";
    display: table;
    clear: both;
  }
}
main ul li {
  padding: 0;
  margin: 0 auto;
  width: 100%;
  list-style: none;
  display: block;
  -webkit-transition: width 400ms ease-in;
  transition: width 400ms ease-in;
}
@media screen and (min-width: 800px) {
  main ul li {
    float: left;
    width: 50%;
    margin: 0;
    -webkit-transition: width 10ms ease-out;
    transition: width 10ms ease-out;
  }
}
main ul li:first-child {
  border-style: solid;
  border-width: 0;
  border-bottom-width: 10px;
  border-bottom-color: rgba(79, 161, 165, 0.15);
  border-right-color: rgba(79, 161, 165, 0);
  -webkit-transition: border-bottom-width 0.5s ease-out;
  transition: border-bottom-width 0.5s ease-out;
}
@media screen and (min-width: 800px) {
  main ul li:first-child {
    border-bottom-width: 0;
    border-bottom-color: rgba(79, 161, 165, 0);
    border-right-width: 10px;
    border-right-color: rgba(79, 161, 165, 0.15);
    -webkit-transition: border-right-width 0.5s ease-out;
    transition: border-right-width 0.5s ease-out;
  }
}
main ul li a {
  display: block;
  width: 100%;
  padding: 2em 1em 3em;
  text-decoration: none;
  color: #244F70;
  -webkit-transition: all 0.3s fade;
  transition: all 0.3s fade;
}
main ul li a .img {
  min-height: 120px;
  margin-bottom: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  width: 100%;
}
main ul li a .img img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  opacity: 0.6;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin: 0 auto;
}
main ul li a:hover .img img {
  opacity: 1;
}
main ul li a span.content {
  font-size: 1.2em;
  line-height: 1.6;
  display: block;
  padding: 0 3%;
  margin-bottom: 1em;
}
main ul li a span.btn {
  background-color: #58C2CA;
  display: inline-block;
  width: auto;
  border-radius: 4px;
  padding: 0.5em 1em;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-size: 120%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
main ul li a span.btn:hover {
  background-color: #73ccd3;
}
main ul li a span.btn:focus {
  background-color: #8ed6db;
}

footer {
  width: 100%;
  background-color: #4FA1A5;
  text-align: center;
  padding: 1em 0;
  color: #ffffff;
}
@media screen and (min-width: 800px) {
  footer {
    position: fixed;
    bottom: 0;
    padding: 2em 0;
  }
}

