#loader {
  background: #141D22;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  overflow: hidden;
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;

}
#loader img{
  width: 12vw;
}
#loader.loaded {
  animation: fadeout 0.5s forwards;
}
#loader.loaded img{
  transition: transform 0.5s, opacity 1s;
  transform: scale(0.5);
  opacity: 0;
}

@keyframes fadeout {
  to {
    opacity: 0;
    visibility: hidden
  }
}

@media only screen and (max-width: 768px) {
  #loader img{
    width: 25vw;
  }
}