.profile-heading {
  align-items: center;
  display: flex;
}

.writing-profile {
  align-items: center;
  color: var(--action-button-color);
  display: flex;
  font-weight: 500;
  margin: 0 5px;
  padding: 10px 10px 10px 0;
  position: relative;
  width: 50%;
}

.profile-link {
  display: flex;
  justify-content: center;
  margin: 0;
  position: relative;
  text-align: center;
  flex: 1;
}

.writing-profile img {
  margin: 0 15px 0 0;
  width: 100px;
}

.profile-link::before {
  border: 1px solid var(--action-button-color);
  content: "";
  inset: 0;
  opacity: .25;
  position: absolute;
}

.elements-card .profile {
  margin: 15px 0 35px 0;
}

.elements-section {
  flex-flow: row wrap;
  width: 100%;
}

.writing-img-card {
  display: flex;
  padding: 0;
  width: 42.76vw;
}

.writing-img-card img {
  margin: 10% auto;
  width: 100%;
}

.reorder {
  order: 1;
}

.dev-box a span {
  filter: brightness(2);
}

.writing .elements-home-article {
  border-color: grey;
  align-self: stretch;
  flex: 1;
  height: unset;
  width: unset;
}

.writing .elements-home-article img {
  height: 100%;
  filter: none;
  width: 100%;
}

.writing .elements-home-article:hover img {
  height: 100%;
}

.writing .elements-home-article a img {
  height: auto;
  width: 100%;
}

.writing .elements-home-article:hover a img {
  height: unset;
}

.elements-button {
  justify-content: center;
  margin: 2.5% auto;
  padding: 0;
  text-align: center;
}

.elements-card .elements-button {
  margin: 0 auto 5% auto;
  min-width: 15rem;
  padding: 0 0 0 .25rem;
  text-align: center;
}

.writing-img-card {
  align-items: flex-start;
  display: flex;
  max-height: 800px;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.writing-img-card:first-of-type {
  align-items: center;
  display: flex;
  max-height: 600px;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.writing-img-card:first-of-type img {
  object-position: center;
  margin-top: 10%;
  height: auto;
  width: 100%;
}

.writing-img-card img {
  object-position: top;
  margin-top: -3.735%;
  height: auto;
  width: 100%;
}

.box-extended {
  padding: 1.235% 7.5%;
  width: 80%;
}

@media only screen and (max-width: 1865px) {
}

@media only screen and (max-width: 1200px) {
  .writing-img-card {
    max-height: 400;
  }

  .writing-img-card img,
  .writing-img-card:first-of-type img {
    margin-top: 0;
    margin: 0;
  }

  .reorder {
    order: unset;
  }

  .elements-section:not(:first-of-type) {
    flex-flow: column;
  }

  .elements-section:not(:first-of-type) .elements-card {
    width: unset;
  }
}

@media only screen and (max-width: 1000px) {
  .contact-form {
    z-index: 10;
  }

  button.light-button:focus,
  button.light-button:hover,
  button.light-button {
    border: none;
    border-left: 1px solid var(--bg-color-muted);
    border-right: 1px solid var(--bg-color-muted);
    border-radius: 0;
    inset: -5px 51px 0 auto;
    z-index: 3;
  }
}

@media only screen and (max-width: 768px) {
  .profile-heading {
    flex-flow: column;
  }

  .profile-link {
    padding: 15px;
    width: 100%;
  }

  .box-extended {
    width: 100%;
  }

  .writing-profile {
    color: var(--action-button-color);
    flex-flow: row wrap;
    text-align: center;
    padding: 10px 0 10px 0;
    position: relative;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .writing-profile img {
    inset: unset;
    height: 60px;
    width: 60px;
    margin: 15px;
    position: relative;
  }

  .elements-button {
    justify-content: center;
    min-width: 85%;
    padding: 0;
    text-align: center;
  }

  .elements-card .elements-button {
    margin: 0 auto 5% auto;
    min-width: 85%;
    padding: 0 0 0 .25rem;
    text-align: center;
  }
}
