@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* variables */
:root {
    --primary-color: #6400ff;
    --secondary-color: rgb(233, 238, 255);
    --text-color: rgb(20, 23, 46);
    --field-color: rgb(255, 255, 255);
}

body {
    font-family: "Urbanist", sans-serif;
    width: 100%;
    position: relative;
    height: auto;
    background-image: url(../images/bg.png);
    background-size: cover;
}

main {
    padding: 80px 0;
    position: relative;
    min-height: 100vh;
    transition: 0.5s;
}

.survey-inner {
    padding: 50px 60px;
    text-align: center;
    text-align: left;
    padding-bottom: 0;
}

.p-ec {
    background-color: rgb(255 255 255 / 41%);
}

.main-heading {
    font-size: 35px;
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
}

.question {
    margin-top: 50px;
    margin-bottom: 40px;
}

.question h2 {
    font-size: 28px;
    color: var(--text-color);
}

.question p {
    font-size: 20px;
    color: rgb(156, 156, 156);
    width: 100%;
    /* margin: 0 auto; */
}


.radio-field {
    position: relative;
    height: 100px;
    width: 100%;
    margin-bottom: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: 0.4s;
    opacity: 0;
}

.radio-field::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
    color: rgb(255 255 255);
    position: absolute;
    top: 29px;
    right: 4%;
    background-color: var(--field-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    z-index: -1;
}

.active::after {
    z-index: 11111;
    background-color: var(--primary-color);
    top: 29px;
}

.radio-field input {
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255);
    border-radius: 96px;
    cursor: pointer;
    transition: 0.4s;
    right: 0;
    margin-left: auto;
    z-index: 7;
    border: 1px solid #e5e5e5fa;
}

.radio-field label,
.radio-field i {
    position: relative;
    z-index: 10;
    pointer-events: none;
    transition: 0.4s;
}

.radio-field input:hover {
    border-color: var(--primary-color);
}


.radio-field input:checked {
    border-color: var(--primary-color);
}

.active::before {
    width: 100%;
    z-index: 1;
}

.radio-field i {
    border-radius: 50%;
    background-color: rgb(233, 238, 255);
    min-width: 54px;
    display: grid;
    align-content: center;
    justify-content: center;
    height: 54px;
    font-size: 22px;
    color: var(--primary-color);
}


.radio-field label {
    font-size: 20px;
    color: var(--text-color);
    font-weight: bold;
    margin-left: 20px;
    text-align: left;
}

.radio-field input:checked~label {
    color: var(--primary-color);
}




.next-prev {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    width: auto;
    position: relative;
    flex-wrap: wrap;
}

.next-prev button i {
    margin-right: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
    transition: 0.4s;
}


.next-prev .prev i {
    transform: translateX(-100px);
}

.next-prev .prev:hover i {
    transform: translateX(0px);
}

.next-prev .next i {
    transform: translateX(-100px);
}

.next-prev .next:hover i {
    transform: translateX(0px);
}



.next-prev button {
    border-radius: 6px;
    background-color: var(--primary-color);
    padding: 0 50px;
    height: 60px;
    font-size: 20px;
    border: solid 2px transparent;
    color: rgb(255, 255, 255);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.next-prev .prev {
    color: var(--text-color);
    border-color: var(--text-color);
    background-color: transparent;
}

.bar .fill {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: inherit;
    transition: 0.4s;
}

.cancel {
    background-color: rgb(0 0 0);
    height: 69px;
    width: 69px;
    display: grid;
    place-content: center;
    position: absolute;
    top: 83px;
    right: 8%;
    cursor: pointer;
}

.cancel i {
    font-size: 18px;
    color: rgb(255 255 255);
}





#sub img {
    width: 60px;
}

.highlight {
    border-top: solid 3px var(--primary-color) !important;
    border-bottom: solid 3px var(--primary-color) !important;

}

.invalid {
    border: solid 2px #ff4444 !important;
    position: relative;
}

.order-c {
    overflow: hidden;
}

/* swal */
.swal-icon:before {
    z-index: -1;
    background-color: #fff;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    left: 0;
    font-family: 'Bricolage Grotesque' !important;
}

.swal-icon.swal-icon--error:before {
    background-color: #f27474;
}

.swal-title {
    font-family: 'Bricolage Grotesque' !important;
    font-size: 44px;
}

.swal-modal {
    text-align: center;
    border-radius: 20px;
}

.swal-text {
    float: none;
    text-align: center;
    font-size: 18px;
}

.swal-button-container {
    width: 100%;
    margin: 0;
}

.swal-footer {
    padding: 22px 30px;
}

.swal-button {
    background-color: #000;
    width: 100%;
    border-radius: 50px;
}
.swal-button:hover {
    background-color: #a4db85 !important;
}

.swal-modal:before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/thankyou-bg.png);
    top: 0;
    left: 0;
    position: absolute;
    object-fit: cover;
    background-size: 500px;
    border-radius: 20px;
}

.swal-icon--error {
    border-color: #f2747400;
    -webkit-animation: animateErrorIcon .5s;
    animation: animateErrorIcon .5s;
}

.swal-icon--error__line {
    background-color: #fff;
}