body {font-family: "Lara", serif; color: #000; margin: 0; padding: 0;}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  left: 0;
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  right: 0; 
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 10px;
  padding: 5px 10px;
  display: block;
  position: relative;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-color: blue;
}

.menu-icon {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 50px;
      right: 0;
      background-color: #333;
  }

  .nav-links li {
      text-align: center;
      margin: 10px 0;
  }

  .menu-icon {
      display: block;
  }

  .nav-links.show {
      display: flex;
  }
}

.container {
  display: flex;
  height: 100%;
}

.slideshow-container {
  flex: 0 0 70%; /* 60% of the container width */
  position: relative;
}

.image-container {    
  width: 100%;
  height: 800px; /* Adjust the height as needed */
  overflow: hidden;
}

.sidebar {
  flex: 0 0 30%; /* 40% of the container width */
  background-color: khaki;
  position: relative;
}
.sidebar-content {
  display: flex;
  justify-content: space-between; 
  position: absolute; 
  width: 100%; 
  padding: 10px 0px;
  bottom: 10px; 
}
.sidebar-content a {
  color: black;
  font-size: 10px;
  text-decoration: none;
}
.sidebar-content a:hover {
  text-decoration: underline;
}

.slide {
  display: none;
  position: relative;
  transition: all 1s ease-in-out;
}

.overlay {
  flex: 0 0 30%;
  width: 30%; 
  position: absolute;
  top: 200px; right: 300px; 
}
.overlay h1 {
  font-weight: 700;
  font-size: 80px; 
}

.image {
  width: 100%;
  height: 100%; 
  vertical-align: middle;
}

.text {
  color: black;
  padding: 20px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.text h2 {
  font-size: 24px;
}
.text hr {
  width: 50%;
  margin: 10px 0;
}
.text p {
  font-size: 18px;
  line-height: 1.5;
}
.text button {
  background-color: #008CBA; /* Blue background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 10px 20px; /* Some padding */
  text-align: center; /* Centered text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Make the buttons appear side by side */
  font-size: 16px; /* Increase font size */
  margin-top: 10px; /* Some space above the button */
  cursor: pointer; /* Pointer/hand icon */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s;
}
.text button:hover {
  background-color: #005f73; /* Darker blue background on hover */
}

.slide:hover .image {
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.slide:hover .text {
  opacity: 1;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.dot.active {
  background-color: #717171;
}
.dot:hover {
  background-color: #717171;
}
.dot-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.active, .dot:hover {
  background-color: #717171;
}