@media screen and (min-width: 801px) {
  #anchor {
    display: none;
    position: fixed;
    bottom: 37px;
    right: 10px;
    background-color: #333;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
  }

  #gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 80vw;
    min-height: 80vh;
    margin: 15px auto;
    margin-left: 16vw;
    background-color: transparent;
    box-sizing: border-box;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Create four equal columns that sits next to each other */
  .column {
    display: flex;
    max-width: 25%;
    padding: 0 10px;
    overflow: hidden;
  }

  .column img {
    overflow: hidden;
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    object-fit: contain;
    transition: filter 0.5s ease, transform 0.5s ease;
  }

  .column img:hover {
    filter: saturate(60%);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    cursor: pointer;
  }

  /****LIGHTBOX****/
  .lightbox {
    /* Default to hidden */
    display: none;
    /* Overlay entire screen */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* A bit of padding around image */
    padding: 1em;
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
  }

  /* Unhide the lightbox when it's the target */
  .lightbox:target {
    display: block;
  }

  .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .footer {
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #333;
    padding: 10px 0;
  }

  .fa {
    padding: 7px;
    font-size: 25px !important;
    width: 40px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 5px;
  }

  .fa-instagram {
    background: rgba(255, 177, 66, 0.5);
    color: white;
  }

  .text {
    color: rgba(206, 214, 224, 1.0);
    text-decoration: none;
    font-size: 1.4em;
    font-weight: normal;
    font-family: "Spartan", sans-serif;
    margin-right: 10vw;
  }

  .text:hover {
    cursor: pointer;
    color: rgba(255, 177, 66, 0.5) !important;
  }
}

@media screen and (max-width: 800px) and (min-width: 320px) {
  #anchor {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    background-color: #333;
    color: white;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }

  #gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 90vw;
    margin: 15px auto;
    background-color: transparent;
    box-sizing: border-box;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0px;
    justify-content: center;
    width: 100%;
  }

  /* Create four equal columns that sits next to each other */
  .column {
    display: flex;
    max-width: 45%;
    padding: 0 4px;
    overflow: hidden;
  }

  .column img {
    overflow: hidden;
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    object-fit: contain;
    transition: filter 0.5s ease, transform 0.5s ease;
  }

  /****LIGHTBOX****/
  .lightbox {
    /* Default to hidden */
    display: none;
    /* Overlay entire screen */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* A bit of padding around image */
    padding: 1em;
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
  }

  /* Unhide the lightbox when it's the target */
  .lightbox:target {
    display: block;
  }

  .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    background-color: #333;
    padding: 5px 0;
  }

  .fa {
    padding: 8px;
    font-size: 20px !important;
    font-family: "Spartan", sans-serif;
    width: 35px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 5px;
  }

  .fa-instagram {
    background: rgba(255, 177, 66, 0.5);
    color: white;
  }

  .text {
    color: rgba(206, 214, 224, 1.0);
    text-decoration: none;
    font-size: 1.4em;
    font-weight: normal;
    font-family: "Spartan", sans-serif;
    margin-right: 10vw;
  }

  .text:hover {
    cursor: pointer;
    color: rgba(255, 177, 66, 0.5) !important;
  }
}