@tailwind base;
@tailwind components;
@tailwind utilities;

html,
body {
  @apply h-full;
  @apply w-full;
}

html,
 body,
 #__next,
 main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  touch-action: manipulation !important;
  font-family: 'Montserrat', 'Heebo', 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
}

 * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: 'Montserrat', 'Heebo', 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

:root {
  --vh: 1vh;
}

:-webkit-full-screen {
  background: #000;
}

:fullscreen {
  background: #000;
}


 body,
 html,
 #__next {
  background: transparent !important;
  overflow: hidden;
}

 body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: transparent;
}

/* Fix for mobile browser toolbar issues */
@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  html,
   body {
    height: -webkit-fill-available;
  }
}

/* Add standard support check too */
@supports (touch-callout: none) {
  /* CSS specific to browsers that support standard property */
  html,
   body {
    height: 100%;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
  }
  20% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  80% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

