@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

.header {
    padding: 20px 0;
    background-color: #EEEEEE;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;

    p {
        font-size: 30px;
        font-family: sans-serif;
        font-weight: 700;
        margin-bottom: 0;

    }

    .header-btns {
        display: flex;
        gap: 15px;
        max-width: 400px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .cta {
        display: block;
        max-width: 320px;
        width: 100%;
        border-radius: 10px;
        background-color: #DC143C;
        padding: 10px 0;
        color: #fff;
        font-size: 20px;
        font-weight: 500;
        text-align: center;
        font-family: 'Ubuntu', sans-serif;
        transition: all 0.3s ease;
        &:hover {
            background-color: #fff;
            color: #DC143C;
        }
    }

    #btn_wp {
        max-width: 80px;
    }
}

.home {
    .home-content {
        max-width: 677px;
        width: 100%;
        line-height: 1.6;

        .text-1 {
            font-size: 40px;
        }
        .text-2 {
            font-size: 35px;
        }

        h3 {
            font-size: 30px;
            font-weight: 400;
            color: #fff;
            position: relative;
        }

        a {
            background: #DC143C;
        }

        #view-products {
            grid-template-columns: repeat(4, 1fr);
            width: 50%;
            right: 2%;
        }
    }
}

.about .about-content .right a {
    background: #DC143C;
    border: 2px solid #DC143C;
}

.skills {
    padding: 60px 0;
    h2 {
        margin-bottom: 0;
    }
}

.products {
    background: url(./images/product_bg.webp) no-repeat center;
    background-size: cover;
    font-family: "Poppins", sans-serif;
    margin-bottom: 50px;

    .products_flex {
        max-width: 1292px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 30px;

        .item {
            max-width: 300px;
            border-radius: 10px;
            overflow: hidden;
            width: 100%;
            background-color: rgba(255, 255, 255, .9);
            display: flex;
            margin-inline: auto;

            .item_body {
                display: flex;
                flex-direction: column;
                flex-grow: 1;
                gap: 18px;

                .item_text {
                    padding: 20px 10px 0;
                }

                h3 {
                    font-size: 16px;
                    font-weight: bold;
                    line-height: 1.6;
                    text-align: center;
                }

                p {
                    font-size: 16px;
                    line-height: 1.6;
                    text-align: center;
                }
            }

            .cta {
                display: block;
                margin-top: auto;
                background-color: crimson;
                padding-block: 10px;
                text-align-last: center;
                color: white;
                font-weight: bold;
                font-size: 16px;
                transition: all 0.3s ease;

                &:hover {
                    background-color: white;
                    color: crimson;
                }
            }
        }
    }
}

.position-relative {
    position: relative!important;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.bateria-para-auto {
    .teams {
        h2 {
            color: #fff;
        }
    }
}

@media (max-width: 767px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;

        p {
            font-size: 20px !important;
        }

        .cta {
            max-width: 200px;
            width: 100%;
            font-size: 15px;
        }

    }

    .bateria-para-auto {
        .max-width {
            padding: 0 23px;
        }
        .second-header {
            display: none;
        }
        & .hero {
            & .hero-content {
                p {
                    font-size: 18px !important;
                    text-align: center;
                }
            }
        }
    }
}