.produtos {
    padding: 100px 10px 100px 10px;
    
}
.produtos-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-gap: 15px;
}
.produtos-icons {
    display: grid;
    grid-template-columns: 1fr ;
    grid-gap: 40px 20px;
    justify-items: center;
}
.produtos-title span {
    display: block;
    content: "";
    height: 1px;
    width: 100px;
    background-color: #E3312D;
}

.produtos-about h2 {
    margin-bottom: 20px;
}

.produtos-title {
    transform: rotate(-90deg);
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.produtos-title h2 {
    color: rgb(77, 77, 77);
}

.produtos-content-scroll {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    grid-gap: 10px;
    padding-left: 40px;
    padding-right: 20px;
}

.produtos-content-scroll::-webkit-scrollbar {
    margin: 5px;
    height: 15px;
    margin-top: 10px;
    background: #F2F2F2;
    border-radius: 2.5px;
}

.produtos-content-scroll::-webkit-scrollbar-thumb{
    background: #E3312D;
    border-radius: 5px;
}

.produtos-content-grid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;
}

.produtos-content-scroll a {
    flex: 1;
    min-width: max-content;
    transition: .1s;
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin-bottom: 20px;
    margin-right: 20px;
}

.produtos-content-scroll > div {
    flex: 1;
    background-size: cover;
    height: 380px;
    min-width: 390px;
    position: relative;
    border-radius: 5px;
}

.produtos-content-scroll > div:nth-child(1) {
    background: url(/img/extintor.webp) no-repeat center center;
}
.produtos-content-scroll > div:nth-child(2) {
    background: url(/img/placas.webp) no-repeat center center;
}

.produtos-content-scroll > div:nth-child(3) {
    background: url(/img/hidrante.webp) no-repeat center center;
}

.produtos-content-scroll > div:nth-child(4) {
    background: url(/img/iluminacao.webp) no-repeat center center;
}

@media only screen and (min-width:546px) and (max-width:775px) {

    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produtos-title {
        transform: rotate(0deg);
    }

    .produtos-content-scroll {
        padding-left: 20px;
    }

    .produtos {
        padding: 100px 10px 20px 10px;
        
    }
}

@media only screen and (min-width: 401px) and (max-width:545px) {

    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produtos-title {
        transform: rotate(0deg);
    }

    .produtos-content-scroll {
        padding-left: 20px;
    }

    .produtos {
        padding: 100px 10px 20px 10px;
    }

    .produtos-content-scroll > div {
        flex: 1;
        background-size: cover;
        height: 300px;
        min-width: 300px;
        position: relative;
        border-radius: 5px;
    }

    .btn p {
        font-size: 0.9rem;
        line-height: 1.4em;
    }

    .btn img {
        max-width: 40px;
    }
}


@media only screen and (max-width: 400px) {

    
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produtos-title {
        transform: rotate(0deg);
    }

    .produtos {
        padding: 100px 10px 20px 10px;
    }

    .produtos-content-scroll > div {
        flex: 1;
        background-size: cover;
        height: 300px;
        min-width: 300px;
        position: relative;
        border-radius: 5px;
    }

    .btn p {
        font-size: 0.9rem;
        line-height: 1.4em;
    }

    .btn img {
        max-width: 40px;
    }
    .produtos-title span {
        width: 50px;
    }

    .produtos-content-scroll {
        padding-left: 0px;
    }

}