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

html,
body {
  background: #f5f6fa;
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}

.fadeIn {
  animation: modalMove 0.3s ease-in-out 1 forwards;
}

@keyframes modalMove {
  0% {
    transform: translateY(48px);
    opacity: 0%;
  }

  100% {
    transform: translateY(0);
    opacity: 100%;
  }
}

.scrollbar::-webkit-scrollbar {
  width: 100%;
  height: 4px;
  min-width: 4px;
}

.scrollbar::-webkit-scrollbar-track {
  background: #e6e9ee;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: #2981b3;
  border-radius: 10px;
}

.skeleton {
  opacity: 0.7;
  border-radius: 6px;
  border-color: #edf2f7;
  background: #a0aec0;
  -webkit-animation: 0.8s linear infinite alternate skeleton_keyframe;
  animation: 0.8s linear infinite alternate skeleton_keyframe;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  cursor: default;
  color: transparent;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@keyframes skeleton_keyframe {
  from {
    border-color: #edf2f7;
    background: #edf2f7;
  }
  to {
    border-color: #a0aec0;
    background: #a0aec0;
  }
}

@-webkit-keyframes skeleton_keyframe {
  from {
    border-color: #edf2f7;
    background: #edf2f7;
  }
  to {
    border-color: #a0aec0;
    background: #a0aec0;
  }
}

.full_screen {
  -webkit-animation: 0.6s linear alternate full_screen_keyframes;
  animation: 0.6s linear alternate full_screen_keyframes;
}

@keyframes full_screen_keyframes {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-toorbar {
  display: none !important;
}

.select_dropdown {
  animation: 0.25s linear alternate select_dropdown_keyframes;
}

@keyframes select_dropdown_keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.vodMode .video-toorbar {
  display: flex !important;
}

.modal_animation {
  animation: 0.3s linear alternate modal_animation_keyframes;
}

@keyframes modal_animation_keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.accordion {
  animation: 0.3s linear alternate accordion_keyframes;
}

@keyframes accordion_keyframes {
  from {
    height: 0;
  }
  to {
    height: 'auto';
  }
}
