.gallery > .gallery-body a img {position: absolute;transition: all 0.5s;display: none;margin: auto;outline: none;border: none;}.gallery > .inputlabel:nth-child(1):checked ~ .gallery-body .gallery-image:nth-child(1),.gallery > .inputlabel:nth-child(2):checked ~ .gallery-body .gallery-image:nth-child(2),.gallery > .inputlabel:nth-child(3):checked ~ .gallery-body .gallery-image:nth-child(3),.gallery > .inputlabel:nth-child(4):checked ~ .gallery-body .gallery-image:nth-child(4),.gallery > .inputlabel:nth-child(5):checked ~ .gallery-body .gallery-image:nth-child(5) {z-index: 9;opacity: 1;transition: all 0.3s ease-in-out;-webkit-transition: all 0.3s ease-in-out;}.gallery-image { opacity: 0;animation-timing-function: ease;animation-iteration-count: infinite;-webkit-animation-timing-function: ease;-webkit-animation-iteration-count: infinite;animation-duration: 16s;-webkit-animation-duration: 16s;animation-name: gallary-animation;-webkit-animation-name: gallary-animation;}.inputlabel:checked ~ .gallery-body .gallery-image {animation: none;-webkit-animation: none;}.gallery-image:nth-child(1) {animation-delay: 0s;-webkit-animation-delay: 0s;}.gallery-image:nth-child(2) {animation-delay: 4s;-webkit-animation-delay: 4s;}.gallery-image:nth-child(3) {animation-delay: 8s;-webkit-animation-delay: 8s;}.gallery-image:nth-child(4) {animation-delay: 12s;-webkit-animation-delay: 12s;}.gallery-image:nth-child(5) {animation-delay: 16s;-webkit-animation-delay: 16s;}@keyframes gallary-animation {0% {opacity: 0;z-index: 5;}15% {opacity: 1;}60% {opacity: 0;}100% {opacity: 0;z-index: 1;}}@keyframes scale {0% {transform: scale(0.8);opacity: 0;}50% {transform: scale(1.02);opacity: 0.5;}100% {transform: scale(1);opacity: 1;}}.scale {animation-name: scale;}.animate {animation-duration: 1s;animation-fill-mode: both;}