body {
  overflow: hidden;
}

.preloaderWrapper {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background-color: #D3D5D7;
  z-index: 9999;
  transition: opacity 0.7s ease-out;
}

.logoWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 90px;
  width: 90px;
}

.logoWrapper div {
  height: 30px;
  width: 30px;
  background-color: transparent;
  transform: perspective(800px) rotateY(90deg);
  opacity: 0;
  transform-origin: left center;
  transition: background-color 0.1s ease;
}

@keyframes pageTurnIn {
  from {
    transform: perspective(800px) rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: perspective(800px) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes pageTurnOut {
  from {
    transform: perspective(800px) rotateY(0deg);
    opacity: 1;
  }
  to {
    transform: perspective(800px) rotateY(-90deg);
    opacity: 0;
  }
}

.turn-in {
  animation: pageTurnIn 0.6s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

.turn-out {
  animation: pageTurnOut 0.6s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}


.hide {
  opacity: 0;
  pointer-events: none;
}
