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

body {
  position: relative;
  min-height: 100vh;
  background-color: black;
}

#content-wrapper {
  padding-bottom: 100px;
}

.content-background {
  background-image: url("../images/gallery-background.jpg");
  background-size: cover;
  background-position: center;
  min-height: 56vh;
}

.banner{
  width: 100%;
  background-image: url("../images/lotd-banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-bottom: 5px solid black;
}

h1 {
  padding: 100px;
}
/* Navigation */

.nav a {
    color: white;
    font-weight: 100;
    letter-spacing: 1.5px;
    text-decoration: none;
    background: rgba(0,0,0,0.2);
    padding: 20px 5px;
    display: inline-block;
    width: 100%;
    text-align: center;
  }
  
  .nav a:hover {
    background: rgba(0,0,0,0.3);
  }
  
  .nav-wrapper {
    max-width: 1000px;
    min-width: 200px;
    margin: 0 auto;
    padding: 100px 50px;
  }
  
  /* nav flex */
  
  .nav ul {
    list-style: none;
    display: flex;  
    flex-wrap: wrap;
    flex-direction: row;
  }
  
  .nav li {
    flex: 3;
    flex-basis: 100%;
  }
  


/* Intro section */

.intro {
    text-align: center;
    margin: 0 auto;
}

/* News section */

.news {
  width: 100%;
  margin: auto;
  text-align: center;
}

/* Footer Section */
footer {
  background-color: black;
  color: white;
  width: 100%;
  padding: 50px 0;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  bottom: 0;
}

/* Application Page */
.application {
  text-align: center;
}

/* Gallery Page */
.gallery {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  
  background-size: cover;
}

.gallery-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 50px 100px 50px;
  width: 100%;
  margin: auto;  
}

.gallery-grid img {
  border: 2px solid darkkhaki;
  border-radius: 20px;;
  width: 100%;
}

.grid-obj {
  flex: 1 1 600px;
  margin: 3em 2em;
}


/* Fullscreen image on click using JS*/

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  padding-top: 100px;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  z-index: inherit;
}

.close {
  color: white;
  position: absolute;
  font-size: 50px;
  top: 20px;
  right: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* For mobile */
@media all and (max-width:700px) {
    
  /* navigation */
  .nav ul {
        flex-direction: column;
    }
    
    .nav li {  
      flex-basis: 50%;
    }

  /* Gallery modal image */
  .modal-content {
    width: 100%;
  }
}
  
@media all and (min-width: 1000px) {
    .nav li {
      flex-basis: auto;
    }

    .nav-wrapper {
      padding: 200px 50px;
    }
} 