/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.main-bg {
    background-image: url("https://www.ogfactiuni.club/images/main-bg.png");
}
.login-bg {
    background-image: url("https://www.ogfactiuni.club/images/background.png");
}
.active_link {
    box-shadow: -30px 0px 36px -28px #c40202 inset;
}
.styled::before {
    width: 100%;
    height: 20px;
    border-radius: 50%;
    content: "";
    background: #c40202;
    left: -30%;
    top: 7px;
    position: absolute;
    filter: blur(25px);
    z-index: -2;
    transition: 0.3s;
}
.styled::after {
    background: #c40202;
    position: absolute;
    left: 20%;
    width: 50px;
    height: 16px;
    content: "";
    z-index: -1;
    top: 50%;
    transform: translate(-14px, -10%);
    clip-path: polygon(
        calc(0% + 10px) 0,
        100% 0,
        calc(100% - 10px) 100%,
        0 100%
    );
    transition: 0.3s;
}

.styled.shadow-custom::before {
    width: 100%;
    height: 20px;
    background: #fe3232;
    left: -30%;
    top: 10px;
    filter: blur(20px);
}
.login .styled::after {
    background: #c40202;
    position: absolute;
    left: 0%;
    width: 76px;
    height: 20px;
}
/* checkbox */

.check {
    cursor: pointer;
    position: relative;
    margin: auto;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.check:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 50, 84, 0.03);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c40202;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.check:hover:before {
    opacity: 1;
}

.check:hover svg {
    stroke: #c40202;
}

#cbx2:checked + .check svg {
    stroke: #c40202;
}

#cbx2:checked + .check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

#cbx2:checked + .check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}
/* switch */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 2.8em;
    height: 1.4em;
}

/* Hide default HTML checkbox */
.switch .switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 1px solid #adb5bd;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1em;
    width: 1em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.17em;
    background-color: #adb5bd;
    transition: 0.4s;
}

.switch-input:checked + .slider {
    background-color: #d60101;
    border: 1px solid #d60101;
}

.switch-input:focus + .slider {
    box-shadow: 0 0 1px #d60101;
}

.switch-input:checked + .slider:before {
    transform: translateX(1.3em);
    background-color: #fff;
}
.circle {
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999; /* so that it stays on top of all other elements */
}

.trail {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #c40202, transparent);
    mix-blend-mode: overlay;
    pointer-events: none;
    transform-origin: center;
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {
    to {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* indicator */
.arrow {
    position: absolute;
    top: 35%;
    left: 10%;
    transform: rotate(-90deg);
    cursor: pointer;
}

.arrow span {
    display: block;
    width: 1rem;
    height: 1rem;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* login */
.card::after {
    content: "";
    height: 100%;
    width: 100%;
    display: block;
    background: linear-gradient(rgba(196, 2, 2, 0.51), rgba(196, 2, 2, 0));
    position: absolute;
    top: 0;
    left: 0;
    border-radius: inherit;
    z-index: -1;
}
.card::before {
    width: 100%;
    height: 20px;
    border-radius: 50%;
    content: "";
    background: #c40202;
    left: 0;
    right: 0;
    top: -7px;
    position: absolute;
    filter: blur(25px);
    z-index: -2;
    transition: 0.3s;
}

.login-card {
    background: url("https://www.ogfactiuni.club/images/login-card.png");
}

.primary-btn::before {
    position: absolute;
    left: 50%;
    top: 50%;
    content: "";
    background-color: var(--primary);
    filter: blur(40px);
    width: 100px;
    height: 20px;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
}
.primary-btn::after {
    position: absolute;
    left: 98%;
    top: 0px;
    width: 20px;
    height: 100%;
    content: "";
    background-color: #c40202;
    clip-path: polygon(
        calc(0% + 8px) 0,
        100% 0,
        calc(100% - 8px) 100%,
        0% 100%
    );
}
.primary-btn button {
    font-weight: 700;
    line-height: normal;
    border-radius: 0px;
    border: none;
    padding: 10px 35px 13px 35px;
    text-transform: uppercase;
    clip-path: polygon(
        calc(0% + 8px) 0,
        100% 0,
        calc(100% - 8px) 100%,
        0% 100%
    );
    z-index: 1;
    position: relative;
}

.primary-btn button:hover {
    transition: all 0.3s;
    background-color: #262626;
}

/* editor content styling */
.editor-content h1 {
    font-size: 35px;
    line-height: 40px;
}
.editor-content h2 {
    font-size: 28px;
    line-height: 36px;
}
.editor-content h3 {
    font-size: 23px;
    line-height: 32px;
}
.editor-content li,
.editor-content ul,
.editor-content ol {
    list-style: inherit !important;
    margin-left: 15px;
    line-height: 28px;
}

.editor-content ol {
    list-style: decimal !important;
}
.editor-content ul {
    list-style: disc !important;
}

/* livewire navigation progress bar */
#nprogress .bar {
    background: #d60101 !important;
}

/* datepicker style */
.datepicker span.hover\:bg-gray-100:hover {
    background-color: #d60101 !important;
    color: #fff;
}
.datepicker span.bg-gray-200 {
    background-color: #000 !important;
    color: #fff;
}
.datepicker span.bg-blue-700 {
    background-color: #d60101 !important;
}
.datepicker .datepicker-cell {
    padding: 5px;
}

/* css prevent flowbite css */
input {
    border: 0;
}
input:focus {
    box-shadow: none !important;
}
[type="checkbox"],
[type="radio"] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.snake-border {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.snake-border a {
    /* border-radius: 20px;  */
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    color: #c40202;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: 700;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0003);
}

.snake-border a:hover {
    background: #c40202;
    color: #fff;
    -webkit-box-shadow: 0 0 50px #c40202;
    box-shadow: 0 0 50px #c40202;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.snake-border a:hover span {
    opacity: 0;
}

.snake-border a span {
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.snake-border a span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: -webkit-gradient(
        linear,
        left top,
        right top,
        from(#0c002b),
        to(#c40202)
    );
    background: linear-gradient(to right, #0c002b, #c40202);
    -webkit-animation: animate1 2s linear infinite;
    animation: animate1 2s linear infinite;
}

.snake-border a span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 2.5px;
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#0c002b),
        to(#c40202)
    );
    background: linear-gradient(to bottom, #0c002b, #c40202);
    -webkit-animation: animate2 2s linear infinite;
    animation: animate2 2s linear infinite;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.snake-border a span:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: -webkit-gradient(
        linear,
        right top,
        left top,
        from(#0c002b),
        to(#c40202)
    );
    background: linear-gradient(to left, #0c002b, #c40202);
    -webkit-animation: animate3 2s linear infinite;
    animation: animate3 2s linear infinite;
}

.snake-border a span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2.5px;
    background: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(#0c002b),
        to(#c40202)
    );
    background: linear-gradient(to top, #0c002b, #c40202);
    -webkit-animation: animate4 2s linear infinite;
    animation: animate4 2s linear infinite;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

@-webkit-keyframes animate1 {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes animate1 {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@-webkit-keyframes animate2 {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

@keyframes animate2 {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

@-webkit-keyframes animate3 {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes animate3 {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@-webkit-keyframes animate4 {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes animate4 {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}


/* gradient colors */
.gradient-gray{
    background: rgb(199,199,199);
background: linear-gradient(125deg, rgba(199,199,199,0.9523872781534489) 0%, rgba(87,87,87,1) 33%, rgba(0,0,0,1) 80%);
}
.gradient-blue{
    background: rgb(0,7,212);
background: linear-gradient(125deg, rgba(0,7,212,0.9523872781534489) 0%, rgba(0,7,66,1) 33%, rgba(0,0,0,1) 80%);
}
.gradient-violet{
    background: rgb(151,0,170);
    background: linear-gradient(125deg, rgba(151,0,170,0.9523872781534489) 0%, rgba(27,0,40,1) 33%, rgba(0,0,0,1) 80%);
}
.gradient-red{
    background: rgb(199,0,0);
background: linear-gradient(125deg, rgba(199,0,0,0.9523872781534489) 0%, rgba(47,0,0,1) 33%, rgba(0,0,0,1) 80%);
}