body {
    background-color: #d6dae5;
    font-family: "Helvetica";
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    margin: 0;
    padding-bottom: 80px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    max-width: 1050px;
    padding: 2rem 0 0;
}
header figure {
    margin-left: 0;
}
header figure img {
    border-radius: 50%;
    box-shadow: 2px 2px 6px 1px grey;
}
header address {
    text-align: left;
}
h1 {
    margin-bottom: 0;
}
p.tagline {
    margin-top: 5px;
    color: #222;
    font-size: 24px;
}
.identity {
    display: flex;
}

aside {
    text-align: justify;
    display: flex;
    justify-content: center;
    border: 4px double #0F8389;
    padding: 0px 25px;
    width: 50%;
    box-shadow: 3px 3px 6px 0px #7f7f7f;
}
aside p {
    max-width: 1050px;
    font-size: 18px;
}

main {
    display: flex;
    justify-content: center;
    margin: 35px 0 50px;
    background-color: #0F8389;
    width: 100%;
    padding: 40px 0;
}
main > div {
    background-color: white;
    position: relative;
    border-radius: 5px;
    width: 32%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 3px 3px 6px 0px #363636;
    margin: 0 10px;
}
main > div:first-child {
    margin-left: 0;
}
main > div:last-child {
    margin-right: 0;
}
h2 {
    margin-top: 0;
    padding: 12px;
    min-height: 50px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px 5px 0 0;
    padding-bottom: 5px;
}
hr {
    border-bottom: 4px double #CCA43B;
    width: 90%;
    margin-top: 0;
}
ul {
    padding: 0 20px 0 35px;
    margin-bottom: 35px;
}
li {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    position: relative;
}
li small {
    color: #454545;
}
li::before {
    content: "▸";
    position: absolute;
    left: -15px;
    top: -0.5px;
}
main > div > a {
    font-size: 80%;
    color: #222;
    width: 100%;
    text-align: center;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px;
}
main > div > p {
    padding: 0 20px;
    min-height: 320px;
    text-align: justify;
    color: #454545;
}
main > div > p > a {
    color: #0F8389;
    font-weight: 600;
}

address {
    font-style: normal;
    font-size: 18px;
    text-align: center;
}
address a:last-child {
    margin-left: 8px;
}
address img {
    box-shadow: 1px 1px 5px 0px grey;
    border-radius: 6px;
}


@media only screen and (max-width: 768px) {
  body {
    padding: 1rem 1rem 60px;
  }
  header {
    flex-direction: column;
  }
  header address {
    text-align: center;
  }
  .identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  header figure {
    margin-right: 0;
  }
  header figure img {
    width: 150px;
    height: 150px;
  }
  h1 {
    margin-top: 0;
  }
  aside {
    width: 90%;
    margin: 35px 0 0;
    padding: 15px;
  }
  aside p {
    margin: 10px 0;
  }
  main {
    flex-direction: column;
    background-color: transparent;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  main > div {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
  }
  main > div > p {
    min-height: auto;
  }
}