body {
  background-color: #BEC4B5;
  margin: 50px 200px 50px 200px;
}

/* GRID */

  .container {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    gap: 5px;
    }
    
    /* mobile grid layout */
    
      .container > * {
        border: 1px solid green;
        background-color: #F2F2EB;
        padding: 10px;
        grid-column: col-start / span 12;
      }
      
    /* web & tablet grid layout */
    
      @media (min-width: 576px){
        .navbar {
          grid-column: col-start / span 12;
          }
        .main-content {
          grid-column: col-start / span 12;
          }
        }

/* NAVBAR */
    
  ul.navbar /* the navbar as a whole */{
    background-color: #F2F2EB;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    border: 1px solid #555555;
    position: relative;
    }
  
  li.navbar /* items on the navbar */{
    display: block;
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #555555;
    text-align:center;
    float: right;
    }
    
  li.navbar:hover {
    background-color: #555555;
    color: white;
    }
  
  .active /* indicates current page */{
  background-color: #04AA6D;
  color: white;
    }
    
  /* responsiveness to varying screen sizes */
  
  @media screen and (max-width: 400px) {
    ul.navbar li a {
      text-align: center;
      float: none;
      height: auto;
      position: relative;
      top: 0;
      left: 0;
      right: 0;
    }
    
    li.navbar {
      width: 100%;
      height: auto;
      padding: 16px 32px;
      }
  }

/* HEADERS & PARAGRAPHS */

  h1 {
    font-size: 40px;
  }
  
  h1, h2, h3 {
    color: black;
  }
  

/* ALIGNMENT */

  .center {
    text-align: center;
  }
  .left {
    text-align: left;
  }
  .justify {
    text-align: justify;
  }

/* BORDERS */

  .border {
    border: 5px solid gray;
    margin-left: 400px;
    margin-right: 400px;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
  }
  
/* IMAGE GALLERIES */

  /* position the image container (needed to position the left and right arrows) */
  .gallery-container {
    position: relative;
    width: 50%;
    margin: auto;
    background-color: #b8bab5;
    }
    
  /* hide images by default */
  .image-slide {
    display: none;
    }
    
  /* center image */
  .image-slide {
    display: block;
    margin: auto;
    width: 100%;
    text-align: center;
    padding: 40px;
    }
  
  /* change cursor into pointer when hovering over thumbnails */
  .cursor-pointer {
    cursor: pointer;
    }
    
  /* image overlay */
    
    * {box-sizing: border-box;}
    
      /* container to position overlay */
      .image-slide {
        position: relative;
        }
        
      /* make image responsive */
      .gallery-image {
        display: block;
        margin: auto;
        }
        
      /* actual overlay effect */
      .gallery-overlay {
        position: absolute;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Black see-through */
        color: #ffffff;
        width: 100%;
        transition: .5s ease;
        opacity:0;
        font-size: 20px;
        padding: 0px;
        text-align: left;
        }
        
      /* fade overlay in on hover */
      .image-slide:hover .gallery-overlay {
        opacity: 1;
        }
    
  /* next and previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    }
    
    /* position "next" button to the right */
    .next {
      right: 0;
      border-radius: 3px 0 0 3px;
      }
  
    /* on hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }
    
  /* container for thumbnails */

    .gallery-thumbnail-row:after {
      content: "";
      display: table;
      clear: both;
      }
    
  /* three thumbnail columns side by side */
  .gallery-thumbnail-column {
    float: left;
    width: 33%;
    }
    
  /* background for thumbnails */
  .gallery-thumbnail-row {
    background-color: #222;
    }
    
    
  /* Add a transparency effect for thumnbail images */
  .thumbnail {
    opacity: 0.6;
  }
  
  .active,
  .thumbnail:hover {
    opacity: 1;
  }