body {
  font-family: monospace;
  background-image: url('../../images/Plant-Background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

h3 { 
  color: #dd71f2;
  font-family: monospace;
  background-color: #f5d6fb;
  border-radius: 5px;
  width: fit-content;
  padding: 5px;
}

.TOTAL {
    display: flex;
    gap: 20px;
}

.info-box {
    width: 15vw;
    border: 2px solid green;
    border-radius: 5px;
    background-color: #E6F2E6;
    padding: 5px;
    text-align: justify;
    position: sticky;
    top: 1vh;
    height: fit-content;
}

/* layout */
.cards {
  display: flex;
  gap: 10px;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
}

/* reusable card */
.card {
  width: 200px;
  height: 200px;
  perspective: 600px;
}

.card:hover {
  cursor: pointer;
}

.card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-long {
    width: 200px;
    height: 600px;
    perspective: 600px;
}


.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  box-sizing: border-box;
  border: #f5d6fb 2px solid;
}

.card-front {
  background-size: cover;
  background-position: center;
  border-bottom: #dd71f2 10px solid;
}

.card:focus .card-front {
    border-bottom:#dd71f2 15px solid;
    border-radius: 3px;
}
.card:hover .card-front {
    border-bottom: #dd71f2 15px solid;
    border-radius: 3px;
}

.card-front h3 {
    position:absolute;
    bottom:10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    margin:0;
    padding: 1px 1px;
    background-color: rgba(61, 126, 72, 0.5);
    border-radius: 1px;
}

.card-back {
  background-color: #E6F2E6;
  color: #82be82;
  transform: rotateY(180deg);
  padding: 10px;
  box-sizing: border-box;
  border: #f5d6fb 2px solid;
}

.poem{
  font-family: monospace;
  color: #82be82;
  text-align: center;
}