﻿h1 {
    color: #fff !important;
    font-size: 40px !important;
    text-align: center !important;
    z-index: 4 !important;
    margin-bottom: 28px !important;
}

#ToCompareBanner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    #ToCompareBanner > div:first-of-type {
        width: 76%;
        height: 310px;
        display: flex;
        justify-content: center;
        gap: 1rem;
        background: #153655;
        overflow: hidden;
        align-items: center;
        position: absolute;
        top: 76px;
        border-radius: 0;
        padding: 0 2rem;
    }

#Bg {
    background: var(--saa-blue);
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 386px;
}

#ToCompareBanner > div:first-of-type::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 68px;
    height: 842px;
    width: 98%;
    background: #1d5181;
    border: 50px solid #19446e;
    outline: 50px solid #183e63;
    border-radius: 50%;
    z-index: 1;
    transition: 500ms ease, border 300ms ease;
}

#ToCompareBanner > div:first-of-type > img {
    z-index: 2;
}

    #ToCompareBanner > div:first-of-type > img:last-of-type {
        display: none;
    }

    #ToCompareBanner > div:first-of-type > img.crack {
        height: 156px;
        filter: brightness(0) invert(1);
        width: 30px;
        position: relative;
        top: 46px;
    }

#ToCompareBanner > div:first-of-type > span {
    height: 90px;
    min-width: 1px;
    max-width: 1px;
    position: relative;
    top: 46px;
    background: #7ea1b7;
    z-index: 10;
    margin: 0 17px;
}

#ToCompareBanner > div:first-of-type > img:last-of-type {
    transform: rotateY(180deg);
}

#ToCompareBanner > div:first-of-type > img:not(.crack) {
    height: 30%;
    object-fit: contain;
    width: 50%;
    position: relative;
    top: 48px;
    min-height: 150px;
}


.newCarSelect {
    text-align: center;
    background: transparent;
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #8080801c;
    color: var(--saa-blue);
    outline: none;
}

.newCarDiv {
    position: relative;
    width: 40%;
    background: #fff;
    border: 4px solid #e9f0f6;
    border-radius: 1rem;
    margin: 0 5px;
}
/*#region VehicleFeatures*/
#VehicleFeatures {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 2rem 0;
    margin-top: 146px;
}

    #VehicleFeatures > div:first-of-type {
        width: 100%;
        display: flex;
        align-items: center;
        border-radius: 1rem;
        border: 5px solid #eaf0f6;
        padding: 1rem 2rem;
        background: white;
        z-index: 50;
        height: max-content;
    }


        #VehicleFeatures > div:first-of-type > p {
            height: 100%;
            position: relative;
            width: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

            #VehicleFeatures > div:first-of-type > p > i {
                position: absolute;
                color: #ff5454;
                font-size: 17px;
                padding: 5px;
                cursor: pointer;
                top: -5px;
                left: -19px;
            }

        #VehicleFeatures > div:first-of-type > span {
            min-width: 2px;
            height: 100%;
            background: #f2f2f2;
            margin: 0 26px;
        }

        #VehicleFeatures > div:first-of-type > p > span {
            font-size: 17px;
            color: var(--saa-blue);
            font-weight: bold;
            margin-bottom: 5px;
        }

        #VehicleFeatures > div:first-of-type > p > b {
            margin-bottom: 5px;
            font-size: 24px;
            color: var(--saa-blue);
            text-align: center;
            font-weight: 500;
        }

        #VehicleFeatures > div:first-of-type > p > small:first-of-type {
            font-size: 13px;
            color: var(--saa-blue);
            text-align: center;
        }

        #VehicleFeatures > div:first-of-type > p > small:last-of-type {
            font-size: 18px;
            color: var(--saa-blue);
            text-align: center;
            font-weight: 600;
            margin-top: 5px;
        }

        #VehicleFeatures > div:first-of-type > p.selectBoxContainer {
            gap: 0;
        }

            #VehicleFeatures > div:first-of-type > p.selectBoxContainer > select {
                text-align: center;
                background: transparent;
                width: 60%;
                padding: 10px;
                border: none;
                border-bottom: 1px solid #8080801c !important;
                color: var(--saa-blue);
                outline: none;
                border: 4px solid #e9f0f6;
                border-radius: 1rem;
            }

                #VehicleFeatures > div:first-of-type > p.selectBoxContainer > select:first-of-type {
                    border-bottom-right-radius: 0;
                    border-bottom-left-radius: 0;
                    border-bottom: 0;
                }

                #VehicleFeatures > div:first-of-type > p.selectBoxContainer > select:nth-of-type(2) {
                    border-radius: 0;
                    border-top: 0;
                    border-bottom: 0;
                }

                #VehicleFeatures > div:first-of-type > p.selectBoxContainer > select:last-of-type {
                    border-top-right-radius: 0;
                    border-top-left-radius: 0;
                    border-top: 0;
                    border-bottom: 4px solid #e9f0f6 !important;
                }



/*#endregion */

/*#region ToCompare*/
#ToCompare {
    margin: 2rem 0;
}

    #ToCompare > div {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(533px, 1fr));
        gap: 15px;
    }

        #ToCompare > div > a {
            border: 6px solid transparent;
            overflow: hidden;
            text-decoration: none;
            position: relative;
            border-radius: 2rem;
        }

            #ToCompare > div > a > div:first-child > img:first-of-type,
            #ToCompare > div > a > div:first-child > img:last-of-type {
                position: relative;
                z-index: 3;
                top: 55px;
            }

            #ToCompare > div > a > div:first-child > img {
                transition: 450ms;
            }

                #ToCompare > div > a > div:first-child > img:first-of-type {
                    width: 230px;
                    left: 0;
                }

                #ToCompare > div > a > div:first-child > img:last-of-type {
                    width: 230px;
                    transform: rotateY(180deg);
                    right: 0;
                }

            #ToCompare > div > a:hover > div:first-child > img:first-of-type {
                transform: scale(1.05);
                left: 10px;
            }

            #ToCompare > div > a > div:first-child > img:nth-last-of-type(2) {
                height: 100%;
                position: relative;
                z-index: 3;
            }

            #ToCompare > div > a:hover > div:first-child > img:nth-last-of-type(2) {
                filter: brightness(0) invert(1);
            }


            #ToCompare > div > a:hover > div:first-child > img:last-of-type {
                transform: rotateY(180deg) scale(1.05);
                right: 10px;
            }


            #ToCompare > div > a > div:first-child {
                display: flex;
                justify-content: space-evenly;
                align-items: center;
                background: #153655;
                height: 155px;
            }

                #ToCompare > div > a > div:first-child:after {
                    content: "";
                    display: inline-block;
                    position: absolute;
                    top: 60px;
                    left: 13%;
                    height: 300px;
                    width: 70%;
                    background: #1d5181;
                    border: 20px solid #19446e;
                    outline: 20px solid #183e63;
                    border-radius: 50%;
                    z-index: 1;
                    transition: 500ms ease,border 300ms ease;
                }

            #ToCompare > div > a:hover > div:first-child:after {
                top: 30px;
                border: 30px solid #19446e;
                outline: 30px solid #183e63;
            }

            #ToCompare > div > a > div:last-child {
                height: 50%;
                background: #f1f8fe;
                padding: 2rem;
                padding-top: 3rem;
                position: relative;
                z-index: 2;
            }

                #ToCompare > div > a > div:last-child > div {
                    display: flex;
                    align-items: center;
                    gap: 19px;
                    border-radius: 1rem;
                    border: 5px solid #eaf0f6;
                    padding: 1rem;
                    background: white;
                }

                    #ToCompare > div > a > div:last-child > div > div:nth-child(2) {
                        background: #eaf0f6;
                        color: var(--saa-blue);
                        font-weight: 600;
                        border: 0;
                        padding: 3px 9px;
                        border-radius: 1rem;
                        position: relative;
                        z-index: 2;
                        flex: 0.5;
                        transition: 300ms;
                        font-size: 14px;
                    }

            #ToCompare > div > a:hover > div:last-child > div > div:nth-child(2) {
                background: var(--saa-yellow);
            }

            #ToCompare > div > a > div:last-child > div > div:nth-child(2) > img {
                width: 27px;
            }

            #ToCompare > div > a > div:last-child > div > div:nth-child(2):hover {
                filter: brightness(1.15);
                color: var(--saa-primary);
            }

            #ToCompare > div > a > div:last-child > div > div {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                color: var(--saa-blue);
                flex: 1;
                width: 37%;
            }


                #ToCompare > div > a > div:last-child > div > div > span {
                    text-align: center;
                    font-size: 17px;
                    font-weight: bold;
                    color: var(--saa-blue);
                }

                #ToCompare > div > a > div:last-child > div > div > b {
                    margin-top: 0;
                    font-size: 22px;
                    font-weight: 100;
                    color: var(--saa-blue);
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    width: 100%;
                    text-align: center;
                }

                #ToCompare > div > a > div:last-child > div > div > small {
                    font-size: 12px;
                    font-weight: 500;
                    color: var(--saa-blue);
                    margin-top: 5px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    width: 100%;
                    text-align: center;
                }

/*#endregion*/
#Compare {
    width: 115px;
    height: 37px;
    font-size: 15px;
    background-color: var(--saa-yellow);
    border-radius: 21px;
}

    #Compare img {
        width: 33px;
    }




























#CompareBox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}




.contentContainer {
    width: 100%;
    border-radius: 10px;
    padding: 2rem;
    background: #fafbfd;
}

    .contentContainer > h2 {
        text-align: center;
        margin: 3rem 0 1rem 0;
        font-size: 17px;
    }

        .contentContainer > h2:first-of-type {
            margin: 0 0 1rem 0;
        }

.content2Box {
    display: flex;
    gap: 4px;
    margin-bottom: 0.6rem;
    width: 100%;
}

    .content2Box > div {
        width: 40%;
        background: #e0ebf4;
        padding: 1rem;
        border-radius: 7px;
    }

        .content2Box > div:first-of-type {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        .content2Box > div:last-of-type {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

        .content2Box > div > ul {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

            .content2Box > div > ul > li {
                font-size: 13px;
                color: var(--saa-blue);
                font-weight: 500;
            }

        .content2Box > div.title {
            width: 20%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #d6e0e9;
            text-align: center;
            border-radius: 0;
            font-size: 13px;
            color: var(--saa-blue);
            font-weight: 600;
        }


#CompareBox > h2:not(h2:first-of-type) {
    margin-top: 3rem;
}

#CompareBox > h2 {
    font-size: 30px;
}


@media(max-width:1400px) {
    /*#region CompareBox*/
    #ToCompare > div > a > div:first-child > :is(img:first-of-type,img:last-of-type) {
        width: 200px;
    }

    #ToCompare > div > a:hover > div:first-child:after {
        top: 52px;
        border: 25px solid #19446e;
        outline: 25px solid #183e63;
    }

    #ToCompare > div > a > div:last-child > div > div > span {
        font-size: 16px;
    }

    #ToCompare > div > a > div:last-child > div > div > b {
        font-size: 20px;
    }
    /*#endregion */



}

@media(max-width:1200px) {

    /*#region CompareBox */

    #ToCompare > div > a > div:first-child > :is(img:first-of-type,img:last-of-type) {
        width: 300px;
    }
    /*#endregion */
    #ToCompareBanner > div:first-of-type {
        width: 83%;
    }

        #ToCompareBanner > div:first-of-type > img:not(.crack) {
            width: 31%;
        }

        #ToCompareBanner > div:first-of-type::after {
            top: 119px;
            height: 952px;
            width: 109%;
        }
}

@media(max-width:992px) {
    /*#region CompareBox*/
    #VehicleFeatures > div:first-of-type > p.selectBoxContainer > select {
        width: 100%;
    }

    #ToCompare > div > a > div:first-child > :is(img:first-of-type,img:last-of-type) {
        width: 255px;
    }

    #ToCompareBanner > div:first-of-type > img.crack {
        position: relative;
        top: 46px;
    }
    /*#endregion*/
}

@media(max-width:768px) {

    #ToCompareBanner > div:first-of-type > img:nth-of-type(4),
    #ToCompareBanner > div:first-of-type > img:nth-of-type(5),
    #VehicleFeatures > div:first-of-type > p:last-of-type,
    #VehicleFeatures > div:first-of-type > span:last-of-type,
    #CarImage3,
    #ToCompareBanner > div:first-of-type > span:last-of-type {
        display: none;
    }
    /*#region CompareBox */
    #ToCompare > div > a > div:first-child > :is(img:first-of-type,img:last-of-type) {
        width: 215px;
    }

    #ToCompareBanner > div:first-of-type > img:not(.crack) {
        width: 50%;
    }

    #VehicleFeatures > div:first-of-type {
        width: 91%;
    }

    /*#endregion*/
    #ToCompareBanner > div:first-of-type::after {
        top: 159px;
        height: 747px;
        width: 100%;
    }
}

@media(max-width:576px) {
    /*#region CompareBox */

    #ToCompare > div {
        grid-template-columns: 1fr;
    }

        #ToCompare > div > a > div:first-child {
            height: 120px;
        }

        #ToCompare > div > a > div:last-child {
            padding: 2rem 0 0 0;
        }

        #ToCompare > div > a {
            border-radius: 20px;
        }

            #ToCompare > div > a > div:last-child > div > div:nth-child(2) > img {
                width: 16px;
            }

            #ToCompare > div > a > div:last-child > div > div:not(div:nth-of-type(2)) {
                width: 44%;
                max-width: 44%;
                min-width: 44%;
            }



            #ToCompare > div > a > div:first-child > :is(img:first-of-type,img:last-of-type) {
                width: 44%;
                top: 40px;
            }

            #ToCompare > div > a > div:last-child > div {
                padding: 5px;
                gap: 5px;
            }

                #ToCompare > div > a > div:last-child > div > div:nth-child(2) {
                    background: var(--saa-yellow);
                    width: max-content;
                }

            #ToCompare > div > a:hover > div:first-child > img:last-of-type {
                transform: rotateY(180deg) scale(1);
                right: 0;
            }

            #ToCompare > div > a:hover > div:first-child > img:first-of-type {
                transform: scale(1);
                left: 0;
            }

            #ToCompare > div > a > div:first-child:after {
                top: 33px;
                left: 11%;
                height: 145px;
                width: 70%;
            }

    /*#endregion */

    #VehicleFeatures > div:first-of-type {
        padding: 1rem;
    }

        #VehicleFeatures > div:first-of-type > p > i {
            top: -9px;
            left: -12px;
        }

    #ToCompareBanner > div:first-of-type > img:not(.crack) {
        height: 30%;
        position: relative;
        top: 45px !important;
    }

    #VehicleFeatures {
        margin-top: 141px;
    }

    #ToCompareBanner > div:first-of-type > img:not(.crack) {
        top: 67px;
    }

    #ToCompareBanner > div:first-of-type > img.crack {
        position: relative;
        top: 30px;
        height: 100px;
    }

    h1 {
        font-size: 23px !important;
    }

    #ToCompareBanner > div:first-of-type::after {
        display: none;
    }

    #ToCompareBanner > div:first-of-type > span {
        top: 45px;
        height: 48px;
    }
}
