/*Functions*/

/*Base styling*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}


.landscape{
  font-family: "dosis", sans-serif;
  background: url("/img/PEAKS_B&W.jpg") no-repeat center center/cover;
}


a{
  text-decoration: none;
  color: #fff;
}

ul{
  list-style: none;
}


/*NavBar*/
.nav-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 7rem;
  color: #fff;
  width: 100%;
  height: 70px;
  position: sticky;
  top: 0;
}

.nav-container ul{
  display: flex;
}

.nav-container a{
  margin: 0 1rem;
  padding: 0.5rem;
  color: #fff;
}

.nav-container a:hover{
  border-bottom: 2px solid #fff;
}

.current{
  border-bottom: 2px solid white;
}

/*Main Image Section*/

main{
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3rem 3rem 0 3rem;
  grid-gap: 15px;
}

main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 3px -3px 10px rgba(0,0,0,0.5);
}

.back{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem;
  color: #fff;
}

.back button{
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  opacity: 0.6;
  transition: all 0.5s;
}


.back button:hover{
  opacity: 1;
  cursor: pointer;
}

.back button:focus{
  outline: none;
}


footer{
  background: #333;
  height: 80px;
  width: 100%;
  text-align: center;
  color: #fff;
  padding-top: 1.5rem;
}


/*Tablet*/

@media(max-width: 767px){
  .nav-container{
    flex-direction: column;
  }

  .nav-container nav ul{
    margin: 1rem;
  }

  main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

}


@media only screen and (min-width : 768px) and (max-width : 1200px){

  .nav-container{
    margin-top: 1rem;
  }

  .landscape{
    background: #333;
  }

  main{
    grid-template-columns: repeat(2, 1fr);
  }
}
