* {
  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%; 
}

.container{
  /* padding: 0; */
  /* display: flex;
  justify-content: center; */
}

/* .titles{
  position: absolute;
  top: 80px;
} */

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



.tile {
  height:100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
}

.tile img {
  width:100%;
  height:100%;
  transition: all 0.2s;
}
.tile img:hover {
  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 {
  color: white;
  position: absolute;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.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");
  background-position: 50% 50%;
  background-size: 100%;

  /* TODO: MODULE_LAYOUT */
  /* 1. Set a specific height. */
  /* 2. Position and center the image to scale nicely on all screens. */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
  color: white;
  text-align: center;
}

.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;
}

nav{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.navbarb{
  margin-left: 10px;
}

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

.main-container{
  margin:0px 100px;
}
span{
  font-weight: 500;
}

li.nav-item{
  padding-left: 20px;
}

.adventure-links{
  display: flex;
  justify-content: center;
}

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

.content {
  margin: 10px;
  padding: 20px 0px;
  display: flex;
  flex-direction: column;
  /* height: 100%px; */
  width: 280px;
}

.content img{
  width: 280px;
  height: 280px;
  border-radius: 10px 10px 0px 0px;
  transition: 0.2s all;
}

.content img:hover{
  filter: brightness(50%);
}

.testimonials{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 10px 10px;
  padding: 0px 10px 5px 10px;
  width: 100%;
} 

.titles{
  padding-left: 15px;
}
@media (min-width: 1200px) {
 .container{
  display: grid;
  grid-template-columns: auto auto auto auto;
 }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container{
    display: grid;
    grid-template-columns: auto auto auto;
   }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container{
    display: grid;
    grid-template-columns: auto auto;
   }
}

@media (max-width: 767px){
  .main-container{
    margin:0px 0px;
  }
  .container{
    display: grid;
    grid-template-columns: auto auto;
   }
   .content {
    margin: 10px;
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    /* height: 100%px; */
    width: 250px;
  }
  
  .content img{
    width: 250px;
    height: 320px;
    border-radius: 10px 10px 0px 0px;
  }

  .testimonials{
    width: 100%;
  }
}

@media (max-width: 480px){
  .container{
    display: grid;
    grid-template-columns: auto;
    place-items: center;
   }
}
/* ================================== */
/* Adventure details page CSS */
/* ================================== */
.adventure-detail-card {
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 16px;
}

.detail-head{
  color: #999;
  opacity: 0.6;
}

.sold-panel{
  border:1px solid rgba(0, 0, 0, 0.1);
  height: 135px;
  padding-top: 13px;
}

.adventure-card-image {
  width: 100%;
  height: 100%;
}
.adventure-card-image:hover {
  filter: brightness(50%);
  transition: all 0.2s;
}

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

.navbar-collapse{
  justify-content: flex-end;
}
@media only screen and (min-width: 768px) {
  /* For desktops phones: */
  #reservation {
    width: 400px;
    position: fixed;
  }
}
