.expand {
  margin-bottom: 10px;
  height: auto;
  max-height: 250px;
  width: 200px;
  overflow-y: hidden;
  overflow-x: hidden;
  box-shadow: 0 1px 10px 2px #111214;
  background: #25282d;
  border: 1px solid #1C1D21;
  border-radius: 5px;
  scroll-behavior: smooth;
  -webkit-transition: all 0.75s ease-in-out;
  -moz-transition: all 0.75s ease-in-out;
  transition: all 0.75s ease-in-out;
  -webkit-transform: translateZ(0);
  -moz-transform: tranlateZ(0);
  transform: translateZ(0);
}

.project-text {
  padding: 10px;
}

.project-desc {
  font-size: 17px;
}

.project-text p {
  margin-top: 2px;
  margin-bottom: 3px;
}

.project-text p:nth-child(2) {
  border-bottom: 2px solid #445878;
}

.h3-title {
  width: 100%;
  margin: 0;
  text-align: inherit;
  border-bottom: none;
}

.title-fix {
  width: 100% !important;
}

.title-h6 {
  margin-top: 0;
}

.footer {
  height: 80px;
  display: table;
}

.footer .col-15 {
  display: table-cell;
  vertical-align: middle;
  float: none;
}

@media (max-width: 655px) {
  .project-text {
    text-align: center;
    max-width: 100%;
  }
  .project-tools {
    overflow-wrap: break-word;
  }
  .small-image-container {
    position: relative;
    width: 100%;
    height: 250px;
  }
  .project-image-small {
    position: absolute;
    width: auto;
    height: 100%;
    left: 15%;
    top: 50%;
    transform: translate(-20%,-50%);
  }
  .project-image-large {
    display: none;
  }
  .p-row {
    width: 100%;
  }
  .expand {
    display: inline-block;
    float: left;
    width: 100%;
    max-height: unset;
  }
}

@media (min-width: 656px) {
  .row:nth-child(odd) .expand {
    float: left;
    text-align: left;
  }
  .row:nth-child(odd) .expand .project-image {
    margin-right: 8px;
  }
  .row:nth-child(even) .expand {
    float: right;
    text-align: right;
  }
  .row:nth-child(even) .expand .project-image {
    margin-left: 8px;
  }
  .project-image-large {
    display: inline-block;
    float: inherit;
    min-width: 200px;
    max-width: 20%;
    height: 250px;
  }
  .small-image-container {
    display: none;
  }
  .project-image-small {
    display: none;
  }
  .project-text {
    display: inline-block;
    float: inherit;
    max-width: 66%;
  }
  .expand {
    width: 100%;
  }
}
