.mycontainer{
 
}
nav{
  display:none;
  font-family: "Bitter", sans-serif;
    align-items:center;
  justify-content:space-between;
border-bottom: 2px solid #a51720;
padding-bottom:20px;

background-color: rgb(165 23 32);
padding:10px 5px;

}
ul{
  display:flex;
    align-items:center;
  justify-content:space-between;
list-style-type: none;

}
a{
  text-decoration:none;
  margin: 0 20px;

}
.logo{
  height:50px;
  
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  z-index: 1000;

}

.nav-links a {
  text-decoration: none;
 font-family: "Bitter", sans-serif;
color: white;

}

 .text-overlay {
         font-family: "Bitter", sans-serif;
    }

.myhamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

 @media (max-width: 768px) {

 .text-overlay {
        font-size: 4.5vw; /* Increase font size relatively for better readability on small screens */
        bottom: 5%; /* Adjust position for mobile */
        left: 5%;
        right: 5%;
    }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    border: 1px solid #ccc;
    padding: 10px;
   
  }

  ul{
  
    align-items:flex-start;
  

}

  .nav-links.active {
    display: flex;
  }

  .myhamburger {
    display: block;
  }

  .nav-links ul {
    display: flex;
    padding-left: 20px; /* Adds a little spacing */
  }
 

}

.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 650px;
  margin: auto;
  overflow: hidden;
}

.mySlides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mySlides.active {
  opacity: 1;
  z-index: 1;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
  transition: 0.3s;
}

.next { right: 0; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

.dots {
  text-align: center;
  position: relative;
  top: -40px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #717171;
}


.text-overlay {
    position: absolute;
    bottom: 10%; /* Responsive bottom position */
    left: 10%;  /* Responsive left position */
    right: 10%; /* Ensures text doesn't go too far right on smaller screens */
    color: white; /* White text */
    font-size: 2.5vw; /* Responsive font size based on viewport width */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds readability against various image backgrounds */
    text-align: left; /* Align text to the left */
    z-index: 5; /* Ensure it's above the image */
}