
/* ======Timer over modal === */

#timeUpModal .modal-content {
    background: linear-gradient(180deg, rgb(152 59 147 / 50%) 0%, rgb(22 11 38 / 50%) 100%);
    border-radius: 8px;
    z-index: 1;
}

#timeUpModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 97%;
    background: #fff;
    z-index: -1;
    opacity: 90%;
    border-radius: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

#timeUpModal .modal-body {
    padding-block: 28px;
}

#timeUpModal .modal-body h3 {
    font-family: 'Roca-400';
    font-size: 22px;
    line-height: 14px;
    text-align: center;
    color: var(--primary-clr);
}

#timeUpModal .modal-footer {
    border: 0;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
}

#timeUpModal .modal-footer .btn {
    max-width: calc(50% - 6px);
    flex-basis: calc(50% - 6px);
    border-radius: 8px;
    min-height: 44px;
    font-weight: 500;
}

#timeUpModal .modal-footer .btn.btn-primary {
    background: var(--primary-clr);
    border: 0;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

#timeUpModal .modal-footer .btn.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #9C3C96 0%, #100821 100%);
    border-radius: 8px;
    z-index: -1;
    transition: 0.3s;
}

#timeUpModal .modal-footer .btn.btn-primary:hover:after {
    width: 180%;
}

#timeUpModal .modal-footer .btn.btn-secondary {
    background: #000;
}

@media only screen and (max-width:767px) {
    #timeUpModal .modal-content {
        max-width: 80%;
        margin: auto;
    }
}

@media only screen and (max-width:480px) {
    #timeUpModal .modal-content {
        max-width: 90%;
    }

    #timeUpModal .modal-body h3 {
        font-size: 18px;
    }

    #timeUpModal .modal-body {
        padding-block: 25px 18px;
    }
}

@media only screen and (max-width:420px) {
    #timeUpModal .modal-footer .btn {
        font-size: 13px;
    }
}