* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-size: 16px;
}
html,
body {
  position: relative;
}

body {
  overflow-y: auto;
  min-height: 100vh;
}
textarea:focus,
input:focus {
  outline: none;
}
a {
  color: inherit !important;
  text-decoration: none !important;
  text-align: center;
}
footer {
  background: #f1f1f1;
  width: 100%;
  padding: 16px 0px;
  color: #999;
  vertical-align: bottom;
  margin-top: 40px;
  text-align: center;
  /* width: 100%; */
  /* height: 2.5rem;   */
}

.banner {
  height: 500px;
  width: 100%;
  background: #999;
  margin: 20px 0px;
}

.content {
  padding: 20px 0px;
  /* display: flex; */
  /* flex-wrap: wrap; */
}

/* ================================== */
/* Layout page CSS */

.tile a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
/* ================================== */

.tile {
  /* TODO: MODULE_CARDS */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Ensure content does not overflow */
  border-radius: 5px;
  /* 1. Fill in the required properties. */
}
.tile img {
  /* TODO: MODULE_CARDS */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* 1. Fill in the required properties. */
}
.tile img:hover {
  /* TODO: MODULE_CARDS */
  cursor: pointer;
  scale: 1.1;
  transition: transform 0.5s;
  filter: brightness(50%);
  /* 1. Fill in the required properties. */
}

/* Hint: Notice the position:absolute and z-index properties. */
/* Think about how those in relation to the existing "tile" classes. */
.tile-text {
  font-size: 24px;
  font-weight: 100;
  color: #fff;
  width: 100%;
  position: absolute;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 5px;
  flex-direction: column;
}

.hero-image {
  /* Use "linear-gradient" to add a darken
   background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/hero.jpg");

  /* TODO: MODULE_LAYOUT */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  color: #fff;
  width: 100%;
  text-align: center;
  /* 1. Set a specific height. */
  /* 2. Position and center the image to scale nicely on all screens. */
}

.hero-subheading {
  font-size: 24px;
  font-weight: 100;
}
.hero-input {
  width: 80%;
  height: 50px;
  padding: 16px;
  border-radius: 8px;
  border: none;
}

.nav-link {
  margin-right: 36px;
}

/* ================================== */
/* Adventures grid page CSS */
/* ================================== */

.adventure-card {
  margin: 1rem;
}
/* .adventure-card */
.row {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0;
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
}
.adventure-card img {
  /* TODO: MODULE_ADVENTURES_GRID */
  object-fit: cover;
  width: 100%;
  object-position: center;
  height: 20rem;
  /* height: 100%; */
  /* 1. Fill in the required properties. */
}
.adventure-card img:hover {
  cursor: pointer;
  filter: brightness(50%);
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
}
.text-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.text-card p {
  margin: 0;
}

/* ================================== */
/* Adventure details page CSS */
/* ================================== */
.container {
  width: 100%;
  margin-right: 10px;
}
.adventure-detail-card {
  margin-top: 1.2rem;
  padding: 0.5rem;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;

  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
}
.heading-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}
.adventure-detail-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 3px;
}
.heading-text {
  margin: 1rem 0;
  padding: 0 0.5rem;
}
.heading-text p {
  color: rgba(0, 0, 0, 0.5);
}

.adventure-card-image {
  width: 100%;
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
}
.adventure-card-image:hover {
  cursor: pointer;
  filter: brightness(50%);
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
}
.experience-content, .experience-content h5 {
  font-weight: 480;
}
.experience-content ul li {
  margin-left: 16px;
  padding: 0;
}
.details-section {
  padding-left: 0.5rem;
}
.details-section h5{
  margin: 1.5rem 0;
}
.explore-item{
  color: orange;
}
@media only screen and (min-width: 768px) {
  /* For desktops phones: */
  #reservation {
    width: 400px;
    position: fixed;
  }
  /* .adventure-card img {
    min-width: 200px;
    aspect-ratio: 4/3;
  } */
}
@media only screen and (max-width: 768px) {
  .text-card {
    flex-direction: column;
    justify-content: center;
  }
}
