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

html{
    scroll-behavior: smooth;
  

}


::-webkit-scrollbar{
    width:1rem;
    background-color:#135578;
}
::-webkit-scrollbar-thumb{
border-radius: 1rem;
background-color: white;
}
.fadeInText{
    transition: opacity 0.8s ease forwards;
    will-change: transition;
    opacity: 0;
}
.cardHeight{
transition: height 1s ease-in forwards;
will-change: height;
height: 0;
}
.active{
    position: relative;
   z-index: 2;
    
    
}
.active a{
    z-index: 3;
    position: relative;
}
.active::after{
    z-index: 1;
     background-color:rgba(21,56,76,0.7);
    position: absolute;
    left:0;
    content: " ";
    width:100%;
    height: 100%;
    transition: width 0.8s ease-in-out;
    will-change: transition;
    animation: link 1s ease-in-out forwards 1;
}
@keyframes link {
    from{
        width:0;
    }
    to{
        width: 100%;
    }
    
}
.error{
    color:red;
    font-size:1.2rem;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}


.scrollbar-hide {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.clip{
    clip-path: polygon(0 0,100% 0, 100% 80%, 0 100%);
    height: 30vh;
}