
#home {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  z-index: 0;
  background-color: transparent;
}

#home img {
  width: 60%;
  height: calc(33.3vh - 80px);
  place-self: center;
  object-fit: contain;
  transform: scale(1);
  opacity: 1;
}


.in {
  animation: popIn 0.4s backwards;
}

.out {
  animation: popOut 0.4s forwards;
}

@keyframes popIn {
  from {
    rotate: -180deg;
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes popOut {
  to {
    rotate: 180deg;
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



@media (max-width: 600px) {
  
  #home{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
  
}