.carousel-whole {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 550px;
}

.carousel {
  overflow: hidden;
  width: 300px;
  height: 900px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: space-between;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 1px 2px 3px rgba(0,0,0,0.25);
}

.inner {
  white-space: nowrap;
  transition: transform .05s;
}

.carousel-item {
  display: inline-flex;
  justify-content: center;
  align-content: center;
}

.carousel-item-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 310px;
}

.carousel-img {
  width: 300px;
}

.carousel-text {
  white-space: normal;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  font-size:.8em;
  width: 250px;
  height: 150px;
}

.carousel-name {
  font-size: 1.7em;
  font-weight: 800;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family: 'Poppins', sans-serif;
  font-style: bold;
}

.carousel-img-button {
  background-color: transparent;
  border-style: none;
  cursor: pointer;
}

.heart {
  border: none;
  background-color: transparent;
  color: rgb(255, 255, 255);
  font-size: 15px;
}

.heart:hover {
  color: #CDD7FB;
}

.carousel-list {
  list-style-type: circle;
  color: rgba(77, 49, 18);
  font-size: 1em;
}

.carousel-framework {
  columns: 2;
  display: inline-block;
  width: 100%;

}

.carousel-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding-top: 5%;
  width: 50%;
  height: auto;
}


@media screen and (min-width: 620px) {
  .carousel-whole {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 350px;
  }

  .carousel {
    overflow: hidden;
    width: 570px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
  }

  .inner {
    white-space: nowrap;
    transition: transform .5s;
  }

  .carousel-item {
    display: inline-flex;
    justify-content: center;
    align-content: flex-start;
  }

  .carousel-item-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 550px;
  }
  .carousel-text {
    white-space: normal;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    margin-right: 3%;
  }

  .carousel-name {
    font-size: 2em;
    font-weight: 800;
  }

  .carousel-img {
    width: 220px;
    align-self: center;
  }

  .carousel-text {
    width: 50%;
    height: 80%;
  }

  .heart {
    font-size: 20px;
  }

}

@media screen and (min-width: 920px) {
  .carousel-whole {
    height: 420px;
  }
  .carousel {
    overflow: hidden;
    width: 830px;
    font-size: 1.2em;
  }

  .carousel-item-inner {
    width: 950px;
  }
  .carousel-img {
    width: 270px;
  }

  .heart {
    font-size: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .carousel-whole {
    height: 450px;
  }
  .carousel {
    overflow: hidden;
    width: 900px;
    /* font-size: 1em; */
  }

  .carousel-item-inner {
    width: 850px;
    height: 380px;
    justify-content: space-around;
  }

  .carousel-img {
    width: 320px;
  }


  .heart {
    font-size: 30px;
  }

  .carousel-text {
    width: 45%;
    height: 65%;
  }
}

@media screen and (min-width: 2560px) {
  .carousel-whole {
    height: 700px;
  }
  .carousel {
    overflow: hidden;
    width: 1200px;
    font-size: 1.4em;
  }

  .carousel-item-inner {
    width: 1000px;
    height: 800px;
  }

  .carousel-img {
    width: 500px;
  }


  .heart {
    font-size: 40px;
  }

  .carousel-name {
    font-size: 3em;
  }
}