@tailwind base;
@tailwind components;
@tailwind utilities;
.tooltip {
    @apply invisible absolute;
}

.has-tooltip:hover .tooltip {
    @apply visible z-50;
}

@import "trix";
@import 'animate.css';
@import "video.js";
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.vid {
    position: sticky;
    top: 40px;
}

html {
    scroll-behavior: smooth;
}

.article-slide {
    background-position: center;
    background-size: cover;
}

.inset-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@font-face {
    font-family: 'iranSans';
    src: url('./font/iransans/IRANSansX-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'iranSans_ExtraBold';
    src: url('./font/iransans/IRANSansX-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'iranSans_bold';
    src: url('./font/iransans/IRANSansX-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'iranSans_Regular';
    src: url('./font/iransans/IRANSansX-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'iranSans_UltraLight';
    src: url('./font/iransans/IRANSansX-UltraLight.ttf') format('truetype');
}
#description a {
    color: #facc15;
    font-size: 19px ;
    font-weight:bold;
    text-shadow: 2px 2px 8px #1c1917;
}
#description h2 {
    font-size: 34px ;
    font-weight:bold ;

}
#description h2 {
    font-size: 30px ;
    font-weight:bold ;

}
#description h3 {
    font-size: 24px ;
    font-weight:bold ;

}
#description h4 {
    font-size: 20px ;
    font-weight:bold ;
}
#description h5 {
    font-size: 16px ;
    font-weight:bold ;
}
#description h5 {
    font-size: 16px ;
}

#description table {
    border-collapse: collapse;
}

#description th, td {
    border: 4px solid  #374151 ;
    padding: 8px;
}

#description tr:nth-child(even) {
    background: #9ca3af;
    border-radius: 20px;

}

#description tr:hover {
    background: #a1a1aa;
    border-radius: 20px;

}

#description blockquote {
    margin: 10px;
    font-size: 1.4em;
    font-style: italic;
    color: #555555;
    padding: 1.2em 30px 1.2em 75px;
    border-left: 8px solid #FFD700;
    line-height: 1.6;
    position: relative;
    background: #EDEDED;
}

#description blockquote::before {
    content: "\201C";
    color: #FFD700;
    font-size: 4em;
    position: absolute;
    left: 10px;
    top: -10px;
}

#description pre {
    font-size: 20px;
    border: 2px solid grey;
    border-left: 12px solid #FFD700;
    border-radius: 5px;
    color: #555555;
    line-height: 24px;
    background-image: linear-gradient(180deg, #eee 50%, #fff 50%);
    background-size: 100% 49px;
}


.loader {
    width: 6em;
    height: 6em;
}

.loader-ring {
    animation: ringA 2s linear infinite;
}

.loader-ring-a {
    stroke: #fdba74;
}

.loader-ring-b {
    animation-name: ringB;
    stroke: #f97316;
}

.loader-ring-c {
    animation-name: ringC;
    stroke: #f97316;
}

.loader-ring-d {
    animation-name: ringD;
    stroke: #fdba74;
}

/* Animations */
@keyframes ringA {
    from, 4% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }

    12% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -335;
    }

    32% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -595;
    }

    40%, 54% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -660;
    }

    62% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -665;
    }

    82% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -925;
    }

    90%, to {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -990;
    }
}

@keyframes ringB {
    from, 12% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -110;
    }

    20% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -115;
    }

    40% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -195;
    }

    48%, 62% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    70% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    90% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -305;
    }

    98%, to {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }
}

@keyframes ringC {
    from {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    8% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    28% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    36%, 58% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    66% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    86% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    94%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

@keyframes ringD {
    from, 8% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    16% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    36% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    44%, 50% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    58% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    78% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    86%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}
