/* Desktop  */
body {
  /* background-color: green; */
  font-family: sans-serif;
  width: 100%;
}

/* Tablets */
@media (max-width: 768px) {
  body {
    /* background-color: red; */
  }

  .navbar {
    flex-direction: column;
    padding: 15px 0px;
  }

  .logo img {
    width: 70px;
    height: 70px;
  }

  .hero h1 {
    font-size: 18px;
  }

  .heading {
    border-left: none !important;
    text-align: center;
  }

  .popular {
    justify-content: center;
  }

  .banner {
    height: 300px;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .card h3 {
    font-size: 14px;
  }

  .contact_info {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  footer section{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer div {
    margin-bottom: 10px;
  }
}

/* Mobile  */
@media (max-width: 480px) {
  body {
    /* background-color: yellow; */
  }

  .popular, .pills {
    flex-direction: column;
  }

  .banner {
    height:200px
  }

  .banner img {
    object-position: right;
  }

  .banner div {
    font-size: 14px
  }

  .cards {
    grid-template-columns: repeat(1, 1fr) !important;
  }

}

* {
  margin: 0px;
}

main {
  margin: 15px;
}

.logo img {
  width: 100px;
  height: 100px;
}

.menu {
  display: flex;
  gap: 20px;
}

.banner {
  height : 400px;
  margin-top: 15px;
  position: relative;
}

.banner .banner_text {
  position: absolute;
  /* width: 100%; */
  bottom:15px;
  left:15px;
  color: white;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bookmark {
  height:20px;
  width: 20px;
  background-color: gray;
  border-radius: 50%;
  position: absolute;
  top:5px;
  right:5px;
  padding: 2px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.pills {
  display: flex;
  gap: 10px
}

.pills div {
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  padding: 5px;
  border-radius: 20px;
}

.pills span {
  font-size: 10px;
}

.popular {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
}

.heading {
  border-left: 5px solid orange;
  padding-left: 10px;
  /* line-heading:20px; */
}

.navbar {
  background-color: rgb(0, 0, 51);
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 100%; */
  padding: 0px 15px;

}

.menu {
  display: flex;
  /* flex-direction: row; */
  color: white;
}

.hero {
  height: 50vh;
  background-image: url("https://github.com/Mohak-Trivedi/xcruise-assets/blob/master/hero-cruise.png?raw=true");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero div {
  text-align: center;
  color: white;
}

.hero button {
  background-color: orange;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 15px;
}

.card:hover {
  cursor: pointer;
  background-color: lightgray;
  border: 1px solid #000;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap:10px;
  row-gap: 10px;
}

.card img {
  height:100%;
  width:100%;
  object-fit: cover;
  object-position: center;
}

.card {
  position: relative;
}

.card h3 {
  position: absolute;
  left:15px;
  bottom:15px;
  color: white;
}

.contact_info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact {
  text-align: center;
  border: 2px solid gray;
  margin: 10px;
  padding: 10px;
  margin-top: 40px;
}

.pill img {
  width: 20px;
  height: 20px;
  border-radius: 50%;

}

#contact h3 {
  text-align: center;
}

#contact hr {
  margin:auto;
  background-color: orange;
  width: 110px;
  height: 3px;
  margin-top: 5px;
}

#contact {
  margin: 40px;
}

.social-icons {
  display: flex;
  gap: 5px;
}

.social-icons img {
  width:25px;
  height:25px;
}

footer {
  background-color: rgb(0, 0, 51);
  padding: 15px;
}

footer section{
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

footer h3 {
  color: orange;
}

footer ul {
  list-style: none;
  color: white;
  padding: 0px;
  line-height: 25px;
}

.footer_rights {
  color: white;
  text-align: center;
}

.discover .card {
  cursor: pointer;
}