:root {
    --cor-primaria: #273270;
    --cor-hover: #213191;
    --cor-secundaria: #facc15;
    --cor-terciaria: #fde047;
    --cor-texto: #000;
    --cor-fundo: #F4F4F4;
}

.hero {
    background-image: linear-gradient(rgb(0 0 0 / 51%), rgb(0 0 0 / 65%)), url(../imagens/img-caminhao.jpg);
    background-position: center;
    background-repeat: no-repeat;
    min-width: auto;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding: 20px;
}

.hero-text {
    display: flex;
    gap: 8rem;
    margin: 0;
    align-items: flex-start;
    justify-content: center;
    width: 80%;
    /* background-color: var(--cor-primaria);
    box-shadow: 0px 0px 20px black; */
    padding: 4rem;
    border-radius: 1rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: white;
    font-weight: 900;
}

.hero strong {
    border-radius: 1rem;
    background: linear-gradient(to right, #fde047, #facc15);
    padding: .5rem 1rem;
    font-weight: 400;
}

.hero-text div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 800;
}

.hero a {
    background: linear-gradient(to right, #fde047, #facc15);
    color: black;
    font-weight: bold;
}

.service-button {
    margin-top: 3rem !important;
}

.hero p  {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    width: 80%;
    line-height: 1.2;
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30%;
    padding: 5rem;
    background-color: var(--cor-fundo);
}

.text-container div {
    display: flex;
    flex-direction: column;
    width: 70%;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.text-container h2 {
    font-weight: 800;
    font-size: 3rem;
    color: var(--cor-primaria);
}

.text-container p {
    font-weight: 500;
    text-align: center;
}

.container-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70%;
    padding: 5rem;
    background-color: white;
}

.container-services h2 {
    font-weight: 800;
    font-size: 3rem;
    color: var(--cor-primaria);
}

.services-cards {
    display: flex;
    gap: 2rem;
    width: 100%;
    padding: 2rem 32px;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
}

.service-card {
    display: flex;
    width: 85%;
    flex-direction: row;
    gap: 1.5rem;
    text-align: center;
    margin: 1rem 0;
}

.service-card div {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    flex-direction: column;
}

.service-card h3 {
    font-size: 2rem;
    color: white;
}

.service-card p {
    font-weight: 500;
    text-align: center;
}





@media (max-width: 1500px) {
    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1050px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 914px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 775px) {
    .hero h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero button {
        font-size: 1rem;
    }

    .text-container div {
        width: 100%;
        text-align: center;
    }

    .text-container h2 {
        font-size: 1.5rem;
        display: flex;
        flex-wrap: nowrap;
    }

    .text-container p {
        font-size: small;
    }

    .container-services h2 {
        font-size: 1.5rem;
    }

    .container-services img {
        /* width: 15rem; */
        display: none;
    }

    .container-services h3 {
        font-size: 1rem;
    }

    .container-services p {
        font-size: .8rem;
    }

    .container-services {
        padding: 5rem 0;
    }

    .services-cards {
        padding: 2rem 0;
    }

    .service-card {
        width: 80%;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 1rem;
    }

    .about-text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        width: 65%;
        gap: 2rem;
    }
}

@media (max-width: 450px) {
    .service-card {
        margin: 0;
    }

    .service-card p {
        font-size: .5rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero {
        height: 60vh;
    }

    .hero button {
        font-size: .6rem;
        padding: .5rem 1rem;
    }

    .service-button {
        margin-top: 1rem !important;
    }
}

@media (max-width: 430px) {
    #contact-form {
        width: 90%;
    }
}

@media (max-width: 390px) {
    #contact-form h1 {
        font-size: 1.5rem;
    }
}