* {
  margin: 0px;
  padding: 0px;
}
body {
  overflow-y: auto;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}
textarea:focus,
input:focus {
  outline: none;
}

header a {
  color: inherit !important;
  text-decoration: none !important;
}


footer {
  background: #f1f1f1;
  width: 100%;
  padding: 16px 0px;
  color: #999;
  vertical-align: bottom;
  margin-top: 180px;
;  /* width: 100%; */
  /* height: 2.5rem;   */
}
.container{
text-align: center;
}

.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. */
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
border-radius:10px;
overflow: hidden;
position: relative;
margin:0 auto;
height: 20rem;
}
.tile img {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
 height: 100%;
 width: 100%;
 object-fit: cover;
 border-radius: 10px;
}
.tile img:hover {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  filter: brightness(50%);
  transform: 25%;
  transition: all 0.2s;
}

/* Hint: Notice the position:absolute and z-index properties. */
/* Think about how those in relation to the existing "tile" classes. */
.tile-text {
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  position:absolute;
}

.hero{
  margin-block-start: 1.5rem;
  margin-block-end:1.5rem;
}
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  
  /* TODO: MODULE_LAYOUT */
  /* 1. Set a specific height. */
  /* 2. Position and center the image to scale nicely on all screens. */
 background-image:linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)),url(../assets/hero.jpg);
height:60vh;
width: 100vw;
 background-size: cover;
 background-position:center;
 background-repeat: no-repeat;
}

.hero-text{
position: relative; 
padding:1rem;
top:8rem;

}
.hero-heading{
  font-size:2.25rem;

}


.hero-subheading {
  font-size: 1.25rem;
  font-weight: 100;
  padding:0 1rem;
}
.hero-input {
  width: 60%;
  height: 50px;
  padding: 0.5rem;
  border-radius: 8px;
  border: none;

}
.hero-input:focus{
  outline:none;
}

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

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

.adventure-card  {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  height: 320px;
  border: 1px solid red;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;


}

.card-body{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items:flex-start;
  max-height: 30rem;
}
.adventure-card img {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  height: 100%;
  width: 100%;
  object-fit: cover;
  height: 32vh;
 
}
.adventure-card img:hover {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  filter: brightness(50%);
  transform: 25%;
  transition: all 0.2s;
}

.adventure-card:hover{
  cursor:pointer;
}
/* ================================== */
/* Adventure details page CSS */
/* ================================== */

.adventure-detail-card {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  

}

.adventure-card-image {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  height: 35vh;
  width: 100% ;
}
.adventure-card-image:hover {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
}


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