* {
  box-sizing: border-box;
}

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

.more {
  display: none;
}
.more:checked ~ .content {
  transform: rotateY(180deg);
}

.front,
.back {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  border-radius: 6px;
}
.front .inner,
.back .inner {
  height: 100%;
  display: grid;
  padding: 1.5em;
  transform: translateZ(80px) scale(0.94);
}

.front {
  background-color: #fff;
  background-size: cover;
  background-position: center center;
}
.front:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  backface-visibility: hidden;
  background: linear-gradient(40deg, rgba(1, 43, 88, 0.7), rgba(0, 124, 86, 0.7));
}
.front .inner {
  grid-template-rows: 5fr 1fr 1fr 2fr 1fr;
  justify-items: center;
}
.front h2 {
  grid-row: 2;
  margin-bottom: 0.3em;
  text-align: center;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
.front .rating {
  grid-row: 3;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  display: flex;
  flex-flow: row nowrap;
}
.front .rating i {
  margin: 0 1px;
}

.back {
  transform: rotateY(180deg);
  background-color: #fff;
  border: 2px solid #f0f0f0;
}
.back .inner {
  grid-template-rows: 1fr 2fr 1fr 2fr 14fr 1fr 1fr;
  grid-template-columns: repeat(4, auto);
  grid-column-gap: 0.8em;
  justify-items: center;
}
.back .info {
  position: relative;
  /* display: flex; */
  align-items: center;
  color: #012b58;
text-align: right;
grid-row: 3;
}
.back .info:not(:first-of-type):before {
  content: "";
  position: absolute;
  left: -0.9em;
  height: 18px;
  width: 1px;
  background-color: #ccc;
}
.back .info span {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}
.back .info i {
  font-size: 14px;
}
.back .info i:before {
  background: linear-gradient(40deg, #012b58, #007c56);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}
.back .info .icon {
  margin-left: 0.3em;
}
.back .info .icon span {
  display: block;
  margin-top: -0.25em;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}
.back .description {
  grid-row: 5;
  grid-column: 1/-1;
  font-size: 16px;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1.4em;
  overflow: auto;
  color: #012b58;
  padding-right: 10px;
  text-align: right;
}
.back .location,
.back .price {
  font-weight: 600;
  color: #012b58;
  grid-row: 1;
  font-size: 16px;
}
.back .location {
  grid-column: 1/3;
  justify-self: right;
}
.back .price {
  grid-column: 3/-1;
  justify-self: right;
}
.back .button {
  grid-column: 1/-1;
  justify-self: center;
}

.button {
  grid-row: -1;
  text-transform: uppercase;
  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);
}
.button:hover {
  background-color: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  text-shadow: none;
  color: #012b58;
}
.button.return {
  line-height: 3em;
  color: #012b58;
  border-color: #012b58;
  text-shadow: none;
}
.button.return:hover {
  background-color: #012b58;
  color: #fff;
  box-shadow: none;
}

/* local production */
.chart {
  border-radius: 3px;
  box-shadow: 0 0 10px -3px black;
  /* float: right; */
  margin: 15px 2.5%;
  position: relative;
  width: 45%;
}

@media screen and (max-width: 700px){
  .chart {
    border-radius: 3px;
    box-shadow: 0 0 10px -3px black;
    /* float: right; */
    margin: 15px 2.5%;
    position: relative;
    width: auto;
  }
}

.canvas {
  height: 400px;
  margin: 20px 0;
  width: 100%;
}

.title {
  font-size: 18px;
  margin: 0;
  padding: 15px 0 5px;
}

.title {
  margin-top: 10px;
}

.dark {
  background-color: #fff;
  color: #012b58;
}

main {
  text-align: center;
}
/* .container {
  *zoom: 1;
  font-size: 0;
  margin: 0 auto 145px;
  max-width: 960px;
  padding: 0;
  width: 100%;
}
.container:before,
.container:after {
  content: "";
  display: table;
}
.container:after {
  clear: both;
} */

.section-title{
  color: #686868;
}