.carousel__wrapper {
    align-items:center;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 5rem 0;
    padding: 0 4rem;
}
.carousel__title-container{
  background: white;
  padding: 1.5rem 3rem 0 3rem;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}
.carousel__title-container h2{
  font-family: var(--ff-titles);
  font-size: 2.5rem;
  text-align: center;
}
.carousel {
  position: relative;
  height: 100%;
  width: 100%;
  background: white;
  padding: 2rem 2rem 0 2rem;
}
.carousel__slide {
  display: none;
  height: 100%;
  width: 100%;
}
.slide__wrapper {
  width: 100%;
  height: 100%;
}
.carousel__rightPanel {
  height: 100%;
  width: 100%;
  position: relative;
}
.carousel__rightPanel .carousel__img {
  display: block;
  height: 90vh;
  object-fit: cover;
  width: 100%;
}
.carousel_rightPanel-text{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
}
.carousel_rightPanel-text a{
  color: white;
  font-family: var(--ff-titles);
  font-size: 2rem;
  border: 3px solid white;
  padding: 2rem 5rem;
  background: rgba(0, 0, 0, 0.3);
}
.thumbnails {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.5) 0px -30px 40px -25px;
  z-index: 3;
}
.thumbnails__container {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:2rem;
  flex: 1 1 0px;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}
.thumbnails__container:last-child{
  border-right: none;
}
.thumbnails__container:hover{
  background: var(--grey);
}
.thumbnails__container:hover > img{
  filter: invert(100%) opacity(100%);
}
.thumbnails__container img{
  width: 100%;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%) opacity(40%);
}
.thumbnails__container:active{
  border: none;
  transition: 2s;
}
  
  
  /***************KEYFRAMES****************/
  
  
  
  /***************************************/
  
  
  
  /*************MEDIAQUERIES**************/
  
@media (max-width: 1483px) { }
@media (max-width: 1280px) { }
@media (max-width: 1150px) { }

@media (max-width: 950px) {/*2 REM padding*/
  .carousel__wrapper {
      padding: 0 2rem;
  }
  .thumbnails__container {    
      padding:1rem;
  } 
}

@media (max-width: 768px) { }

@media (max-width: 576px) { /*1 REM padding*/
  .carousel__wrapper {
      padding: 0 1rem;
  }
  .carousel {
      padding: 1rem 1rem 0 1rem;
  }
  
  .carousel_rightPanel-text a{
      padding: 2rem;    
  }
}

@media (max-width: 480px) {
  .carousel__title-container{
      background: white;
      padding: 1.5rem 2rem 0 2rem;
      width: 100%;
  }
  .thumbnails__container {    
      padding:0.5rem;
  }
}

@media (max-width: 455px) {  
  .carousel_rightPanel-text a{
      padding: 2rem 1.5rem;    
  }
  .carousel__title-container h2{
      font-size: 2rem;
    }

}

@media (max-width: 350px) { }
  
  /**************************************/