html,
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

div#conteudo {
    margin-top: 0px;
    flex: 1;
}

h1 img {
    max-width: 300px;
    width: 100%;
    margin-top: -100px;
    margin-bottom: -50px;
    border-radius: 8px;
}

div#parte_cima {
    color: #fff;
    background-image: linear-gradient(to right, #707070, #505050);
    width: 90%;
    margin: 50px auto;
    border-radius: 8px;
    display: flex;
    height: 700px;
}

div#imagem {
    margin-bottom: 500px;
    width: 40%;
    height: 480px;
    margin-left: 100px;
    margin-top: 110px;
    border-radius: 8px;
    box-shadow: 0 0 0.2em #ffffff;
    /* background-image: url("../img/retroescavadeira.jpg"); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

div#imagem img {
    width: 100%;
    max-width: 480px;
    height: 500px;
    border-radius: 8px;
}

div#conteudo_txt {
    margin-top: 70px;
    text-align: center;
    width: 40%;
    height: 550px;
    margin-left: 100px;
}

div#conteudo_txt p {
    text-align: start;
    font-size: 17px;
    font-weight: lighter;
}

h3 {
    margin-top: 80px;
}

div#servicos {
    width: 100%;
    background-color: #fff;
    padding: 20px 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 0.1em #ffffff;
    margin-right: 10px;

}

.servico {
    margin: 0px !important;
}

div#servicos img {
    width: 30px;
    background-color: #b3b3b3;
    height: 25px;
    padding: 10px;
    border-radius: 16px;
}

div#servicos ul {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

div#servicos ul li {
    list-style: none;
    display: flex;
    align-items: center;
    height: 30px;
}

img.esquerda {
    transform: scaleX(-1);
}

div#parte_baixo {
    background-color: #fff;
}

div#campo_opcoes {
    position: relative;
    display: flex;
    margin-top: 0px;
    min-height: 400px;
    align-items: center;
    justify-content: space-around;
    background-image: linear-gradient(to bottom, #474747, #2c2c2c);
}

div.opcao {
    display: flex;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-image: linear-gradient(to right, #c93136, #cb2026);
    color: #fff;
    font-weight: 600;
    height: 250px;
    width: 20%;
    margin-top: -200px;
    border-radius: 10px;
    box-shadow: 0 0 0.2em #000;
    padding: 10px;
}

div.opcao:hover {
    box-shadow: 0 0 0.3em #fff;
    font-size: 18.5px;
    transition: 0.5s;
}

div.opcao img {
    margin-top: 20px;
}

div.opcao p {
    width: 90%;
}

h4 {
    margin-top: 0px;
    text-align: center;
    font-size: 25px;
    color: #000;
}

div#quem_somos {
    margin-top: 100px;
}

h4 {
    font-size: 40px;
    font-weight: 500;
    border-bottom: 3px dotted #0000008e;
    height: 200px;
    width: fit-content;
    margin: auto;
}

div#txt_quem_somos {
    width: 80%;
    margin: auto;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

div#txt_quem_somos p {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    width: 40%;
    font-size: 20px;
    margin-top: -100px;
}

div#img_baixo {
    width: 100%;
    margin: auto;
    margin-top: 50px;
    height: 500px;
    box-shadow: 0 2px 0px #ffffff;
}

div#img_baixo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h4#quando_precisar {
    top: 60px;
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    position: absolute;
}


@media (max-width: 900px) {

    div#parte_cima {
        display: block;
        padding-top: 50px;
        height: fit-content;
    }

    div#imagem {
        margin-bottom: 0px;
        width: 80%;
        margin-top: 0px;
        margin-left: 0px;
        margin: auto;
    }

    div#conteudo_txt {
        margin-top: 70px;
        text-align: center;
        width: 70%;
        margin: auto;
        margin-top: 50px;
        height: 550px;
    }

    div.opcao {
        width: 28%;
    }
}

@media(max-width: 600px) {
    #servicos ul {
        display: flex;
        flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
        justify-content: center; /* Centraliza os itens horizontalmente */
        padding: 0;
        margin: 0;
        gap: 18px;
        list-style: none;
    }

    #servicos ul li {
        flex-basis: calc(33.33% - 10px); /* Define que cada li ocupe 33.33% da largura, subtraindo um espaço de margem */
        margin-bottom: 20px; /* Espaço entre as linhas */
        display: flex; /* Torna o li um flex container */
        justify-content: center; /* Centraliza o conteúdo horizontalmente */
    }

}


@media (max-width: 500px) {

    div#parte_cima {
        margin-top:  0px;
    }

    div#img_baixo img {
        width: 100%;
        height: 60%;
    }

    div#servicos {
        width: 100%;
        margin: auto;
        margin-left: -10px;
    }

    div#campo_opcoes {
        margin-top: -200px;
        display: block;
        height: fit-content;
        padding: 50px 0px;
    }

    div.opcao {
        margin: auto;
        width: 50%;
        height: fit-content;
        text-wrap: wrap;
        word-break: break-all;
        word-wrap: break-word;
        margin-top: -80px;
        margin-bottom: 130px;

    }

    h1  {
        margin-left: 0px;
        margin-right: 0px;
        margin: auto;
    }

    h1 img {
        margin-left: 0px;
        margin-right: 0px;
        margin: auto;
    }

    /* div#servicos img {
        width: 20px;
        background-color: #b3b3b3;
        height: 15px;
        padding: 10px;
        border-radius: 16px;
    } */

    h3 {
        margin-top: 30px;
    }

    div#conteudo_txt {
        margin-top: 70px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: auto;
        margin-top: 50px;
        height: 550px;
    }

    div#conteudo_txt {
        margin-top: 0px;
        padding-bottom: 100px;
    }

    div#txt_quem_somos {
        display: block;
        margin: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    div#txt_quem_somos p {
        width: 80%;
        margin-top: 50px;
    }

    h4 {
        width: 95%;
        border-bottom: none;
        height: 50px;

    }

    div#imagem {
        margin-bottom: 0px;
        width: 90%;
        margin-top: 0px;
        margin-left: 0px;
        margin: auto;
    }

}

