.results-heading{
  max-width: 600px;
  margin-left: 100px;
}

.results-cards {
  display: grid;
  grid-template-columns: auto auto;
  gap: 100px;
  justify-content: center;
  margin: auto;
  max-width: 650px;
}

.card {
  position: relative;
  width: 275px;
  height: 200px;
  perspective: 1000px;
}

/* Cards for DB results (no images) */
.results-cards-text {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 100px;
  justify-content: center;
  margin: auto;
}

.card-text{
  height: 150px;
}

/* All cards! */

 .results-cards h2{
  text-align: center;
 }

 body {
  background: #eee;
}


.content {
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);

  transition: transform 1s;
  transform-style: preserve-3d;
}

.card:hover .content {
  transform: rotateY( 180deg ) ;
  transition: transform 0.5s;
}

.front, .back {
  padding: 20px;
  position: absolute;
  height: 100%;
  width: 100%;
  background: white;
  border-radius: 5px;
  backface-visibility: hidden;
}

.front-text{
  text-align: left;
}

.back {
  text-align: left;
  background: #03446A;
  color: white;
  transform: rotateY( 180deg );
}

.metal-front {
  background-color: #6d6962;
  border: #2d2c2a;
}

.metal-back {
  background-color: #2d2c2a;
}

.weapon-front {
  background-color: #a08b23;
  border: #5d5d1f;
}

.weapon-back {
  background-color: #5d5d1f;
}

.else-front {
  background-color: #b7b7b7;
  border: #767676;
}

.else-back {
  background-color: #767676;
}

.front {
  text-align: center;
  border-style: solid;
}