#content-header {
  background: rgba(0, 0, 0, 0.2); }

#content-projects {
  background: #e4e4e4; }

.subproject {
  display: inline-block;
  margin: 10px;
  width: 300px;
  height: 320px;
  vertical-align: top;
  background: #FFFFFF;
  color: #000000;
  padding-left: 16px;
  padding-right: 24px;
  box-sizing: border-box;
  border-radius: 3px;
  transition: box-shadow 0.1s; }

.subproject:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35); }

.subproject-image {
  width: 300px;
  height: 180px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #5d5d5d;
  background-image: url(../images/icons/baseline-visibility_off.svg);
  border-radius: 3px 3px 0 0;
  margin-left: -16px;
  overflow: hidden; }

.subproject-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.subproject-header {
  font-size: 24px;
  margin-top: 10px; }

.subproject-desc {
  font-size: 14px;
  margin-top: 5px; }

#content-projects-container {
  width: 1300px;
  margin: 0 auto;
  padding: 15px 0; }

@media (max-width: 1350px) {
  #content-projects-container {
    width: 970px; } }

@media (max-width: 1000px) {
  #content-projects-container {
    width: 650px; } }

@media (max-width: 670px) {
  #content-projects-container {
    width: initial; }
  .subproject {
    display: block;
    width: 95%;
    height: auto;
    margin-bottom: 20px;
    padding: 0 0 15px; }
  .subproject-image {
    width: 100%;
    height: 250px;
    margin: 0; }
  .subproject-header, .subproject-desc {
    margin-left: 16px; } }

.subproject.transition__init {
  transform: translateY(20px) scale(0.9); }

.subproject.transition__active {
  transition: transform 0.5s, opacity 0.5s, box-shadow 0.1s;
  transform: translateY(0) scale(1); }
