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

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

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

.animate-items {
  position: relative;
}

.animate-items::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid rgba(128, 128, 128, 0.2);
  border-top-color: #8d5ac7;
  border-radius: 50%;
  animation: loader 0.6s linear infinite;
  z-index: 10;
}

.animate-items > *:not(.pointer-events-none):not(.opacity-0) {
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.animate-items::before {
  opacity: 1;
  animation: loader 0.6s linear infinite, fadeOut 0.2s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
.knowledge-content p{
    margin: 0;
    padding: 0;
}

.h3-section h3{
    margin: 0;
}

.h3-section{
    margin-bottom: 30px;
}

.knowledge-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.knowledge-content th,
.knowledge-content td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
}

.knowledge-content th {
    background-color: #f3f4f6;
    font-weight: 600;
}


.dark .knowledge-content table {
    border-color: #3f3f46;
}

.dark .knowledge-content td {
    border-color: #3f3f46;
}
/* Style the scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #4A176E;
  border-radius: 6px;
  transition: ease-in-out all .4s;
}

::-webkit-scrollbar-thumb:hover {
  background: #4A176E;
}

#dots{
z-index: 100;
top: calc(100% / 2 - 60px);
position: fixed;
height: auto;
right: 10px;
}

#mobile-menu{
  z-index: 101;
}

#menuAn{
transition: width 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}

.loading {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background: #ffffff;
z-index: 1000;
}
.loading:after {
content: "";
width: 50px;
height: 50px;
position: absolute;
top: -30px;
right: 0;
left: 0;
bottom: 0;
margin: auto;
border: 6px solid rgb(144, 70, 229);
border-top: 6px dotted rgb(144, 70, 229);
border-bottom: 6px dotted rgb(144, 70, 229);
border-radius: 50%;
animation: loading 2s infinite;
}

@keyframes loading {
0% {
  transform: rotate(0);
}
50% {
  transform: rotate(360deg);
}
}
#dots li{
list-style-type: none;
width: 0.8vh;
height: 0.8vh;
background-color: rgb(224, 224, 224);
border-radius: 0.4vh;
margin: 2vh 1.5vh;
transition: 0.4s ease;
}

.active{
background-color: #7c3fb6 !important;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.feature-card {
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
}
.feature-card:hover .bg-gradient-to-br {
  filter: brightness(1.1);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
