.popup {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    visibility: hidden;
    pointer-events: none
}

.popup.open {
    visibility: visible;
    pointer-events: visible
}

.popup.open .popup-overlay {
    opacity: 1;
    visibility: visible;
    height: 100%
}

.popup.open .popup-main {
    opacity: 1;
    visibility: visible;
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition-delay: .1s;
    -webkit-transition-delay: .1s;
    -moz-transition-delay: .1s;
    -ms-transition-delay: .1s;
    -o-transition-delay: .1s
}

.popup-overlay {
    position: absolute;
    background-color: rgba(18, 17, 16, .2);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    opacity: 0;
    visibility: hidden
}

.popup-main {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 70rem;
    max-width: 95%;
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    opacity: 0;
    visibility: hidden
}

.popup-main-wrapper {
    overflow: hidden;
    border-radius: .8rem
}

.popup-over {
    overflow-y: auto;
    min-height: 40vh;
    max-height: 80vh
}

.popup-wrapper {
    background-color: #fff;
    width: 100%;
    min-height: 40vh;
    position: relative;
    padding: 4.8rem 4rem 4rem 4rem
}

@media screen and (max-width:768px) {
    .popup-wrapper {
        padding: 4.8rem 2rem 2rem 2rem
    }
}

.popup-title {
    --f-sz: clamp(1.7rem, calc(1.2984rem + 0.5738vw), 2.4rem);
    font-size: var(--f-sz);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.6rem
}

.popup-close:not(.btn-popup-close) {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    cursor: pointer;
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
    width: 3rem;
    height: 3rem;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-justify-content: center;
    background-color: #fff;
    z-index: 3
}

.popup-close:hover .icon {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
}

.popup-close .icon {
    color: var(--color-black);
    font-weight: 500;
    font-size: 3rem;
    transition: .6s ease-in-out;
    -webkit-transition: .6s ease-in-out;
    -moz-transition: .6s ease-in-out;
    -ms-transition: .6s ease-in-out;
    -o-transition: .6s ease-in-out;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s
}

.popup-exam-form .popup-main {
    width: 88rem
}

.popup-exam-form .popup-wrapper {
    background: #fcf5f5
}

.popup-exam-form .t-head .head .t-title {
    --f-sz: clamp(2rem, calc(0.3934rem + 2.2951vw), 4.8rem);
    font-size: var(--f-sz);
    color: var(--color-tt)
}

.popup-exam-form .t-head .head .t-des {
    max-width: 54rem;
    margin: 0 auto;
    color: var(--color-body);
    --f-sz: clamp(1.6rem, calc(1.3705rem + 0.3279vw), 2rem);
    font-size: var(--f-sz);
    text-align: center
}

.popup-ques .popup-main {
    width: 88rem
}

.popup-ques .popup-wrapper {
    background: #fcf5f5;
    z-index: 1
}

.popup-ques-ctn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    gap: 2.4rem;
    padding: 6vh 0
}

.popup-ques-ctn .t-title {
    --f-sz: clamp(2rem, calc(0.3934rem + 2.2951vw), 4.8rem);
    font-size: var(--f-sz)
}

@media screen and (max-width:500px) {
    .popup-ques-ctn .t-title {
        font-size: 2.6rem
    }
}

.popup-ques-ctn .t-des {
    --f-sz: clamp(1.6rem, calc(1.3705rem + 0.3279vw), 2rem);
    font-size: var(--f-sz);
    color: var(--color-body)
}

.popup-ques-ctn .t-gr {
    margin-top: .8rem;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-justify-content: center;
    gap: 1.2rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.popup-ques-dcor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    z-index: -1
}

.popup-ques-dcor img {
    display: block;
    width: 100%
}