/*--Extra small screen--*/
@media screen and (max-width: 575.98px) {

    /*banner section start*/
    #banner {
        background-size: auto;
        background-position: 60% center;
    }
    #banner .slider_description {
        max-width: 350px;
    }

    /*banner section end*/

    /*registration section start*/
    #registration .arrow {
        transform: rotate(90deg);
    }
    /*registration section end*/

    /*Rating table start*/
    #rating-table .nav-pills .nav-link {
        min-width: 176px;
        height: 40px;
        padding: 0;
    }
    /*Rating table end*/
}

/*--On extra small and small screens*/
@media screen and (max-width: 767.98px){
    /*Header start*/
    header .navbar-brand img {
        width: 140px;
        height: auto;
    }
    header a.btn {
        --bs-btn-padding-y: 9px;
        --bs-btn-padding-x: 14px;
        --bs-btn-font-size: 12px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    header a.btn:hover {
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    }
    header .navbar-toggler {
        --bs-navbar-toggler-padding-y: 0;
        --bs-navbar-toggler-padding-x: 0;
        --bs-navbar-toggler-font-size: 18px;
    }
    header .navbar-toggler:focus {
        box-shadow: none;
    }
    header #header-menu ul{
        width: fit-content;
        background-color: rgb(230, 230, 230);
    }
    /*Header end*/

    /*banner section start*/
    #banner {
        height: 542px;
    }
    #banner .container {
        padding-top: 70px;
    }
    #banner .slider_description h1 {
        font-size: 28px;
        line-height: 34px;
    }
    #banner .slider_description p {
        font-size: 1.125em;
        line-height: 32px;
    }
    /*banner section end*/
}

/*--Greater than Small screen--*/
@media screen and (min-width: 576px){
    /*contest details start*/
    #contest_details .contest_details__content .card-group {
        row-gap: 20px;
    }
    /*contest details end*/

    /*registration section start*/
    #registration .step {
        width: 170px;
    }
    /*registration section end*/

    /*about section start*/
    #about {
        background-position-y: top;
    }
    /*about section end*/
}

/*--Greater than Medium screen--*/
@media screen and (min-width: 768px) {
    h2 {
        font-size: 42px;
        line-height: 48px;
    }
    /*contest details start*/
    #contest_details .contest_details__content .card-group .card {
        max-width: 200px;
    }
    /*contest details end*/

    /*registration section start*/
    #registration h3 {
        font-size: 34px;
    }
    #registration .step {
        width: 300px;
    }
    #registration .step img {
        width: 64px;
        height: auto;
    }
    #registration .arrow {
        width: 71px;
        height: 72px;
    }
    /*registration section end*/

    /*calculator section start*/
    #calculator #trading-conditions{
        font-size: 16px;
        line-height: 18px;
    }
    /*calculator section end*/

    /*about section start*/
    #about h2 {
        font-size: 56px;
        line-height: 66px;
    }
    #about h2:after {
        height: 7px;
    }
    #about p {
        font-size: 22px;
        line-height: 32px;
    }
    #about .card{
        --bs-card-spacer-x: 16px;
    }
    #about .card-title{
        font-size: 16px;
        line-height: 26px;
    }
    /*about section end*/
}

/*--Greater than Large screen--*/
@media screen and (min-width: 992px) {
    /*contest details start*/
    #contest_details h3{
        font-size: 22px;
    }
    #contest_details .contest_details__content .card-group .card {
        max-width: 250px;
    }
    /*contest details end*/

    /*registration section start here*/
    #registration .step{
        width: 150px;
    }
    /*registration section end here*/

    /*About section start*/
    #about .row{
        margin-top: 35px !important;
    }
    #about .card{
        --bs-card-spacer-x: 28px;
    }
    /*About section end*/
}

/*--Greater than X Large screen--*/
@media screen and (min-width: 1200px) {
    /*contest details start*/
    #contest_details .contest_details__content .card-group .card {
        max-width: 310px;
    }
    /*contest details end*/
}

/*--Greater than XX Large screen--*/
@media screen and (min-width: 1400px) {

    /*about section start*/
    #about .row{
        --bs-gutter-x: 108px
    }

    #about .card-img-top{
        width: 56px;
        height: 56px;
    }
    /*about section end*/
}