html, body {
  margin: 0; 
  padding: 0;
  box-sizing: border-box;
}

.slides {
  width: 100%;
  height: 90vh;
  display: block;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.slides * {
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.slides input {
  display: none;
}

.slide-container {
  display: flex;
   width:100vw; /* Set width to accommodate all slides */
}

.slide {
  top: 0;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  position: absolute;
  transform: translate(1, 0); /* Corrected translate values */
  transition: all 0.7s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.nav label {
  width: 40px;
  height: 40%; /* Adjusted height to 20% */
  display: none;
  position: absolute;
  opacity: 1; /* Corrected opacity value */
  z-index: 99;
  cursor: pointer;
  transition: opacity 0.2s;
  color: rgb(255, 255, 255);
  font-size: 40pt;
  text-align: center;
  line-height: 800px;
  font-family: "Arial", sans-serif;
  background-color: rgba(255, 255, 255, 0);
  text-shadow: 0px 0px 15px rgb(219, 219, 219);
}

.slide:hover+.nav label {
  opacity: 0.5;
}

.nav label:hover {
  opacity: 1;
}

.nav .next {
  right: 0;
}

input:checked+.slide-container .slide {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

input:checked+.slide-container .nav label {
  display: block;
}

.nav-dots {
  width: 100%;
  bottom: 15px;
  height: 20px; 
  display: block;
  position: absolute;
  text-align: center;
}

.nav-dots .nav-dot {
  top: -50px;
  width: 11px;
  height: 11px;
  margin: 0 4px;
  position: relative;
  border-radius: 50%; 
  display: inline-block;
  background-color: rgb(255, 255, 255);
}

.nav-dots .nav-dot:hover {
  cursor: pointer;
  background-color: rgb(255, 197, 36);
}

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5 {
  background: rgb(245, 200, 0);
}


