@tailwind base;
@tailwind components;
@tailwind utilities;

/***********************/

:root {
    --footer-color: #171a1d;
    --light-blue: #08a2b8;
    --dark-blue: #0791a5;
    --light-green: #01a324;
    --dark-green: #009220;
}


html {
}

body {
    @apply bg-white h-full text-[14px] text-black;
    font-family: IRANSans !important;
    padding-top: 100px;
}

body.dark {
    @apply bg-black h-full text-[14px] text-gray-100;    
}

.dir-rtl {
    direction: rtl !important;
}

.dir-ltr {
    direction: ltr !important;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner[type=number] {
    -moz-appearance: textfield;
}

html, body, p, div, span, a, table, tr, td, label, input, button, textarea, h1, h2, h3, h4, h5, h6 {
    font-family: IRANSans !important;
}

.font-general {
    font-size: 8pt;
}

.font-bold {
    font-weight: bold;
}

.font-size-12 {
    font-size: 12pt;
}

.height-100 {
    height: 100%;
}

.width-100 {
    width: 100%;
}

.material-icons {
    vertical-align: middle;
}

.background-white {
    background-color: #FFF !important;
}

.background-black {
    background-color: #000 !important;
}

.background-dark-blue {
    background-color: #113D66 !important;
}

.background-light-blue {
    background-color: #08A2B8 !important;
}

.background-dark-gray {
    background-color: #171a1d !important;
}

.background-dark-gray-2 {
    background-color: #222 !important;
}

.background-light-gray {
    background-color: #CCC !important;
}

.background-light-gray-2 {
    background-color: #2c2f31 !important;
}

.background-light-gray-3 {
    background-color: #35393b !important;
}

.background-light-gray-4 {
    background-color: #404547 !important;
}

.background-light-green {
    background-color: #01A324 !important;
}

.background-red {
    background-color: #F00 !important;
}

.color-gray {
    color: #CCC !important;
}

.color-dark-gray {
    color: #333 !important;
}

.color-white {
    color: #FFF !important;
}

.color-light-green {
    color: #01A324 !important;
}

.color-red {
    color: #F00 !important;
}

.border-color-light-gray {
    border-color: #444;
}

.mdc-notched-outline__notch {
    border-right: none;
}

.display-flex {
    display: flex;
}

.container-style {
    padding: 10px;
    font-size: 9pt;
    color: #CCC;
}

.backdropBackground {
    filter: blur(20px);
    background-color: #444;
    opacity: 0.9 !important;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Roboto, "Helvetica Neue", sans-serif;
}


/*---- footer -----*/


.footer {
    width: 100%;
    margin-top: 50px;
    /* bottom: 0px;
    position: absolute; */
}

.website-link {
    color: #CCC;
    text-decoration: none;
}

.margin-top-10 {
    margin-top: 10px;
}

.mobile-footer-item {
    padding-top: 10px;
    margin-right: 20px;
    margin-left: 20px;
}

.mobile-footer-item-center {
    padding-top: 20px;
    margin: 0 auto;
    text-align: center;
}

.hr-color {
    color: #CCC;
}

.social-img {
    width: 30px;
    height: 30px;
    margin-left: 15px;
}

.course-item {
    @apply bg-[#171a1d] rounded-lg min-h-[300px] border border-gray-600;
}

.btn-add-to-cart .ripple {
    position: absolute;
    border-radius: 9999px;
    transform: scale(0);
    opacity: .6;
    pointer-events: none;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.8);
    animation: ripple-anim .6s ease-out forwards;
}

@keyframes ripple-anim {
    to {
        transform: scale(25);
        opacity: 0;
    }
}

.btn-pop {
    animation: btn-pop-anim .25s ease-out;
}

@keyframes btn-pop-anim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

.btn-in-cart {
    background: #64748b !important; 
    cursor: not-allowed;
}