/*
.slider{
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}
.slider img{
    width: 100%;
    display: none;
}
img.displaySlide{
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}
.slider button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 10px 15px;
    background-color: hsla(0, 0%, 0%, 0.5);
    color: white;
    border: none;
    cursor: pointer;
}
*/
  
.slider{
  aspect-ratio: 1920  / 401;
  position: relative;
  height: auto;
  overflow: hidden;
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*opacity: 0;*/
  background-repeat: no-repeat;
  background-size: 100% auto;
  object-fit: contain;
}
.animatedSlide{
  transition: opacity 1s ease-in-out;
}

.sliderPoints{
  width: 100%;
  position: absolute;
  bottom: 15px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  z-index: 1;
  gap: 10px;
}

.sliderPoint{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: black;
  opacity: 0.6;
  margin: 1px;
  padding: 0;
  border: 0px transparent;

  transition: background-color 0.3s ease-in-out;
}

.sliderPoint:hover{

  background-color: white;
}

.sliderPointActive{
  background-color: white;
}

/*
.slider .slide:first-child {
  opacity: 1;
}
*/
.prev{
  position: absolute;
  left: 0;
  border-top-right-radius:  50%;
  border-bottom-right-radius:  50%;
}
.next{
  position: absolute;
  right: 0;
  border-top-left-radius:  50%;
  border-bottom-left-radius:  50%;
}
.slider .switchbutton{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 40px 15px;

  opacity: 0.6;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

.slider .switchbutton:hover{
  opacity: 1;
}

@media (max-width: 767px){
  .slider{
    height: 268px;
    width: 100%;
  }
  .slide{
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
  }
}

@media (max-width: 1000px){
  /*
	.sliderContainer{
		height: auto!important;
		padding-top: 20px!important;
		padding-bottom: 20px!important;
	}
  */
	.sliderH2{
		font-size: 20px!important;
	}
	.sliderP{
		font-size: 13px!important;
	}
}