* {
  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-direction: column;
  flex-wrap: wrap;
}

.content p{
  font-size: 16px;
  font-weight: 500;
}

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

.tile {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  height: 20rem;
  width: 15rem;
  background-color: antiquewhite;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.tile img {
  /* TODO: MODULE_CARDS */
  /* 1. Fill in the required properties. */
  height: 100%;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.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: white;
  line-height: 10px;
  text-align: 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");

  /* TODO: MODULE_LAYOUT */
  /* 1. Set a specific height. */
  /* 2. Position and center the image to scale nicely on all screens. */
    height: 30rem;
    object-fit: cover; /* Use "cover" for a full cover effect */
    background-size: cover;
    background-position: center;
}

.hero-image h4{
  color: white;
  font-weight: bold;
}

.hero-image p{
  color: white;
}

.hero-input {
  width: 80%;
  height: 2.5rem;
  border-radius: 8px;
  padding: 1rem;
}

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

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

.adventure-card {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  height: fit-content;
  width: 12rem;
  border-radius: 3px;
  border: 1px solid lightgrey;
  box-sizing: border-box;
}
.adventure-card img {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  height: 12rem;
  width: 12rem;
  border-radius: 3px;
}
.adventure-card img:hover {
  /* TODO: MODULE_ADVENTURES_GRID */
  /* 1. Fill in the required properties. */
  filter: brightness(50%);
}

/* ================================== */
/* Adventure deztails page CSS */
/* ================================== */

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

@media only screen and (max-width: 576px) {
  .adventure-detail-card{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.adventure-card-image {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
}
.adventure-card-image:hover {
  /* TODO: MODULE_ADVENTURE_DETAILS */
  /* 1. Fill in the required properties. */
}
.experience-content ul li {
  margin-left: 16px;
  padding: 0;
}

.main-container{
  box-sizing: border-box;
  width: 98vw;
  height: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.content-1{
  width: 60%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  border: 1px solid lightgray;
  box-sizing: border-box;
  padding: 5px;
  margin-right: 5px;
}

.content-2{
  width: 30%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  border: 1px solid lightgray;
  box-sizing: border-box;
  padding: 5px;
  margin-left: 5px;
}

.images{
  width: 100%;
  height: 20rem;
  display: flex;
  flex-direction: row;
  padding: 5px;
}

.main-image{
  width: 66%;
  height: 20rem;
}

.main-image img{
  width: 98%;
  height: 100%;
  object-fit: cover;
}

.secondary-image{
  width: 33%;
  height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.i-item-1{
  height: 48%;
  width: 100%;
}

.i-item-2{
  height: 48%;
  width: 100%;
}

.i-item-1 img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.i-item-2 img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.resort-heading{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-left: 5px;
}

.resort-heading p{
  color: #999;
}

.resort-description{
  margin-left: 5px;
}

.explore-link{
  color: darkgoldenrod;
  font-weight: bold;
}

.horizontal-line {
  border: none; 
  border-top: 1px solid #999; 
  margin: -10px 5px 5px 5px; 
}

@media only screen and (max-width: 768px)
{
  .main-container{
    box-sizing: border-box;
    width: 98vw;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content-1{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    border: 1px solid lightgray;
    box-sizing: border-box;
    padding: 5px;
    margin-bottom: 5px;
  }

  .content-2{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    border: 1px solid lightgray;
    box-sizing: border-box;
    padding: 5px;
    position: sticky;
    bottom: 0rem;
    background-color: white;
  }

  .secondary-image{
    display: none;
  }

  .main-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}

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