
.carousel {
  position: relative;
  width: 100%;      /* adjust to what you need */
  height: 100%;
  margin: auto;
  overflow: hidden;
  padding-bottom: 30px;
  
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
  margin-top: 50px;
  
}

.slide {
  flex: 0 0 300px;   /* base width of slide */
  height: 300px;
  margin: 0 20px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.4;
  
  display: flex;
  justify-content: center;
  align-items: center;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.slide.active {
  transform: scale(1.2); 
  opacity: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  padding: 10px 15px;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 2rem;
  z-index: 10;
}

.left { left: 10px; }
.right { right: 10px; }


.shadow {
  border: 3px solid rgba(229, 9, 20, 0.3);
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.2);
  
}

.round{
border-radius: 20px;

}

::selection {
    background: inherit;
    color: inherit;
}
.carousel.fullscreen{
    position: absolute;
    height: fit-content;
    width: 100%;
    object-position: center;
   
}


.hidden {
     display: none;
}
#lightbox {
  position: absolute;
  inset: 0;
  
}


@media only screen and (min-width:60em) {
.left { left: 1.5vw; }
.right { right: 10px; }

.fullscreen {
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    top: 50px;
    backdrop-filter: blur(20px);
    z-index: 1000;
}
.fullscreen .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  padding: 40px 30px;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 2rem;
  z-index: 10;
}


.fullscreen .slide {
  flex: 0 0 600px;   /* base width of slide */
  height: 600px;
  margin: 0 20px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  
  
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.noscroll:not(.fullscreen) {
    height: 100%;
    overflow: hidden;
}
}

