* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/*---header start---*/

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(image/header.avif);
  background-size: cover;
  background-position: center;
}

/*---nav start---*/
nav {
  position: fixed;
  top: 0;
  z-index: 100;
  background-color: #716262;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 3%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
img {
  height: 40px;
  width: 50px;
  border-radius: 5px;
  cursor: pointer;
}
.logo span {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.nav-links li {
  list-style: none;
  display: inline-block;
  margin: 10px 30px;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
.resister-btn {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 15px;
  padding: 5px 21px;
  font-size: 15px;
  font-weight: 400px;
}

/*---container-1 start---*/
.container-1 {
  padding: 120px 7% 0;
}

.header h2 {
  font-size: clamp(25px, 3.5vw, 30px);
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding-top: 20%;
}
.search-bar {
  background-color: #fff;
  width: 70%;
  margin: 30px auto;
  padding: 6px 10px 6px 30px;
  border-radius: 50px;
}

.search-bar form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.search-bar form input {
  display: block;
  border: 0;
  outline: none;
  background: transparent;
}
.search-bar form button {
  background-color: rgb(235, 12, 71);
  height: 45px;
  width: 45px;
  border-radius: 55%;
  cursor: pointer;
  border: 0;
  outline: none;
  color: #fff;
}

.location-input {
  flex: 1;
}
.search-bar form label {
  font-size: 16px;
  font-weight: 600;
}

/*---container-2 start---*/
.container-2 {
  padding: 0 7%;
}
.container-2 h2 {
  margin: 40px 0 25px;
}

/*---container-2-exclusive-start---*/
.exclusive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 25px;
  align-items: center;
  justify-content: space-evenly;
}

.exclusive div img {
  width: 100%;
  height: 140px;
  border-radius: 10px;
}
.exclusive div {
  position: relative;
}
.exclusive div span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
}

/*---container-2-trending-start---*/
.trending {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 32px;
  align-items: center;
  justify-content: space-evenly;
}

.trending div img {
  width: 100%;
  height: 340px;
  border-radius: 7px;
}
.trending div h3 {
  margin-top: 15px;
}
/*-----earning----*/
.earning {
  margin-top: 50px;
  background-image: linear-gradient(to right, #7c5552d2, transparent),
    url(image/earning.avif);
  border-radius: 7px;
  background-position: center;
  background-size: cover;
  height: 350px;
  color: #fff;
}
.earning div {
  padding: 90px 0 20px 50px;
}
.earning h3 {
  font-size: 32px;
}
.earning p {
  font-size: 14px;
  margin-bottom: 15px;
}
.earning a {
  text-decoration: none;
  color: #fff;
  background-color: rgb(249, 13, 76);
  border-radius: 5px;
  font-size: 13px;
  padding: 4px 12px;
}

/*------Travelers Stories------------*/
.stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 30px;
  margin-bottom: 30px;
}
.stories div img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}
.stories div {
  position: relative;
  text-align: center;
}
.stories div p {
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
}
.container-2 .start-btn {
  text-decoration: none;
  color: #f6f2f2;
  background-color: rgb(248, 53, 47);
  border-radius: 20px;
  display: block;
  max-width: 300px;
  text-align: center;
  margin: 60px auto;
  padding: 8px;
}
.about-company {
  margin: 80px auto;
  text-align: center;
}
.about-company h2 {
  font-size: 25px;
}

/*---footer----*/
.footer {
  margin: 10px auto;
  text-align: center;
  text-decoration: none;
}

.footer a {
  color: #636161;
  text-decoration: none;
  font-size: 20px;
  margin: 5px;
}
.footer hr {
  margin-top: 10px;
}
.footer p {
  margin-top: 12px;
  font-size: 13px;
}
.active {
  position: relative;
}
.active::after {
  position: absolute;
  content: "";
  background: #fff;
  width: 25px;
  height: 2px;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-radius: 2px;
}
nav i {
  display: none;
}

/*------------For medium screen devices------*/
@media (min-width: 701px) and (max-width: 1024px) {
  /*---nav start---*/
  nav {
    padding: 15px 2%;
  }
  .logo {
    gap: 6px;
  }
  img {
    height: 40px;
    width: 38px;
  }
  .logo span {
    font-size: 19px;
  }
  .nav-links li {
    list-style: none;
    display: inline-block;
    margin: 10px 11px;
  }
  .nav-links li a {
    font-size: 14px;
  }
  .resister-btn {
    padding: 4.5px 10px;
    border-radius: 3px;
    font-size: 0;
    font-weight: 600;
  }

  .resister-btn::before {
    content: "Register";
    display: block;
    font-size: 14px;
  }
  .resister-btn::after {
    content: "Now";
    display: block;
    font-size: 14px;
    text-align: center;
  }
  /*---container-1 start---*/
  .header h2 {
    font-size: clamp(20px, 3.5vw, 30px);
  }
  .search-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .search-bar form > * {
    flex: 1 1 45%; /* in medium screen, 2column structure */
    padding: 5px;
  }
  .search-bar form > *:nth-child(odd) {
    border-right: 2px solid #ccc; /* vertical line */
  }
  .search-bar {
    width: 80%;
    margin: 35px auto;
    padding: 30px 5px 20px 40px;
    border-radius: 10px;
  }
  .search-bar form button {
    background-color: rgb(235, 12, 71);
    height: 35px;
    width: 35px;
    margin-left: -8px;
    margin-top: 15px;
    margin-right: 35px;
    border-radius: 8px;
  }
  .search-bar form button i {
    font-size: 18px;
  }
  .exclusive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  .trending {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .trending div img {
    height: 370px;
  }
}

/*------------For small screen devices------*/
@media only screen and (max-width: 700px) {
  .logo {
    position: fixed;
    left: 7%;
    top: 4%;
  }
  nav {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: #000;
    text-align: right;
    display: inline-block;
    padding: 100px 7% 0;
    max-height: 100px;
    overflow: hidden;
  }
  .nav-links li {
    display: block;
    text-align: right;
    margin: 10px 0;
  }
  .resister-btn {
    display: inline-block;
    margin: 20px 0;
  }
  .active::after {
    left: -50px;
    bottom: 4px;
  }
  nav i {
    color: #fff;
    position: fixed;
    display: block;
    right: 7%;
    top: 4%;
    font-size: 28px;
  }

  .show {
    max-height: 300px;
  }

  .search-bar {
    width: 80%;
    padding: 20px 10px 30px;
    border-radius: 5px;
    position: relative;
  }
  .search-bar form {
    display: block;
  }

  .search-bar form input {
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin: 10px 0 15px;
    padding-bottom: 10px;
  }
  .search-bar form button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }

  .location-input {
    flex: 1;
  }
  .search-bar form label {
    font-size: 16px;
    font-weight: 600;
  }

  /*---container-2-exclusive-start---*/
  .exclusive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /*---container-2-trending-start---*/

  .trending div img {
    height: 300px;
  }

  /*-----earning----*/

  .earning div {
    padding: 120px 0 20px 40px;
  }
  .earning h3 {
    font-size: 30px;
  }
  .earning p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  /*------Travelers Stories------------*/

  .stories div p {
    font-size: 16px;
  }
  .container-2 .start-btn {
    max-width: 200px;
    padding: 10px;
  }
  .about-company h2 {
    font-size: 23px;
  }
  .about-company p {
    font-size: 15px;
  }
}

/*----listing page----*/
/*2nd page----*/
.container-box {
  min-height: 100vh;
}
.navBar-white {
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.navBar-white .logo span {
  color: rgb(235, 12, 71);
}
.navBar-white .nav-links li a {
  color: #000;
}
.navBar-white .resister-btn {
  background-color: rgb(235, 12, 71);
  color: #fff;
}
.navBar-white i {
  color: #000;
}
.navBar-white .active::after {
  background: rgb(235, 12, 71);
}
/*2nd page-travel-outside-left---*/

.travel-outside {
  display: grid;
  grid-template-columns: 3fr 1.15fr;
  padding: 130px 8% 50px;
}
.travel-outside-left-col {
  margin-right: 70px;
}
.travel-outside-left-col span {
  margin-bottom: 20px;
}
.travel-outside-left-col h2 {
  margin-bottom: 25px;
}

.travel-outside-left-col hr {
  color: #bbadad;
}
.travel-outside-left-col .room {
  display: grid;
  grid-template-columns: 3fr 3fr 1fr;
  padding: 20px 0 30px;
}

.travel-outside-left-col .room .dtls {
  line-height: 30px;
  padding-left: 20px;
}
.travel-outside-left-col .room .dtls i {
  color: rgb(235, 12, 71);
  font-size: 22px;
}
.travel-outside-left-col .room p {
  font-size: 15px;
  color: #403f3f;
}
.travel-outside-left-col .room .img img {
  width: 100%;
  height: 270px;
  border-radius: 8px;
}
.travel-outside-left-col .room .rate {
  text-align: right;
  margin-top: 170px;
}

.travel-outside-left-col .room .rate span {
  font-size: 18px;
}
/*2nd page-travel-outside-right---*/
.sidebar {
  border: 1px solid #999;
  padding: 40px 40px;
  margin-top: 30px 20px;
}
.sidebar h2 {
  font-weight: 500;
}
.sidebar h3 {
  font-weight: 500;
  margin: 20px 0 10px;
}
.filter {
  display: flex;
  align-items: center;
  color: #555;
  margin-bottom: 10px;
}
.filter p {
  flex: 1;
}
.filter input {
  margin-right: 15px;
}
.sidebar-link {
  text-align: right;
  margin: 20px 0;
}
.sidebar-link a {
  text-decoration: none;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;

  margin: 40px 0;
}
.pagination i {
  font-size: 35px;
  margin: 0 20px;
}
.pagination span {
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin: 10px 8px;
}
.pagination .current {
  background-color: #000;
  color: #fff;
}
/*For Medium Device----2nd page-travel-outside-left---*/

/*----2nd page-travel-outside-left---*/
@media (min-width: 701px) and (max-width: 1024px) {
  .travel-outside {
    display: grid;
    grid-template-columns: 3fr 1.25fr;
    padding: 130px 6% 50px;
  }
  .travel-outside-left-col {
    margin-right: 65px;
  }
  .travel-outside-left-col .room {
    display: grid;
    grid-template-columns: 1fr;
  }

  .travel-outside-left-col .room .dtls {
    padding-left: 0;
  }

  .travel-outside-left-col .room p {
    font-size: 14px;
  }
  .travel-outside-left-col .room .img img {
    height: 260px;
  }
  .travel-outside-left-col .room .rate {
    margin-top: 5px;
  }

  .travel-outside-left-col .room .rate span {
    font-size: 16px;
  }
  /*2nd page-travel-outside-right---*/
  .sidebar {
    padding: 20px 15px;
  }

  .sidebar h2 {
    font-size: 23px;
  }
  .sidebar h3 {
    font-size: 18px;
  }
  .filter p,
  span {
    font-size: 13px;
  }
  .filter input {
    margin-right: 5px;
  }
  .sidebar-link {
    font-size: 15px;
  }

  .pagination {
    font-size: 18px;
    margin: 25px 0 25px;
  }
  .pagination i {
    font-size: 30px;
    margin: 0 10px;
  }
  .pagination span {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 10px 2px;
  }
}

/*For Small Device----2nd page-travel-outside-left---*/

/*----2nd page-travel-outside-left---*/
@media only screen and (max-width: 700px) {
  .travel-outside {
    display: grid;
    grid-template-columns: 1fr;
  }
  .travel-outside-left-col {
    margin-right: 0;
  }

  .travel-outside-left-col h2 {
    font-size: 20px;
    margin-bottom: 23px;
  }
  .travel-outside-left-col hr {
    margin-bottom: 15px;
  }

  .travel-outside-left-col .room {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px 0 25px;
  }
  .travel-outside-left-col .room .dtls {
    padding-left: 0;
  }
  .travel-outside-left-col .room .dtls i {
    font-size: 21px;
  }
  .travel-outside-left-col .room p {
    font-size: 13px;
  }

  .travel-outside-left-col .room h3 {
    font-weight: 500;
    font-size: 18px;
  }
  .travel-outside-left-col .room .img img {
    height: 260px;
  }
  .travel-outside-left-col .room .rate {
    margin-top: 10px;
  }

  .travel-outside-left-col .room .rate span {
    font-size: 17px;
  }
  /*2nd page-travel-outside-right---*/

  .sidebar h2 {
    font-size: 23px;
  }
  .sidebar h3 {
    font-size: 18px;
  }
  .filter p,
  span {
    font-size: 14px;
  }
  .sidebar-link {
    font-size: 15px;
  }

  .pagination {
    font-size: 18px;
    margin: 25px 0 25px;
  }
  .pagination i {
    font-size: 30px;
    margin: 0 10px;
  }
  .pagination span {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 10px 2px;
  }
}

/*-------3rd page-Online -packages-----*/
.online-packages {
  min-height: calc(100vh - 80.6px);
  margin-top: 80.6px;
  padding: 60px 10% 30px;
}
.online-packages h1 {
  margin-bottom: 5px;
}
.online-packages .review {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.online-packages i {
  color: rgba(235, 12, 71);
  font-size: 18px;
}
.online-packages .review span {
  margin-left: 15px;
  margin-right: 25px;
  font-size: 17px;
}

.gallery {
  display: grid;
  grid-gap: 10px;
  grid-template-areas: "img1 img1 img2 img3" "img1 img1 img4 img5";
  grid-auto-rows: 180px;
}

.gallery div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-img1 {
  grid-area: img1;
}
.gallery-img2 {
  grid-area: img2;
}
.gallery-img3 {
  grid-area: img3;
}
.gallery-img4 {
  grid-area: img4;
}
.gallery-img5 {
  grid-area: img5;
}
.details {
  margin: 10px 0 20px;
}
.details h2 {
  font-weight: 500;
}
.details p {
  color: #403f3f;
}
.details h4 {
  font-weight: 600;
  font-size: 20px;
  text-align: right;
}

.line {
  max-width: 100%;
}
.check-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 30px 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  padding: 10px 50px;
  border-radius: 5px;
}
.check-form div {
  padding: 20px;
}
.check-form label {
  display: block;
}
.check-form input {
  border: none;
  background: transparent;
  outline: none;
}
.check-form button {
  border: 0;
  outline: none;
  background-color: rgba(235, 12, 71);

  padding: 18px;
  border-radius: 8px;
  width: 350px;
}
.check-form button a {
  text-decoration: none;
  font-size: 16px;
  color: #fff;
}
.guest-field {
  flex: 1;
}
.details-list {
  margin: 50px 0;
  list-style: none;
}
.details-list li {
  margin-bottom: 20px;
  margin-left: 50px;
  font-size: 20px;
  font-weight: 500;
  color: #555;
  position: relative;
}
.details-list li span {
  display: block;
  font-size: 16px;
  font-weight: 400;
}
.details-list li i {
  position: absolute;
  top: 5px;
  left: -40px;
  color: #555;
  font-size: 20px;
}
.offer {
  max-width: 700px;
  margin: 20px 0 60px;
  font-size: 19px;
}

.map {
  margin: 60px 0;
}
.map h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
}
.map iframe {
  width: 100%;
}
.map b {
  font-size: 20px;
  display: block;
  margin: 15px 0 10px;
}
.map p {
  font-size: 18px;
}
.host {
  display: flex;
  gap: 20px;
  margin: 60px 0 45px;
}
.host img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.host h3 {
  font-weight: 500;
  line-height: 40px;
  font-size: 21px;
}
.host p {
  font-size: 15px;
  color: #403f3f;
  font-weight: 500;
}
.contact-host {
  text-decoration: none;
  font-size: 17px;
  border: 1px solid rgb(235, 12, 71);
  color: #555;
  padding: 8px 35px;
  border-radius: 8px;
  margin-left: 80px;
  margin-bottom: 80px;
  display: inline-block;
}

/*For medium screen-3rd page-*/

@media (min-width: 701px) and (max-width: 1024px) {
  .check-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .check-form > div {
    flex: 1;
    min-width: 150px;
  }

  .check-form button {
    flex-basis: 100%;
  }
  .check-form button {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
}

/*For small screen-3rd page-*/

@media only screen and (max-width: 700px) {
  .online-packages {
    padding: 40px 10% 30px;
  }
  .online-packages .review div i {
    font-size: 17px;
  }
  .online-packages .review div span {
    font-size: 15px;
  }
  .review p {
    font-size: 14px;
    margin-top: 10px;
  }
  .gallery {
    display: grid;
    grid-gap: 7px;
    grid-template-areas:
      "img1 img1"
      "img1 img1"
      "img2 img3"
      "img4 img5";
    grid-auto-rows: 120px;
  }
  .details h2 {
    font-size: 17px;
  }
  .details p {
    font-size: 13px;
  }
  .details h4 {
    font-size: 16px;
  }

  .check-form {
    display: flex;
    align-items: flex-start;
    margin: 45px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 10px 30px;
  }
  .check-form div {
    padding: 20px 0;
    width: 100%;
  }
  .check-form input {
    border-bottom: 1px solid #b9b4b4;
    width: 100%;
    padding-bottom: 5px;
    font-size: 13px;
  }

  .check-form button {
    font-size: 14px;
    margin: 10px 0 15px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .details-list li {
    font-size: 19px;
  }
  .details-list li span {
    font-size: 14px;
  }
  .details-list li i {
    font-size: 21px;
  }
  .offer {
    max-width: 700px;
    font-size: 15px;
    text-align: justify;
    margin-bottom: 50px;
  }

  .map {
    margin: 30px 0 40px;
  }
  .map h3 {
    font-size: 20px;
  }

  .map b {
    font-size: 15px;
  }
  .map p {
    font-size: 15px;
  }
  .host {
    display: block;
    line-height: 28px;
    margin-bottom: 20px;
    margin-top: 30px;
  }

  .host p {
    font-size: 14px;
    line-height: 25px;
  }
  .host-review i {
    font-size: 16px;
  }
  .host-review-dts {
    display: block;
  }
  .contact-host {
    font-size: 16px;
    padding: 8px 30px;
    border-radius: 5px;
    margin-left: 0;
    margin-bottom: 40px;
  }
}
