/* General styles */
.carrousel-wrapper {
    padding: 0.5rem 0rem;
}

.carrousel-logo-wrapper {
    display: grid;
    grid-template-columns: repeat(7, auto);
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

    .carrousel-logo-wrapper img:hover {
        filter: grayscale(0);
    }

/* Modify styles for Bootstrap carousel*/
.carousel-indicators [data-bs-target] {
    background-color: black !important;
}



.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;
}

    .news-image:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.banner-image .row:first-child {
    height: 100% !important;
}

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

    .banner-information h1 {
        color: white;
    }

    .banner-information h3 {
        color: white;
    }

    .banner-information p {
        color: white;
    }

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

    .banner-information h3 {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }

    .banner-information p {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 3rem;
    }

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

    .btn-primary:hover {
        color: #002239;
    }

.btn-primary-blue {
    background-color: #002239 !important;
    border-width: 0px !important;
    width: 15.625rem !important;
    color: white !important;
}

    .btn-primary-blue:hover {
        color: #18BDE6 !important;
    }

#premium-brands .row {
    margin: 0;
}

#premium-brands-title {
    text-align: center;
    margin: 2rem 0rem;
}

    #premium-brands-title h3 {
        color: #002239;
        font-weight: 700;
    }

.premium-brand-item {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0rem 11rem;
}

#news-section {
    background: #F0F1F2;
}

.news-description {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 90%;
    min-height: 5rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url();
    border-radius: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .news-description p {
        color: white !important;
        margin: 0;
    }

.news-details-home {
    color: white !important;
}

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

.news-content {
    position: relative;
    overflow: hidden !important;
    height: 100%;
    width: 100%;
}

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

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

    .news-content:hover .news-description {
        background: #18BDE6;
        transition: all 500ms;
    }

/* Styles for phones*/
@media (max-width: 481px) {
    .carrousel-logo-wrapper img {
        filter: grayscale(1);
        max-width: 2rem;
        width: 100%;
    }

    #premium-brands {
        margin-bottom: 3rem;
    }

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

    .banner-information {
        padding: 4rem 2rem
    }

    .premium-brand-item {
        padding: 0rem 3rem;
    }

        .premium-brand-item a img {
            max-width: 3.5rem !important;
        }
}

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

    #premium-brands {
        margin-bottom: 1rem;
    }

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

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

    .premium-brand-item {
        padding: 0rem 5rem;
    }

        .premium-brand-item a img {
            max-width: 5rem !important;
        }
}

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

    .banner-image {
        height: 35rem;
    }

    #premium-brands {
        margin-bottom: 3rem;
    }

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

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

    .premium-brand-item {
        padding: 0rem 9rem;
    }

    .brand-icon {
        min-width: 5rem !important;
    }

    .brand-icon-resize {
        min-width: 10rem !important;
    }
}
