.visuallyhidden {
  position: absolute;
  z-index: -1;
  right: 0;
  opacity: 0;
  
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff00;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: .25rem;
}
.container-carousel{
  overflow: hidden;
  padding: 20px;
  margin-top: 2em;
  position: relative;
}

.card-carousel {
  --card-width: 80%;
  --card-max-width: 399px;
  --card-height: 256px;
  --carousel-min-width: 600px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: var(--card-height);
  min-width: var(--carousel-min-width);
  transition: filter .3s ease;
  padding-bottom: 2rem;
}

.card-carousel.smooth-return {
  transition: all .2s ease;
}

.card-carousel .card {
  width: var(--card-width);
  max-width: var(--card-max-width);
  text-align: center;
  min-width: 250px;
  height: var(--card-height);
  position: absolute;
  margin: 0 auto;
  color: rgba(0,0,0,.5);
  transition: inherit;
  filter: brightness(.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  filter: blur(1.5px);
}

.card.highlight {
  filter: brightness(1)
}

.image-container {
  width: 36em;
  height: 27em;
  /* position: relative;
  background-size: cover;
  margin-bottom: -3em;
  padding: 1em;
  -webkit-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
  box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3); */
  
}

.image-container::after {
  content: "";
  display: block;
  width: 120%;
  height: 120%;
  position: absolute;
  top: calc(-10% - 3px);
  left: calc(-10% - 3px);
}

.descriptions {
  /* position: relative;
  bottom: 0px; 
  left: 0;
  right: 0;
  text-align: center; */
}

.description {
  display: none;
  color: black;
  padding: 20px;
  border-radius: 10px;
}

.description.active {
  display: block;
}
.post-image {
  /*object-fit: cover;*/
  width: 25em;
  height: 16em;
  border-radius: 2%;
}
.blue-text {  
  color: #00a3b6;  
  font-size: 16px;
}
@media screen and (max-width: 640px) {

  .container-carousel{
    padding: 0;
    margin-top: 0;
  }
  .post-image {
    width: 16em;
    height: 13em;
    position: relative;
    /*object-fit: cover;*/
    background-size: cover;
    /* margin-bottom: 2em; */
    border-radius: 7%;
    padding: .5em;
    /* -webkit-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
    box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3); */
    
  }
  .card-carousel {
    min-width: unset;
    width: 90%;
    --card-height: 12rem;
  }
  .descriptions {
      font-size: 14px;
  }
  .card-carousel .card{
    padding: 1em;
  }
}
