.dev-box {
  flex-flow: column;
  background-color: white;
}

.dev-box img {
  height: auto;
  width: 100%;
}

.dev-btn-group {
  display: flex;
}

.dev-btn-group .elements-button {
  min-width: unset;
  width: 45%;
}

.dev-text {
  align-items: center;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  line-height: 1.5em;
  min-height: 80px;
  text-align: center;
  width: 100%;
}

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

.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 {
  color: var(--action-button-color);
}

.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;
  min-width: 35vw;
  padding: 0;
  text-align: center;
}

@media only screen and (max-width: 1865px) {
  .writing-img-card {
    display: flex;
    max-height: 600px;
    margin: 0;
    overflow: hidden;
    width: 100%;
  }

  .writing-img-card img {
    align-self: center;
    height: auto;
    width: 100%;
  }
}

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

  .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: 768px) {
  .elements-button {
    justify-content: center;
    min-width: 85%;
    padding: 0;
    text-align: center;
  }
}
