* {
  margin: 0px;
  padding: 0px;
}
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;
}
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 {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  height: 300px;
  width: 100%;
  position: relative;
  display: block;
  background-color: rgba(128, 128, 128, 0.515);
  overflow: hidden;
  border-radius: 5px;
}

.tile img {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
  transition: transform 1s ease;
}
.tile img:hover {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  filter: brightness(0.5);
  transform: scale(1.1);
}

/* Hint: Notice the position:absolute and z-index properties. */
/* Think about how those in relation to the existing "tile" classes. */
.tile-text {
  position: absolute;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  line-height:10px;
  font-size: 0.8rem;
}

.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 */
  /* 1. Set a specific height. */
  /* 2. Position and center the image to scale nicely on all screens. */
  width: 100%;
  height: calc(100vh - 100px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.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 {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
  width: 100%;
  position: relative;
  border: 1.2px solid rgba(128, 128, 128, 0.434);
  font-size: 0.8rem;
  border-radius: 5px;
  overflow: hidden;
}
.adventure-card img {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  width: 100%;
  height: 75%;
  object-fit: cover;
}
@media only screen and (min-width: 1200px) {
  /* For desktops : */
  .adventure-card img {
    height: 85%;
  }
}
.adventure-card img:hover {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  filter: brightness(0.55)
}

/* ================================== */
/* Adventure details page CSS */
/* ================================== */

.adventure-detail-card {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  border-radius: 6px;
  padding: 0.6em;
}
.adventure-card-image-container{
  height: 55vh;
}

.adventure-card-image {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  height:100%;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.adventure-card-image:hover {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  filter: brightness(0.7);
}

.small-image-container{
  height: 48%;
}



.experience-content ul li {
  margin-left: 16px;
  padding: 0;
}
#reservation{
  position: relative;
}

/* For desktops phones: */
/* @media only screen and (min-width: 768px) { */
@media only screen and (min-width: 992px) {
  #reservation {
    width: 300px;
    position: fixed;
  }
}

@media only screen and (min-width: 1280px) {
  #reservation {
    width: 350px;
  }
}

@media only screen and (min-width: 1480px) {
  #reservation {
    width: 400px;
  }
}


