body {
  font-family: 'Lato', sans-serif;
}

.headerTop {
  border: solid 7px #4073c4;
  width: 40%;
}

.headerBottom {
  border: solid 2px lightgrey;
  width: 40%;
}

.heading h1 {
  text-align: center;
  font-weight: 300;
  font-size: 4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2rem;
  color: grey;
}

h1 > span {
  color: #4073c4;
}

.heading p {
  text-align: center;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: grey;
  margin: 0;
}

.button {
  display: block;
}

button {
  background-color: #4073c4;
  font-size: 1.1rem;
  padding: 10px;
  border: none;
  border-radius: 15px;
  align-self: flex-end;
  display: block;
  justify-self: end;
  margin: 10px;
}

button > a {
  text-decoration: none;
  color: lightgrey;
}

.wrapper {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
  width: 40%;
  margin: auto;
}

.skills {
  border-right: solid 4px lightgrey;
  width: 30%;
  display: flex;
  flex-flow: column;
}

.phone {
  display: flex;
  flex-flow: wrap;
}

.phone > a {
  color: black;
}

.contact {
  display: inline-block;
}

.phone {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: right;
  margin-right: 25px;
}

span > svg {
  border-radius: 50%;
  padding: 5px;
  background-color: #4073c4;
}

.quals > p {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-align: right;
  margin-right: 10px;
  color: grey;
}

.certs > p {
  text-align: right;
  margin: 0 10px 5px 0;
}

.content {
  width: 65%;
  display: flex;
  flex-flow: row wrap;
}

.profileHeader {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: grey;
  padding: 0 5px;
  margin: 7px 5px 0 5px;
}

.profileBody {
  padding: 0 5px;
  margin: 0 5px;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.3;
}

.expertise > ul > li {
  margin: 7px;
  font-size: 1.1rem;
}

.expertiseHeader {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: grey;
  padding: 0 5px;
  margin: 7px 5px 0 5px;
}

.expertiseBody {
  padding: 0 5px;
  margin: 0 5px;
  text-align: justify;
}

.references {
  margin: 30px auto 0 auto;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 30px;
}

@media screen and (max-width: 800px) {
  body {
    margin: 5px;
  }
  .headerTop, .headerBottom {
    width: 95%;    
  }
  .heading h1 {
    font-size: x-large;
  }
  .subHeading p {
    font-size: large;
    margin-top: 10px;
  }
  .wrapper {
    display: flex;
    flex-flow: column;
    width: 100%;
    margin: auto;
    justify-content: center;
  }
  .skills {
    width: 100%;
    border: none;    
  }

  .social {
    margin: auto;

  }
  .quals p {
    text-align: center;
  }
  .content {
    width: 100%;
    margin:auto;
    text-align: center;
  }
  button {
    width: 70%;
    margin: 10px auto;
  }
  .profile, .expertise {
    padding: 5px;
  }
}
