body {
    background-color: white;
}

#container {
    width: 80%;
    margin: 1em auto;
    border: solid navy;
}

header {
    text-align: center;
}

#gallery {
    display: flex;
    justify-content: space-evenly;
    padding: 1em;
    flex-wrap: wrap;
}

#gallery img {
	transition: all 3s;
}

.animate {
    animation-name: changeColour;
    animation-duration: .5s;
    animation-fill-mode: forwards;
  }
  
  @keyframes changeColour {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.1);
    }
  }
  
  .animate2 {
    animation-name: restoreColour;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }
  
  
  @keyframes restoreColour {
    0% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  