/* Add this to your existing CSS file */

.scarousel {
  display: flex;
  overflow: hidden;
  width: calc(100% - 60px); /* Adjust based on button width */
  max-width: 100%; /* Ensure it doesn't overflow the container */
}

.scarousel-container {
  position: relative;
  display: flex;
  justify-content: center; /* Center the carousel */
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.scarousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.scarousel-item {
  flex: 0 0 50%; /* Each item takes up 50% of the carousel width */
  box-sizing: border-box;
}

/*.scarousel-item {
/*  max-width: 100%; /* Ensure it doesn't overflow the container */
/*  min-width: 50%; /* 100% divided by 3 items */
/*  box-sizing: border-box;
}*/ 

.scarousel-item img {
  width: 100%;
  display: block;
}

.scarousel-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
  transition: transform 0.5s ease;
  width: 50%;  
}

.scarousel-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.scarousel-image:hover img {
  transform: scale(1.1); /* Zoom effect */
  transform-origin: center center;}

.snav-button {
  background-color: #2e3c6d; /*rgba(0, 0, 0, 0.5); */
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 10px;
  height: 40px; /* Ensure buttons have a height */
}

.snav-button.left {
  left: 0;
}

.snav-button.right {
  right: 0;
}


