body {
  font-family: "Montserrat", sans-serif;
}
.perspective {
  perspective: 700px;
}

.flip {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  padding: 0 2px; 
  line-height: 1.5rem;
}

.flip .front,
.flip .back {
  display: inline-block;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  white-space: nowrap;
}

.flip .front {
  transform-origin: bottom;
  transform: rotateX(0deg);
}

.flip .back {
  position: absolute;
  inset: 0;
  transform-origin: top;
  transform: rotateX(90deg);
}

.group:hover .flip .front {
  transform: rotateX(-90deg);
}
.group:hover .flip .back {
  transform: rotateX(0deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}

 input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: black;
}