* {
  margin: 0px;
  padding: 0px;
}
html,
body {
  position: relative;
}

body {
  overflow-y: auto; font-family: Verdana, Geneva, Tahoma, sans-serif;
  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;   */
}

.navbar{
background:#f1f1f1;
}

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

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

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



/* Hint: Notice the position:absolute and z-index properties. */
/* Think about how those in relation to the existing "tile" classes. */
.tile {
  margin-top: 20px;
  height:100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 8px;
  overflow: hidden;
}


.tile img {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  width:100%;
  height:100%;
  transition: all 0.2s;
}
.tile img:hover {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  filter: brightness(50%);
  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;
  color: whitesmoke;
}

.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: 500px;
    background-size: cover;
    object-fit: contain;
    margin-bottom: 20px;
}
.d-flex{
  flex-direction: column;
    align-items: center;
    justify-content: center;
}
.a-flex{
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  display: flex; width: 100%;
}
.a-flex p{
margin:10px;
font-weight: 700;
}
.a-flex span{
  padding-right: 10px;
}

.hero-subheading {
  /* font-size: 24px; */text-align: center;
  font-weight: 100; color:#f1f1f1
}
.hero-input {
  width: 60%;
  height: 50px;
  padding: 16px;
  border-radius: 8px;
  border: none;
}

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

header{margin:25px 5px 0px 25px;}
/* ================================== */
/* Adventures grid page CSS */
/* ================================== */
.card{
  height:320px;
  width: 100%;
  overflow: hidden;}
.card img {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  width:100%;
  height:100%;
  transition: all 0.2s;

}
.card img:hover {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  filter: brightness(50%);
  transform: scale(1.1);

}

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

.adventure-detail-card {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  border:1px solid #EEE;
  margin:0px 5px 10px 0px;
  padding:10px;
}

.adventure-card-image {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  
  transition: 0.4s ease-in-out;width: 100%;
  background-size:cover; object-fit: contain;
}
.adventure-card-image img{
  background-size: cover;
    object-fit: contain;
    height: 310px;border-radius:3px;
}
.adventure-detail-card img{cursor:pointer;}
.adventure-card-image:hover, .adventure-detail-card img:hover {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
  filter: brightness(60%);
}

.experience-content{
  border-top:1px solid #eee;
  padding-top: 10px;
}
.experience-content ul li {
  margin-left: 16px;
  padding: 0; font-size: 14px;
}
.experience-content p{
  text-align: justify;
  font-size: 14px;
}
.heading p{
  color:#a7a3a3;
}

.adventure-side-card{position:fixed;right:20px;}
.adventure-side-card .scard h5{border-bottom: 1px solid #dee2e6!important;}
.adventure-side-card .scard{border:none;}
.adventure-side-card .scard-text{font-size: 14px;}
.adventure-side-card .scard-text a{color:rgb(242, 141, 46) !important;}

@media (max-width: 640px) {
.a-flex{
  flex-direction: column;
}
.adventure-side-card{
  position: relative;
  left: 0;
}
}
@media only screen and (max-width: 768px) {
  /* For desktops phones: */
  #reservation {
    width: 400px;
    position: fixed;
  }
  .adventure-side-card{
    position: relative;
    left: 0;
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav  {
    display: flex !important;
            flex-basis: auto;
            justify-content: flex-end;
  }
  .navbar-expand-lg  .navbar-collapse{
    display: flex !important;
    flex-basis: auto;
    justify-content: flex-end;
}

}

