*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html,
body {
  width: 100%;
  height: 100%; }

html {
  box-sizing: border-box;
  font-size: 62.5%; }

body {
  font-family: "Lato", sans-serif;
  color: #f18613;
  font-weight: 300;
  background-color: #d9ecef; }

.container {
  display: grid;
  grid-template-columns: [full-start] 1fr [center-start] repeat(8, [col-start] minmax(min-content, 14rem) [col-end]) [center-end] 1fr [full-end]; }

.heading-2 {
  font-family: "Lato", sans-serif;
  font-size: 2.2rem;
  color: #f18613;
  margin-bottom: 1.5rem;
  line-height: 2rem; }

.paragraph {
  font-family: "Roboto Slab", sans-serif;
  font-size: 1.7rem;
  color: #f18613;
  line-height: 1.8rem; }

.header {
  background-color: #d9ecef;
  grid-column: full-start / full-end;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1rem;
  margin-right: 2rem;
  margin-bottom: 2rem; }
  .header a {
    font-weight: 400;
    font-size: 1.8rem; }
  .header__item {
    text-decoration: none;
    color: #f18613;
    font-size: 1.5rem; }

.profile-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1rem;
  margin-right: 2rem;
  margin-bottom: 2rem; }
  .profile-header a {
    font-weight: 400;
    font-size: 1.8rem; }

.profile-page-body {
  margin: 0;
  min-height: 100vh;
  background-color: orange; }

.profile {
  background-color: #d9ecef;
  display: flex;
  flex-direction: column;
  min-height: 100vh; }
  .profile__wrapper {
    flex: 1 1; }
  .profile__header {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end; }
    .profile__header a {
      text-decoration: none;
      color: #f18613;
      font-weight: 400;
      font-size: 1.8rem;
      margin-right: 2rem; }
  .profile__content {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    height: 60vh;
    width: 60vw; }
  .profile__picture {
    justify-self: center;
    margin-right: 20px; }
  .profile__img {
    border-radius: 50%;
    height: 220px;
    width: 220px;
    margin-bottom: 1rem; }
  .profile__description {
    width: 400px;
    margin-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5rem;
    text-align: left; }
  .profile__footer {
    color: #a3b18a;
    font-size: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    padding-bottom: 5px; }
  .profile__footer--links {
    display: flex;
    justify-content: center;
    font-size: 3.5rem; }
    .profile__footer--links a {
      margin: 0.5rem; }

@media only screen and (max-width: 770px) {
  .profile__header {
    margin-right: 0;
    position: relative;
    right: auto;
    align-content: center; } }

@media only screen and (max-width: 770px) {
  .profile__header--link {
    margin-left: 15px;
    margin-right: 15px; } }

@media only screen and (max-width: 770px) {
  .profile__content {
    display: flex;
    flex-direction: column;
    top: 50%; } }

@media only screen and (max-width: 770px) {
  .profile__picture {
    margin-right: 0; } }

@media only screen and (max-width: 770px) {
  .profile__img {
    height: 180px;
    width: 180px; } }

@media only screen and (max-width: 770px) {
  .profile__description {
    font-size: 0.8rem;
    width: 80vw; } }

.footer {
  background-color: #d9ecef;
  grid-column: full-start / full-end;
  display: flex;
  justify-content: center;
  align-items: center; }
  .footer__content {
    font-size: 3.5rem; }

.fab {
  color: #f18613; }

.cards {
  background: #d9ecef;
  grid-column: center-start / center-end;
  display: grid;
  margin: 5rem 6rem;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 7rem; }

.card {
  background-color: #fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 3rem;
  box-shadow: 0 0.2rem 4rem black; }
  .card__img {
    width: 100%;
    grid-column: 1 / -1;
    border-radius: 3rem 3rem 0rem 0rem; }
  .card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1 / -1;
    margin-left: 1rem; }
  .card__title {
    z-index: 3;
    grid-column: 1 / -1;
    justify-self: center;
    align-self: end;
    width: 70%;
    font-family: "Lato", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    padding: 1.2rem;
    background-color: #f18613;
    color: #fff;
    transform: translateY(-50%);
    border-radius: 3rem; }
  .card__description p {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.3rem;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 2.5rem;
    height: 9rem; }
  .card__item--links {
    margin-bottom: 1.2rem;
    grid-column: 1 / -1;
    margin: 10px 15px 20px 15px; }
    .card__item--links a {
      text-decoration: none;
      font-size: 1.2rem;
      background-color: #f18613;
      color: #fff;
      padding: 0.2rem 0.7rem;
      border-radius: 3rem;
      margin: 1rem; }
