.banner-home {
    position: relative;
}

    .banner-home img {
        display: block;
        max-width: 100%;
        height: auto;
    }

.banner-text {
    position: absolute;
    top: 0%;
    left: 5%;
    color: #fff;
    width: 35%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
}

    .banner-text h1 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 700;
        font-size: 48px;
    }

    .banner-text h3 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 36px;
    }

    .banner-text p {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 21px;
    }

    .banner-text a:hover button {
        color: #002239 !important;
    }


/* Carrousel section styles */

.box-buttom-wrapper {
    position: absolute;
    right: 0;
    top: 40%;
    text-align: right;
}

.carrousel-wrapper {
    padding: 0.5rem 0rem;
}

.banner-image, .news-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.news-image {
    display: flex;
    align-items: end;
}

.banner-image .row {
    height: 100%;
}

.banner-information {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url();
    height: 100%;
    padding: 3rem 2rem;
}

    .banner-information h1 {
        color: white;
    }

    .banner-information h3 {
        color: white;
        margin-bottom: 2rem;
        margin-top: 0rem;
    }

    .banner-information p {
        color: white;
        margin-bottom: 4rem;
    }

    .banner-information h1 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 700;
        font-size: 48px;
    }

    .banner-information h3 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 36px;
    }

    .banner-information p {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 21px;
    }

.btn-primary {
    background-color: #18BDE6 !important;
    border-width: 0px !important;
    width: 15.625rem !important;
}

/* Side buttons */
#buttonSecondary {
    margin-top: 3%;
    width: 15.625rem;
    background-color: #18BDE6;
    border-width: 0px;
    padding: 0.75rem;
}

    #buttonSecondary a {
        color: #fff;
        text-decoration: none;
    }
/* Carousel responsive design */


@media (max-width: 481px) {

    .banner-text {
        position: revert;
        width: 100% !important;
        color: #fff;
        width: 35%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 2rem 2rem 4rem 2rem;
    }

        .banner-text h1 {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 700;
            font-size: 22px;
            line-height: 33px;
        }

        .banner-text h3 {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 700;
            font-size: 16px;
            line-height: 24px;
            margin-bottom: 2rem;
        }

        .banner-text p {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 400;
            font-size: 14px;
            line-height: 21px;
            margin-bottom: 4rem;
        }

        .banner-text a {
            margin-bottom: 4rem;
        }


    .carrousel-logo-wrapper img {
        filter: grayscale(1);
        max-width: 2rem;
        width: 100%;
    }

    .banner-image {
        height: 40rem;
    }

    #premium-items {
        padding: 0rem 0rem 2rem 0rem;
    }

    #news-articles {
        min-height: 90rem;
    }

    .banner-information h1 {
        font-weight: 700;
        font-size: 2rem;
    }

    .banner-information h3 {
        font-size: 1rem;
    }

    .banner-information p {
        font-size: 0.8rem;
    }

    .news_container {
        padding: 0rem 0rem !important;
    }
}
/* Styles for tablets*/
@media (min-width: 482px) and (max-width: 980px) {
    .carrousel-logo-wrapper img {
        filter: grayscale(1);
        max-width: 4rem;
        width: 100%;
    }

    .banner-image {
        height: 40rem;
    }

    #premium-items {
        padding: 0rem 5rem 3rem 5rem;
    }

    #news-section {
        padding: 3rem 3rem;
    }

    .news-content {
        padding: 0.5rem;
    }

    #news-articles {
        min-height: 40rem;
    }
}

/* Styles for dekstops */
@media (min-width:961px) {
    .carrousel-logo-wrapper img {
        filter: grayscale(1);
        max-width: 5rem;
        width: 100%;
    }

    .banner-image {
        height: 35rem;
    }

    #premium-items {
        padding: 0rem 5rem 3rem 5rem;
    }

    #news-section {
        padding: 3rem 2rem;
    }

    .news-content {
        padding: 0.5rem;
    }

    #news-articles {
        min-height: 40rem;
    }
}


/* Section of form bottoms (bottoms right after banner) */

#containerTest {
    height: 16.625rem;
    width: 100%;
    background-color: #F0F1F2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#colTest {
    height: 10.375rem;
    background-color: white;
    margin-right: 0.625rem;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#colService {
    height: 10.375rem;
    background-color: #002239;
    margin-left: 0.625rem;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#subtitleElement2 {
    color: #002239;
}

/* Block section about premium brands (multi car logos) */

#containerPremium {
    height: 30.125rem;
    padding: 0%;
    display: flex;
    flex-direction: column;
}

#blockTitle {
    margin-top: 3rem;
    height: 9.375rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#blockBrandsTop {
    height: 9.375rem;
    width: 100%;
}

#blockBrandsBottom {
    height: 9.375rem;
    width: 100%;
}

#rowBrands {
    height: 100%;
    width: 100%;
}

.boxBrandsPremium {
    display: flex;
    align-items: center;
    justify-content: center;
}

#brandIcon {
    width: 8.25rem;
}

#colLogos {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Block section about news */

#containerNews {
    background-color: #F0F1F2;
    padding: 0%;
    padding-bottom: 3.75rem;
    padding-left: 1.875rem;
    padding-right: 1.875rem;
}

.news_container{
    padding: 0rem 2rem
}

.news-card {
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}

.home-news-img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: auto;
}

.news-card-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: 5%;
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.6);
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

    .news-card-text h6 {
        margin: 0;
        font-weight: 700;
    }

.news-card:hover img {
    transform: scale(1.025);
    transition: all 500ms;
}

.news-card:hover .news-card-text {
    background: #18BDE6 !important;
}

.news_container a {
    text-decoration: none;
}

.new_individual_container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-size: 500px 450px;
    background-repeat: no-repeat;
    background-position: center;
    height: 450px;
    margin: 1rem;
}

    .new_individual_container:hover {
        transform: scale(1.05);
        overflow: hidden;
    }

        .new_individual_container:hover .textBackgroundBlack {
            background-color: #18BDE6;
        }

.textBackgroundBlack {
    background-color: rgba(0,0,0,0.6);
    width: 90%;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    margin-bottom: 1rem;
}
/* Responsive section: news section */
@media (max-width:992px) {
    .newsTypography {
        font-size: 13px;
    }
}

@media (max-width:767px) {
    #containerNews {
        padding: 0;
    }

    .new_individual_container {
        margin: 1rem 0;
    }

    .news_container {
        justify-content: center;
    }

    .textBackgroundBlack {
        width: 80%;
    }
}

@media (max-width:576px) {
    .news_container {
        flex-direction: column;
    }
}

/* Review section */
.review-block {
    margin: 0 3.5rem;
}

@media (max-width:576px) {
    .review-block {
        margin: 0;
    }
}

/* Home footer styles */
#connectBlock {
    background-color: #002239;
}

.content_footer_wrapper {
    padding: 3rem;
}

.newsletter-wrapper {
    display: flex;
    justify-content: center;
}

.subscription-form {
    display: flex;
    width: 70%;
}

#buttonForm {
    background-color: #6A9C08;
    border-width: 0px;
    width: 80%;
    margin: 0 1rem;
    color: #fff;
}

#textFooter_h1 {
    font-family: poppins-small;
}

#textFooter_h2 {
    font-family: poppins-bold;
}

#newsletterLabel {
    color: #fff;
}
/* subscription section mobile design */
@media (max-width:768px) {
    .subscription-form {
        width: 100%;
        margin-left: 1.5rem;
    }
}

@media (max-width:340px) {
    #newsletterLabel {
        font-size: 10px;
    }

    #buttonForm {
        font-size: 12px;
    }
}

@media (max-width:300px) {
    #newsletterLabel {
        font-size: 8px;
    }

    #buttonForm {
        font-size: 10px;
    }
}

@media (max-width:270px) {
    #newsletterLabel {
        font-size: 6px;
    }

    #buttonForm {
        font-size: 8px;
    }
}

#blockForm {
    height: 6.25rem;
    width: 60%;
}

#divTop {
    height: 3.75rem;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 0%;
}

#divBottom {
    height: 2.5rem;
    width: 100%;
    display: flex;
}

#elementNote {
    margin-bottom: 2px;
}

#formView {
    width: 90%;
}

.col.columnWithBorder:before {
    content: "";
    position: absolute;
    bottom: -1rem;
    z-index: 1;
    border-top: 1rem solid white;
    border-right: 1rem solid transparent;
    border-left: 1rem solid transparent;
    border-bottom: none;
}


@media (min-width: 1281px) {

    /* CSS */
    .banner-text {
        padding: 4rem;
    }

        .banner-text h1 {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 700;
            font-size: 48px;
        }

        .banner-text h3 {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 700;
            font-size: 28px;
            line-height: 36px;
            margin-bottom: 2rem;
        }

        .banner-text p {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 400;
            font-size: 18px;
            line-height: 21px;
            margin-bottom: 4rem;
        }
}

@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */
    .banner-text h3 {
        margin-bottom: 2rem;
    }

    .banner-text p {
        margin-bottom: 2.5rem;
    }
}
