@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* variables */
:root {
    --primary-color: #FB9300;
    --field-text-color: rgb(30, 30, 30);
    --text-color: rgb(21, 21, 21);
    --field-color: rgb(255, 255, 255);
}

body {
    font-family: "Urbanist", sans-serif;
    width: 100%;
    position: relative;
    height: auto;
}

main {
    background-image: url(../images/main.jpg);
    width: 100%;
    background-size: cover;
    height: auto;
    min-height: 100vh;
    display: grid;
}

.wrapper {
    padding: 100px 0;
    height: 100%;
    width: 100%;


}

.pole {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-color: #fff284;
    border-radius: 40px;
}

.pole-inner {
    width: 55%;
    margin: 0 auto;
    display: grid;
    height: 100%;
    align-content: center;
    padding: 72px 0;
    position: relative;
}

.main-heading {
    font-size: 50px;
    color: var(--text-color);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 55px;
}

form {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.radiofield {
    width: 100%;
    height: 100px;
    position: relative;
    display: grid;
}

.radiofield input[type=radio] {
    -webkit-appearance: none;
    position: absolute;
    background-color: var(--field-color);
    width: 100%;
    height: 80%;
    border-radius: 20px;
    z-index: 0;
    cursor: pointer;
    border: solid 3px transparent;
    transition: 0.4s all;
}

.radiofield input[type=radio]:checked {
    border-color: var(--primary-color);
}

.radiofield input[type=radio]:checked::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--field-color);
    font-size: 22px;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: 10px;
    left: -20px;
}

.radiofield label,
.result {
    font-size: 23px;
    color: var(--field-text-color);
    font-weight: bold;
    text-align: center;
    z-index: 10;
    position: relative;
    line-height: 80px;

}

.radiofield label {
    pointer-events: none;
}

.next-prev button {
    width: 100%;
    height: 80px;
    border-radius: 20px;
    background-color: var(--primary-color);
    font-size: 23px;
    color: var(--field-color);
    font-weight: bold;
    text-transform: uppercase;
    border: 0;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.next-prev button span {
    position: relative;
    z-index: 1000;
}

.next-prev button:hover {
    transition: 0.4s;
}

.next-prev button::before {
    transition: 0.4s;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.4s;
    width: 100%;
    height: 100%;
    background-color: rgb(224 131 0);
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.next-prev button:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}




.thankyoupage {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    height: 100%;
}


.thankyoupage .pole {
    border-radius: 15px;
    min-height: 700px;
}

.result span {
    width: 100%;
    height: 80px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 20px;
    background-color: var(--field-color);
    z-index: 10;
    display: block;
}

.thankyoupage .next-prev {
    bottom: -150px;
}

.result::before {
    position: absolute;
    width: 34%;
    height: 100%;
    background-color: var(--primary-color);
    content: "";
    right: 0;
    border-radius: 22px;
    z-index: 11;
    left: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    opacity: .1;
}

.result.opt2result::before {
    width: 13%;
}

.result.opt3result::before {
    width: 47%;
}

.result .optioncount {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    position: absolute;
    right: -25px;
    z-index: 100;
    top: 12%;
    background-color: var(--primary-color);
    border-radius: 50px;
    height: 60px;
    width: 60px;
    text-align: center;
    justify-content: center;
    display: flex !important;
    margin: 0;
    padding: 0;
    line-height: 60px;
}









/* 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;
}


#sub img {
    width: 60px;
}

.highlight {
    border-top: solid 3px var(--primary-color) !important;
    border-bottom: solid 3px var(--primary-color) !important;

}













#error {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
}



.invalid {
    border: solid 2px #ff4444 !important;
    position: relative;
}