img {
	max-width: 100%;
}

#slider-wrap {
	section {
		position: relative;
	}
}

#slider {
	list-style: none;
	width: 100%;
	text-align: center;
	position: relative;
	padding: 0;
	margin: 0;
	li {
		transition: all 0.2s;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 0;
		text-align: center;
		padding: 0;
		transition: all 0.2s ease-in;
		opacity: 0;
		visibility: hidden;
		&.active {
			display: block;
			position: relative;
			top: unset;
			left: unset;
			right: unset;
			z-index: 1;
			opacity: 1;
			visibility: visible;
		}
	}
}


#dot-navigation {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
	li {
		width: 10px;
		height: 10px;
		margin: 10px;
		background-color: rgba(0, 0, 0, 0);
		display: inline-block;
		border-radius: 75px;
		border: 2px solid rgba(255, 255, 255, 1);
		cursor: pointer;
		&.active {
			background-color: rgba(255, 255, 255, 1);
			border: 2px solid rgba(255, 255, 255, 0);
		}
	}
}

.next-previous-navigation {
	display: flex;
	position: absolute;
	top: calc(50% - 40px);
	left: 0;
	right: 0;
	z-index: 999999;
	// I would remove these text arrows and apply an icon background or something
	font-size: 2rem;
	line-height: 1;
	user-select: none;}
	.next,
	.previous {
		cursor: pointer;
		padding: 10px;
		text-shadow:1px 1px 2px #fff2,1px 1px 2px #fff2,1px 1px 2px #fff2;
		font-size:2em;
		font-weight:bolder;	
		color:#0af6
	}
	:is(.next,	.previous):hover {
		color:#0af;		
		text-shadow:1px 1px 2px #fff,1px 1px 2px #fff,1px 1px 2px #fff;
	}
	.next {
		margin-left: auto;
	}
	.previous {
		margin-right: auto;
		scale:-1;
	}
}





/*------------------------------*/














.wrapper{
	position: relative;
}
.wrapper #next{
	    position: absolute;
    top: 40%;
    right: 0;
    background: #fff;
    border: none;
}
.wrapper #prev{
	    position: absolute;
    top: 40%;
    left: 0;
    background: #fff;
    border: none;
}
.slider {
  width: 100%;
  height: 320px;
  max-width: 100%;
  border: 1px solid white;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  font-size: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  padding: 0.5rem 2rem;
  cursor: pointer;
  font-weight: 600;
  margin: 0 10px;
}

@media (max-width: 991px) {
    .slider {
        height: 150px !important; /* Adjust the height as needed */
    }
}