.competitionCategory{
    background-color: $primaryColor;
    width: 100%;
    padding: 180px 0 100px 0;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    &::after{
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url(../images/shape.png);
        background-repeat: repeat;
        z-index: -1;
        opacity: .25;
    }
    .category_select_content{
        text-align: center;
        padding:0 100px  25px 100px;
        h2{
            font-size: 40px;
            font-weight: 900;
            color: $whiteColor;
            line-height: 50px;
            text-transform: uppercase;
        }
        h4{
            font-size: 17px;
            font-weight: 400;
            color: #eeeeee;
            line-height: 26px;
        }
    }
    .question_category_slider{
        position: relative;
        .swiper-slide {
            width: 80%;
            height: auto;
            max-width: 780px;
            transition: opacity 0.3s;
            opacity: 0.6;
            background-color: white;
            border-radius: 7px;
            overflow: hidden;
            .category_item{
                display: flex;
                height: 240px;
                .category_item_img{
                    background-color: #f4f5f7;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 40%;
                    border-right: 1px solid #E2E8F0;
                    img{
                        height: 90%;
                        width: 90%;
                        object-fit: contain;
                    }
                }
                .category_item_text{
                    width: 60%;
                    padding: 25px 15px 15px 15px;

                    h4{
                        font-size: 26px;
                        font-weight: 600;
                        color: #000;
                        text-transform: uppercase;
                        padding-bottom: 7px;
                    }
                    .category_describe{
                        font-size: 15px;
                        color: #3F3F44;
                        font-family: 'Open Sans', sans-serif;
                        @include text-ellips-4;
                        line-height: 22px;
                    }
                    .category_item_bottom{
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-top: 20px;
                    }
                    h6{
                        font-size: 15px;
                        font-weight: 400;
                        color: $primaryColor;
                        span{
                            font-weight: 500;
                            font-size: 16px;
                        }
                    }
                    .get_question{
                        font-size: 15px;
                        color: $primaryColor;
                        font-weight: 400;
                        display: inline-block;
                        border-radius: 5px;
                        background-color: #eceff2;
                        border: 1px solid #edeff1;
                        padding: 4px 15px;
                        cursor: pointer;
                        &:hover{
                           background-color: #E2E8F0;
                           border: 1px solid #e1e8f1;
                           padding: 4px 15px;
                        }
                    }
                }
            }
        }

        .swiper-slide-active{
            opacity: 1;
        }

        .swiper-pagination{
            bottom: -60px;
            .swiper-pagination-bullet{
                background-color: #fff;
            }
            .swiper-pagination-bullet-active{
                background-color: #fff;
            }
        }
        .swiper-group{
            .swiper-button-next{
                bottom: -70px;
                top: inherit;
                right: 150px;
                &::after{
                    content: "→";
                    font-size: 22px;
                    border-radius: 100%;
                    background: rgba(255, 255, 255, 0.4);
                    width: 40px;
                    height: 40px;
                    display: inherit;
                    justify-content: inherit;
                    align-items: inherit;
                    color: #fff;
                }
                span{
                    font-size: 15px;
                    text-transform: uppercase;
                    color: #fff;
                    margin-right: 7px;
                }
            }
            .swiper-button-prev{
                bottom: -70px;
                left: 150px;
                top: inherit;
                &::before{
                    content: "←";
                    font-size: 22px;
                    border-radius: 100%;
                    background: rgba(255,255,255,0.1);
                    width: 40px;
                    height: 40px;
                    display: inherit;
                    justify-content: inherit;
                    align-items: inherit;
                    color: #fff;
                }
                &::after{
                    content: '';
                }
                span{
                    font-size: 15px;
                    text-transform: uppercase;
                    color: #fff;
                    margin-left: 7px;
                }
            }
            .swiper-button-disabled{
                opacity: .75;
            }
        }
        
    }
}
.competiton {
    height: 100vh;
    width: 100%;
    background-color: $primaryColor;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    &::after{
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url(../images/competiotionBg.webp);
        background-repeat: repeat;
        z-index: -1;
        opacity: .1;
    }

    .mob_shape {
        position: absolute;
        top: 40px;
        right: 50px;
        z-index: -1;

        img {
            max-height: 300px;
            width: auto;
            object-fit: cover;
            opacity: .4;
            transform: rotate(-20deg);
        }
    }
    .mob_shape_2 {
        position: absolute;
        bottom: 30px;
        left: 20px;
        z-index: -1;

        img {
            max-height: 300px;
            width: auto;
            object-fit: cover;
            opacity: .3;
            transform: rotate(-20deg);
        }
    }

    .competiton_overview {
        background-color: #fff;
        height: 80%;
        max-height: 550px;
        width: 800px;
        border-radius: 30px;
        padding: 20px 120px 20px 120px;
        position: relative;
        z-index: 1;
        &::after{
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url(../images/shapePurple.webp);
        background-repeat: repeat;
        z-index: -1;
        opacity: .25;
    }
        .quiz_logo{
            display: flex;
            justify-content: center;
            align-items: center;
            padding-bottom: 15px;
            img{
                max-height: 80px;
                width: auto;
                object-fit: contain;
            }
        }
        h5{
                font-size: 20px;
                font-weight: 600;
                font-family: 'Inter', sans-serif;
                text-align: center;
                color: #232323;
                line-height: 30px;
                padding-top: 40px;
        }
        .overview_content{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            padding-top: 8px;
            .content_item_wrap{
                height: 55px;
                background-color: #EFEEFC;
                border-radius: 12px;
                width: 350px;
                border: 1px solid #c3c3c318;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 15px;
                .content_item{
                    display: flex;
                    align-items: center;
                    i{
                        height: 35px;
                        width: 35px;
                        border-radius: 50%;
                        background-color: $primaryColor;
                        color: $whiteColor;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
                    span{
                        padding-left: 8px;
                        font-size: 15px;
                        color: $blackColor;
                        font-weight: 500;
                    }
                }
                .content_item_2{
                    display: flex;
                    align-items: center;
                    i{
                        height: 35px;
                        width: 35px;
                        border-radius: 50%;
                        background-color: $secondaryColor;
                        color: $whiteColor;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
                    span{
                        padding-left: 8px;
                        font-size: 15px;
                        color: $blackColor;
                        font-weight: 500;
                    }
                }
            }
            .content_price{
                height: 55px;
                background-color: #EFEEFC;
                border-radius: 12px;
                width: auto;
                border: 1px solid #c3c3c318;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 30px;
                margin-top: 15px;
                i{
                    height: 35px;
                    width: 35px;
                    border-radius: 50%;
                    background-color: $redColor;
                    color: $whiteColor;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
                span{
                    padding-left: 8px;
                    font-size: 15px;
                    color: $blackColor;
                    font-weight: 500;
                }
            }
            .quiz_description{
                text-align: center;
                padding: 15px 0 0 0;
                font-size: 15px;
                line-height: 22px;
                color: #3F3F44;
            }
            .play_button_wrapper{
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                padding-top: 40px;
                .play_btn_1{
                    height: 50px;
                    width: 45%;
                    background-color: $primaryColor;
                    color: $whiteColor;
                    font-weight: 400;
                    font-size: 15px;
                    border-radius:12px;
                    margin: 0 10px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    &:hover{
                        background-color: $secondaryColor;
                    }
                }
                .play_btn_2{
                    height: 50px;
                    width: 45%;
                    background-color: $whiteColor;
                    color: $primaryColor;
                    font-weight: 400;
                    font-size: 15px;
                    border-radius: 12px;
                    margin: 0 10px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border: 1px solid $primaryColor;
                    cursor: pointer;
                    &:hover{
                        background-color: $secondaryColor;
                        color: $whiteColor;
                        border: 1px solid $secondaryColor;
                    }
                }
            }
        }
        .paymet_content{
            padding-top: 30px;
            .payment_card{
                height: 120px;
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 12px;
                background-color: $whiteColor;
                border-radius: 10px;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
                &:hover{
                    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
                }
                cursor: pointer; 
                img{
                    height: 100%;
                    width: 100%;
                    object-fit: contain;
                }
            }
        }
    }
}

.competiton_quiz{
    height: 100vh;
    width: 100%;
    background-color: $primaryColor;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    &::after{
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url(../images/competiotionBg.webp);
        background-repeat: repeat;
        z-index: -1;
        opacity: .1;
    }
    .mob_shape {
        position: absolute;
        top: 40px;
        right: 50px;
        z-index: -1;

        img {
            max-height: 300px;
            width: auto;
            object-fit: cover;
            opacity: .4;
            transform: rotate(-20deg);
        }
    }

    .mob_shape_2 {
        position: absolute;
        bottom: 30px;
        left: 40px;
        z-index: -1;

        img {
            max-height: 300px;
            width: auto;
            object-fit: cover;
            opacity: .3;
            transform: rotate(-20deg);
        }
    }
    .competiton_quiz_wrapper{
        background-color: #fff;
        height: 85%;
        max-height: 580px;
        width: 800px;
        border-radius: 30px;
        padding: 20px 20px 20px 20px;
        position: relative;
        z-index: 1;
        &::after{
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background-image: url(../images/shapePurple.webp);
            background-repeat: repeat;
            z-index: -1;
            opacity: .25;
        }
        .quiz_logo{
            display: flex;
            justify-content: center;
            align-items: center;
            padding-bottom: 15px;
            img{
                max-height: 70px;
                width: auto;
                object-fit: contain;
            }
        }

        .quiz_question_img{
            display: flex;
            justify-content: center;
            img{
                max-height: 400px;
                width: 100%;
                object-fit: contain;
            }
        }
        .start_btn{
            height: 50px;
            width: 45%;
            background-color: $primaryColor;
            color: $whiteColor;
            font-weight: 600;
            font-size: 18px;
            border-radius:12px;
            margin: 0 10px;
            font-family: 'Inter', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            margin: 20px auto 0;
            &:hover{
                background-color: $secondaryColor;
            }
        }
        .competition_progress{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0 auto;
            width: 70%;
            padding: 0 5px;
            .user_profile{
                width: 20%;
                i{
                    font-size: 14px;
                    height: 30px;
                    width: 30px;
                    background-color: #f3f3f3;
                    border-radius: 6px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: $primaryColor;
                }
            }
            .progress{
                width: 60%;
                height: 12px;
                .progress-bar {
                    background-color: $primaryColor;
                    font-size: 11px;
                }
            }
            .question_number{
                width: 20%;
                display: flex;
                justify-content: flex-end;
                    span{
                        font-size: 13px;
                        height: 30px;
                        background-color: $secondaryColor;
                        border-radius: 6px;
                        width: 80px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        color: $whiteColor;
                        padding: 0 10px;
                        i{
                            margin-right: 4px;
                            font-size: 15px;
                        }
                    }
            }
        }
        .competiton_quiz_pallate{
            height: 220px;
            width: 70%;
            margin: 25px auto 15px;
            background-color: rgba(198, 212, 232, 0.786);
            border: 1px solid #c3c3c324;
            border-radius: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            padding: 10px 5px;
            .question_img{
                display: flex;
                justify-content: center;
                align-items: center;
                img{
                    max-height: 120px;
                    width: 100%;
                    object-fit: contain;
                }
            }
            .question_text{
                font-size: 20px;
                font-weight: 700;
                color: $blackColor;
                line-height: 28px;
                font-family: 'Inter', sans-serif;
                padding-top: 12px;
            }
        }
        .competiton_quiz_options{
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            // padding-top: 15px;
            .question_option{
                height: 45px;
                background-color: #ced9e7b2;
                width: 45%;
                border-radius: 35px;
                margin: 8px 10px;
                font-size: 15px;
                font-family: 'Inter', sans-serif;
                color: $blackColor;
                font-weight: 500;
                cursor: pointer;
                text-align: start;
                label{
                    cursor: pointer;
                    height: 100%;
                    width: 100%;
                    padding: 10px 10px 10px 25px;
                }
                input{
                    height: 100%;
                    width: 100%;
                    opacity: 0;
                    display: none;
                }
                &:hover{
                    background-color: #b5c2d3d3;
                }
                &:focus{
                    background-color: green;
                    color: $whiteColor;
                }
            }
        }
        .quiz_next_btn{
            display: flex;
            justify-content: flex-end;
            margin-right: 30px;
            margin-top: 10px;
            a{
                padding: 5px 30px;
                background-color: $secondaryColor;
                color: $whiteColor;
                font-size: 14px;
                font-weight: 400;
                border-radius: 8px;
                display: inline-block;
                &:focus{
                    box-shadow: none;
                }
                &:hover{
                    background-color: #db9601;
                }
            }
        }
    }
}



.competition_answer{
    padding: 40px 0 20px 0;
    position: relative;
    min-height: 500px;
    .freeQuiz_shape{
        position: absolute;
        right: 10px;
        top: 30px;
        img{
            max-height: 500px;
            width: 100%;
            object-fit: contain;
            opacity: .3;
        }
    }
   .answer_overview{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      width: 680px;
      margin: 0 auto;
      .answer_overview_wrapper{
        width: 100%;
        background-color: $whiteColor;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        border-radius: 26px;
        padding: 60px 20px;
        .answer_review_text{
            padding-left: 50px;
            h4{
                font-size: 18px;
                color: $primaryColor;
                font-weight: 500;
                i{
                    margin-left: 3px;
                    font-size: 22px;
                }
            }
            h3{
                font-size: 26px;
                color: $blackColor;
                font-weight: 700;
                line-height: 35px;
                padding-top: 2px;
                font-family: 'Inter', sans-serif;
            }
            h5{
                font-size: 18px;
                font-family: 'Inter', sans-serif;
                color: $blackColor;
                font-weight: 500;
                padding-top: 10px;
            }
        }
        .progress{
            width: 150px;
            height: 150px;
            line-height: 150px;
            background: none;
            margin: 0 auto;
            box-shadow: none;
            position: relative;
            // background-color: #f3f3f3;
        }
        .progress:after{
            content: "";
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 15px solid #f3f3f3;
            position: absolute;
            top: 0;
            left: 0;
        }
        .progress > span{
            width: 50%;
            height: 100%;
            overflow: hidden;
            position: absolute;
            top: 0;
            z-index: 1;
        }
        .progress .progress-left{
            left: 0;
        }
        .progress .progress-bar{
            width: 100%;
            height: 100%;
            background: none;
            border-width: 15px;
            border-style: solid;
            position: absolute;
            top: 0;
        }
        .progress .progress-left .progress-bar{
            left: 100%;
            border-top-right-radius: 80px;
            border-bottom-right-radius: 80px;
            border-left: 0;
            -webkit-transform-origin: center left;
            transform-origin: center left;
        }
        .progress .progress-right{
            right: 0;
        }
        .progress .progress-right .progress-bar{
            left: -100%;
            border-top-left-radius: 80px;
            border-bottom-left-radius: 80px;
            border-right: 0;
            -webkit-transform-origin: center right;
            transform-origin: center right;
            animation: loading-1 1.8s linear forwards;
        }
        .progress .progress-value{
            width: 90%;
            height: 90%;
            border-radius: 50%;
            background: #ffffff;
            font-family: 'Inter', sans-serif;
            font-size: 50px;
            font-weight: 600;
            color: $blackColor;
            line-height: 135px;
            text-align: center;
            position: absolute;
            top: 5%;
            left: 5%;
            span{
                font-size: 20px;
                margin-left: 2px;
            }
        }
        .progress.blue .progress-bar{
            border-color: $secondaryColor;
        }
        .progress.blue .progress-left .progress-bar{
            animation: loading-2 1.5s linear forwards 1.8s;
        }    
      }
      .answer_wrapper{
        background-color: #eceff2;
        border-radius: 10px;
        padding: 30px 25px;
        margin-top: 40px;
        h4{
            text-align: center;
            font-size: 22px;
            color: $blackColor;
            padding-bottom: 20px;
        }
        .answer_bank_item{
            &:nth-child(even){
                background-color: #fff;
                // border-radius: 10px;
            }
            padding: 10px 15px;
            margin-bottom: 10px;
            .item_question{
                font-size: 17px;
                color: #525252;
                font-weight: 500;
                span{
                    font-weight: 400;
                    color: #585757;
                    font-size: 16px;
                }
            }
            .item_answer{
                color: #585757;
                font-size: 15px;
                font-weight: 400;
                padding-top: 6px;
                font-family: 'Inter', sans-serif;
                span{
                    font-size: 16px;
                    font-weight: 500;
                }
            }
        }
        .submit_btn{
            display: flex;
            justify-content: center;
            padding-top: 30px;
            span{
                font-size: 14px;
                padding: 5px 50px;
                border-radius: 35px;
                border: 1px solid $primaryColor;
                background-color: $primaryColor;
                color: $whiteColor;
                cursor: pointer;
                &:hover{
                    background-color: $secondaryColor;
                    border: 1px solid $secondaryColor;
                }
            }
        }
       }
   }
}


  
@keyframes loading-1{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}
@keyframes loading-2{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(144deg);
        transform: rotate(144deg);
    }
}
@keyframes loading-3{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}
@keyframes loading-4{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(36deg);
        transform: rotate(36deg);
    }
}
@keyframes loading-5{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(126deg);
        transform: rotate(126deg);
    }
}
@media only screen and (max-width: 990px){
    .progress{ margin-bottom: 20px; }
}