
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
       background-color: rgba(0, 0, 0, .9);
       padding: 4rem 0;
   }

h1 {
    text-align: center;
    color: aliceblue;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

.gallery {
    padding: 20px;
}

.gallery ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.gallery ul li {
    list-style: none;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(215, 215, 215);
    margin: 5px;
    padding: 8px 20px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 1s linear;
}

.gallery ul li:hover {
    background-color: #FBBB09;
}

.gallery ul li.active {
    background-color: rgb(0, 81, 255);
    color: white;
}

.items-container {
    display: flex; 
      flex-direction: row; 
      flex-wrap: wrap ;
      justify-content: space-evenly; 
      margin: 10px auto;  
      
      

}

.items {
    position: relative;
    display:inline-flex; 
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: space-evenly; 
    object-fit: cover;
     margin: 5px;
}

.items img {
    display:inline-flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: space-evenly; 
    height:200px; 
    
}
.mfp-fade.mfp-bg {
    opacity: 0;
  
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
  }
  /* overlay animate in */
  .mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
  }
  /* overlay animate out */
  .mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
  }
  
  /* content at start */
  .mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
  
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
  }
  /* content animate it */
  .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
  }
  /* content animate out */
  .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
  }



