.photo-card {
  background-color: #0e0e0e;
  /*border-radius: 10px;*/
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  display: flex;
  flex-direction: column;
  width: 100%;
  /*max-width: 700px;*/
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

@media screen and (min-width: 700px) {
  .photo-card {
    flex-direction: row;
  }
}

.photo-background {
  background-position: center;
  background-size: cover;
  min-height: 225px;
  /*margin: 5px;*/
}

@media screen and (min-width: 700px) {
  .photo-background {
    width: 38%;
  }
}

.photo-details {
  padding: 2.1875em 5%;
}

@media screen and (min-width: 700px) {
  .photo-details {
    width: 60%;
  }
}

.photo-details h1, .photo-details h4 {
  color: #f9e4ac;
  font-weight: 500;
  margin: 0;
}

.photo-details h1 {
  font-size: 125%;
  line-height: 1;
  margin-bottom: 0.35em;
  font-family: Montserrat, sans-serif;
}

.photo-tags ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.35em;
}

.photo-tags li {
  margin: 0 1.0em 0.55em 0;
}

.photo-tags a {
  background-color: #252424;
  border-radius: 30px;
  color: #fff;
  display: block;
  padding: 0.3125em 1.25em;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Montserrat';
}

.photo-tags a:hover, .photo-tags a:focus {
  color: #510130;
}

.photo-details p {
  color: rgb(255,255,255);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

.border {
  border: 2px solid #111111 !important;
}

