*{
    margin: 0px;
    
    
}



nav{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 800;
    font-size: 3.5em;
    background-color: aliceblue;
    text-align: center;
    color: #daa520;
    animation-name: example;
    animation-duration: 4s;
}
.container{
    display: grid;
    gap: 50px;
    margin: 50px 100px;
    grid-template-columns: repeat(5, 1fr);
    
}
.container a {
    text-decoration: none;
    
}
.container img {
    width: 120%;
    border: 2px solid #21a66e;
    border-radius: 8px;
    box-shadow: 10px 10px 5px lightblue;
}

/* Transition part */
.box{
    width: 100px;
    height: 100px;
    background-color: #fff;
    transition: width 2s linear 0s, height 2s ease-in, transform 2s;
    
    
}
.box:hover { 
    width: 150px;
    height: 150px;
    transform: rotate(360deg);
}

@media screen and (max-width:576px){
  body{
    background-color: #f4f1ec;
  }

  .container{
    grid-template-columns: repeat(1,1fr);
    padding-left: 15px;
  }
  nav{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    background-color: aliceblue;
    text-align: center;
    color: 6cda20;
    padding: 50px 50px 0px 0px;
    height: 100px;
  
  }
}

@keyframes example {
  0%   {color: red;}
  25%  {color: yellow;}
  50%  {color: black;}
  100% {color: green;}
}

@media screen and (min-width:577px) and (max-width:992px){
  .container{
    grid-template-columns: repeat(3,1fr);
    margin-left: 50px;
    background-color: #fff;
  }
}

/* Filter part */
.filterDiv {
    width: 100px;
    float: left;
    color: #ffffff;
    line-height: 50px;
    text-align: center;
    margin: 2px;
    display: none;
    
  }
  
  .show {
    display: block;
  }
  
  .container {
    margin-top: 20px;
    overflow: hidden;
  }
  
  /* Style the buttons */
  .btn {
    border: none;
    outline: none;
    padding: 15px 20px;
    background-color: #f1f1f1;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #daa520;
  }
  
  .btn.active {
    background-color: #daa520;
    color: white;
  }