:root {
  --white-smoke: whitesmoke;
  --black: #070707;
  --dim-grey: #727272;
}

body {
  color: #333;
  background-color: #fff;
  font-family: DM Sans, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

h1 {
  flex: 0 auto;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1em;
}

h2 {
  text-transform: none;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: .8rem;
  font-weight: 400;
  line-height: 1em;
}

h3 {
  align-self: center;
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1em;
  display: inline-block;
}

.container {
  display: flex;
}

.container.boxed {
  flex-direction: column;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.container.boxed.mobile {
  display: none;
}

.cover {
  flex-direction: column;
  justify-content: center;
}

.cover.overlay {
  z-index: 2;
  background-image: linear-gradient(#2438121c, #232a09ba 65%, #232707fa);
  width: 100%;
  height: 100%;
  padding: 30px 40px 50px;
  position: absolute;
  inset: 0%;
}

.cover.mask {
  z-index: 3;
  object-fit: cover;
  border-radius: 0 0 10px 10px;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 200px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.cover.img {
  object-fit: cover;
}

.img {
  z-index: 1;
  position: relative;
}

.profile {
  border-bottom: 1px solid var(--white-smoke);
  height: 110px;
  display: flex;
  position: relative;
}

.c-4 {
  flex: 0 40%;
}

.c-2 {
  flex-direction: column;
  flex: 0 30%;
  align-items: center;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
}

.user.info {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  display: flex;
}

.user.contact {
  color: var(--black);
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  font-size: 12px;
  display: flex;
}

.user.photo {
  z-index: 3;
  background-color: #fff;
  border: 5px solid #fff;
  border-radius: 100%;
  width: 250px;
  height: 250px;
  position: absolute;
  top: -125px;
  overflow: hidden;
}

.image {
  padding-left: 25px;
}

.content {
  padding-top: 40px;
  padding-bottom: 100px;
}

.row {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin-left: -20px;
  margin-right: -20px;
  display: flex;
}

.row.posts {
  display: none;
}

.post.wrap {
  z-index: 1;
  border: 1px solid var(--white-smoke);
  color: var(--black);
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 40px;
  padding-bottom: 25px;
  text-decoration: none;
  transition: color .5s cubic-bezier(.25, .46, .45, .94), box-shadow .5s cubic-bezier(.455, .03, .515, .955);
  box-shadow: 2px 10px 30px -12px #dfdfdf;
}

.post.wrap:hover {
  box-shadow: 2px 9px 30px -12px var(--dim-grey);
  color: var(--dim-grey);
}

.post.cover {
  z-index: 3;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.post.tag {
  border-bottom: 1px solid var(--white-smoke);
  justify-content: space-between;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
}

.post.info {
  margin-left: 20px;
  margin-right: 20px;
}

.post.img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.post.type {
  color: var(--dim-grey);
  text-transform: uppercase;
}

.footer {
  background-color: var(--black);
  height: 75px;
}

.profile-pic {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.link.wrap {
  z-index: 1;
  border: 1px solid var(--white-smoke);
  color: var(--black);
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  text-decoration: none;
  transition: color .5s cubic-bezier(.25, .46, .45, .94), box-shadow .5s cubic-bezier(.455, .03, .515, .955);
  display: flex;
  box-shadow: 2px 10px 30px -12px #dfdfdf;
}

.link.wrap:hover {
  box-shadow: 2px 9px 30px -11px var(--dim-grey);
  color: var(--dim-grey);
}

.link.social {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-content: flex-start;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
}

.social-icon {
  width: 32px;
  height: 32px;
  margin-left: 10px;
}

.div-block {
  background-color: #000;
}

.body {
  background-color: #b45050;
}

.msg {
  color: var(--black);
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.text-block {
  text-align: right;
}

.body-2 {
  background-image: url('../images/curly-hair-bg.png'), url('../images/paper.jpg');
  background-position: 50% 100%, 0 0;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, cover;
  background-attachment: fixed, fixed;
}

.heading {
  font-family: Droid Serif, serif;
  font-size: 2.5rem;
}

.heading-2 {
  margin-top: 8px;
  font-size: 1.1rem;
}

.heading-3 {
  text-align: center;
  padding: 20px 20px 30px;
  font-family: Droid Serif, serif;
  font-size: 25px;
  font-weight: 400;
}

.heading-4 {
  font-size: 1rem;
  font-weight: 400;
}

.heading-5 {
  align-self: center;
}

.heading-6 {
  padding-bottom: 2px;
}

.heading-7 {
  align-self: center;
}

.heading-8 {
  margin-top: 2px;
}

.heading-9 {
  margin-top: 3px;
}

.bold-text {
  font-weight: 400;
}

.logo-mobile {
  display: none;
}

@media screen and (max-width: 991px) {
  .container.boxed {
    margin-left: 40px;
    margin-right: 40px;
  }

  .cover.overlay {
    padding-left: 30px;
  }

  .profile {
    justify-content: space-around;
  }

  .c-2 {
    flex-shrink: 2;
    flex-basis: 50%;
    margin-left: 0;
    margin-right: 0;
  }

  .user.photo {
    width: 200px;
    height: 200px;
    top: -100px;
  }

  .social-icon {
    margin-left: 4px;
  }

  .body-2 {
    background-size: 1051px, auto;
  }

  .heading {
    font-size: 2.2rem;
  }

  .heading-2 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .container.boxed {
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
  }

  .container.boxed.mobile {
    align-items: center;
    padding-top: 75px;
    display: flex;
  }

  .cover.overlay {
    background-image: linear-gradient(#2438121c, #232a09ba 48%, #232707fa 95%);
    padding: 25px 20px 10px;
  }

  .cover.mask {
    height: 150px;
    position: absolute;
  }

  .profile {
    z-index: 9;
    border-bottom-style: none;
    flex-direction: column-reverse;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-4.cm-0 {
    display: none;
  }

  .user.info {
    align-items: center;
    padding-top: 25px;
  }

  .user.info.mobile {
    text-align: center;
    align-items: center;
  }

  .user.contact {
    color: var(--white-smoke);
    margin-top: 20px;
  }

  .user.photo {
    width: 150px;
    height: 150px;
    margin-top: 30px;
    position: static;
  }

  .content {
    padding: 0;
  }

  .msg {
    color: var(--white-smoke);
    display: none;
  }

  .text-block {
    display: none;
  }

  .body-2 {
    background-size: 1051px, auto;
  }

  .heading-3 {
    margin: 0;
  }

  .logo {
    max-width: 150px;
  }
}

@media screen and (max-width: 479px) {
  .container.boxed {
    margin-left: 10px;
    margin-right: 10px;
  }

  .container.boxed.mobile {
    padding-top: 50px;
  }

  .cover.overlay {
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
  }

  .cover.mask {
    height: 142px;
  }

  .profile {
    padding-top: 45px;
  }

  .c-2 {
    flex-basis: 100%;
  }

  .user.photo {
    width: 120px;
    height: 120px;
    top: 10px;
  }

  .content {
    padding-bottom: 60px;
    overflow: hidden;
  }

  .row {
    flex-direction: column;
  }

  .post.img {
    filter: grayscale(50%);
  }

  .link.wrap {
    margin-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .link.wrap:hover {
    box-shadow: 2px 9px 30px -20px var(--dim-grey);
  }

  .text-block {
    display: none;
  }

  .heading-3 {
    font-size: 19px;
  }

  .logo {
    max-width: 120px;
    display: none;
  }

  .logo-mobile {
    vertical-align: baseline;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}


