* {
  box-sizing: border-box;
}

.body1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
//  height: 100vh;  
  font-family: "Montserrat", sans-serif;
}

.wrapper1 {
  display: inline-flex;
  flex-flow: row wrap;
  justify-content: center;
}

.card1 {
  width: 280px;
  height: 340px;
  margin: 1em;
  perspective: 1500px;
}
.card1 .content1 {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.75, 0, 0.85, 1);
}

.more1 {
  display: none;
}
.more1:checked ~ .content1 {
  transform: rotateY(180deg);
}

.front1,
.back1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  border-radius: 6px;
}
.front1 .inner1,
.back1 .inner1 {
  height: 100%;
  display: grid;
  padding: 13px;
  transform: translateZ(80px) scale(0.94);
}

.front1 {
  background-color: #fff;
  background-size: cover;
  background-position: center center;
}
.front1:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  backface-visibility: hidden;
  background: linear-gradient(40deg, rgba(67, 138, 243, 0.7), rgba(255, 242, 166, 0.7));
}
.front1 .inner1 {
  grid-template-rows: 5fr 1fr 1fr 2fr 1fr;
  justify-items: center;
}
.front1 h2 {
  grid-row: 2;
  margin-bottom: 0.3em;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
.front1 .rating1 {
  grid-row: 3;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  display: flex;
  flex-flow: row nowrap;
}
.front1 .rating1 i {
  margin: 0 1px;
}

.back1 {
  transform: rotateY(180deg);
  background-color: #fff;
  border: 2px solid #f0f0f0;
}
.back1 .inner1 {
 /* grid-template-rows: 1fr 2fr 1fr 2fr 14fr 1fr 1fr;
  grid-template-columns: repeat(4, auto);
  grid-column-gap: 0.8em;
  justify-items: center;*/
}
.back1 .info1 {
  position: relative;
  display: flex;
  align-items: center;
  color: #355cc9;
  grid-row: 3;
}
.back1 .info1:not(:first-of-type):before {
  content: "";
  position: absolute;
  left: -0.9em;
  height: 18px;
  width: 1px;
  background-color: #ccc;
}
.back1 .info1 span {
  font-size: 2em;
  font-weight: 700;
}
.back1 .info1 i {
  font-size: 1.2em;
}
.back1 .info1 i:before {
  background: linear-gradient(40deg, #355cc9, #438af3);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}
.back1 .info1 .icon {
  margin-left: 0.3em;
}
.back1 .info1 .icon span {
  display: block;
  margin-top: -0.25em;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}
.back1 .description1 {
  grid-row: 5;
  grid-column: 1/-1;
  font-size: 0.86em;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1.4em;
  overflow: auto;
  color: #000000;
  padding-right: 1px;
}
.back1 .location1,
.back1 .price1 {
  font-weight: 600;
  color: #355cc9;
  grid-row: 1;
  font-size: 0.86em;
}
.back1 .location1 {
  grid-column: 1/3;
  justify-self: left;

}
.back1 .price1 {
  grid-column: 3/-1;
  justify-self: right;
}
.back1 .button1 {
  grid-column: 1/-1;
  justify-self: center;
}

.button1 {
  grid-row: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  padding: 0 1.5em;
  height: 3em;
  line-height: 2.9em;
  min-width: 3em;
  background-color: transparent;
  border: solid 2px #fff;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  left: 50%;
  backface-visibility: hidden;
  transition: 0.3s ease-in-out;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
.button1:hover {
  background-color: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  text-shadow: none;
  color: #355cc9;
}
.button1.return {
  position:relative;	
  line-height: 3em;
  color: #355cc9;
  border-color: #355cc9;
  text-shadow: none;

}
.button1.return:hover {
  background-color: #355cc9;
  color: #fff;
  box-shadow: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #859ddf;
}

::-webkit-scrollbar-thumb:hover {
  background: #355cc9;
}


@media screen and (max-width: 420px) {
.wrapper1 {
  display: flex;
  flex-flow: row wrap;*/
}
}



