body {
  background-color: rgb(228, 236, 195);
}

h1 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

h2 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans",
    "Liberation Sans", Arial, sans-serif;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/sea.jpg");
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  font-style: normal;
  padding: 200px;
  margin-top: 5px;
}

nav {
  display: flex;
  margin-top: 5px;
  justify-content: center;
}

nav ul {
  background-color: rgb(228, 236, 195);
  color: #333;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 20px;
}

nav li {
  list-style: none;
  font-size: 14px;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans",
    "Liberation Sans", Arial, sans-serif;
  display: inline;
  margin-right: 15px;
  line-height: 42px;
}

nav a {
  text-decoration: none;
  color: #333;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: white;
  font-size: 14px;
  background-color: #c7b793;
}

.bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans",
    "Liberation Sans", Arial, sans-serif;
  padding: 0 20px;
  background-color: #c7b793;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.search-input {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 20px;
  width: 50%;
  justify-content: center;
  display: flex;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  color: #333;
  background-color: white;
}

button.travel-with-us {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  color: #333;
  background-color: white;
}

button.travel-with-us:hover {
  cursor: pointer;
  transform: scale(1.05);
}

#main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 20px;
  background-color: white;
}

#row1 #row2,
#row3,
#row4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

figure:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

a {
  text-decoration: none;
  color: #333;
}

.socials-link {
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.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;
}

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

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.container-about {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 20px;
  background-color: #c7b793;
}

.travel-card {
  position: relative;
  border-radius: 15px;
}

@media (max-width: 900px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav .flex-item-right {
    margin: 0;
    margin-top: 10px;
    justify-content: center;
  }

  .index-images {
    display: block;
    flex-direction: row;
  }
}
