section {
    .flex-container-blog {
        width: 100%;
        height: auto;
        padding: 2rem 15rem;
        .first-section {
            display: flex;
            width: 100%;
            .flex-first-column {
                width: 60%;
                display: flex;
                flex-direction: column;
                .title-blog-dfsk{
                    font-weight: 500;
                    font-size: 2rem;
                    padding-left: 1rem;
                    border-left: solid 5px var(--primary-bg-color);
                    margin-bottom: 1rem;
                }
                .img-blog {
                    height: 100%;
                    position: relative;
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        
                    }
                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background: linear-gradient(rgba(5, 7, 12, 0.3), rgba(5, 7, 12, 0.3));
                        z-index: 1;
                    }
                    .text{
                        position: absolute;
                        bottom: 0;
                        width: 100%;
                        padding: 5rem;
                        font-size: 2rem;
                        left: 0;
                        font-weight: 200;
                        z-index: 250;
                        color: white;
                    }
                }
            }
            .flex-second-column {
                width: 40%;
                display: flex;
                flex-direction: column;
                margin-left: 1.5rem;
                .form-inline{
                    margin-bottom: 1rem;
                }
                h3 {
                    font-size: 1rem;
                    font-weight: 500;
                    margin: 1rem 0rem;
                    padding-left: 1rem;
                    border-left: solid 4px var(--primary-bg-color);
                }
                a{
                    text-decoration: none;
                    text-align: start;
                }
                .articulos {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                
                    .articulo {
                        display: flex;
                        gap: 1rem;
                        height: 8rem;
                        .articulo-imagen {
                            flex: 0 0 auto;
                            margin-right: 1rem;
                            width: 10rem;
                            img {
                                width: 100%;
                                object-fit: cover;
                                height: 8rem;
                            }
                        }
                
                        .articulo-texto {
                            flex: 1;
                
                            p {
                                display: flex;
                                justify-content: start;
                                align-items: center;
                                height: 8rem;
                                color: #242526;
                            }
                        }
                    }
                }
            }
        }

        .second-section {
            h3 {
                margin: 2rem 0rem;
                padding-left:2rem;
                font-size: 2rem;
                font-weight: 500;
                border-left: solid 4px var(--primary-bg-color);
                
            }
            .slider-container{
                .slider {
                    a{
                        margin: 2rem;
                        text-decoration: none;
                        img{
                            width: 100%;
                            height: 15rem;
                            object-fit: cover;
                        }
                        p{
                            color: black;
                            width: 100%;
                            padding: 2rem;
                            font-size: 1rem;
                            font-weight: 400;
                        }
                    }
                    
                }
            }
        }

        .third-section {
            display: flex;
            flex-direction: column;
            h3 {}
            .container-coches{
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
                width: 100%;
                margin-top: 2rem;
                .coche{
                    width: calc(95%/3);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    p{
                        margin: 2rem auto;
                    }
                    a{
                        text-decoration: none;
                        color: white;
                        padding: .5rem 2rem;
                        background: var(--primary-bg-color);
                        border-radius: 50px;
                    }
                    img{
                        object-fit: cover;
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }
}
