body {
    font-family: 'Saira', sans-serif;
}

.carousel-control-prev, .carousel-control-next {
    display: flex; /* Corrigido para exibir os controles */
}

#h1pt2NossaFrota {
    margin-top: 100px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

#h1Parte2NossaFrota {
    font-size: 45px;
    font-weight: bold;
    margin: 0;
}

#paragrafo {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 50px;
    margin-bottom: 75px;
    gap: 5.5vw;
}

.nossaFrotaMain {
    position: relative;
    height: 100vh;
    padding-bottom: 20px;
}

#col5l3nossafrota {
    position: absolute;
    top: 95vh;  
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#tituloConjunto {
    font-size: 35px;
}

#contatoConjunto {
    font-size: 12px;
}

#imgprincipal h1 {
    margin-right: 53.7vw;
    color: #353535;
    text-decoration: none;
    font-weight: bold;
    font-size: 35px;
}

#imgprincipal {
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#imgprincipal img {
    width: 980px;
}

#botao {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#anteriorBtn:hover, #proximoBtn:hover,
#anteriorBtn:focus, #proximoBtn:focus {
    background-color: #e0e0e0; /* Muda a cor de fundo ao passar o mouse */
    transform: scale(1.1); /* Aumenta ligeiramente o botão */
}

#anteriorBtn, #proximoBtn {
    position: relative; /* Importante para posicionar os pseudo-elementos */
    border: 2px solid gray; 
    border-radius: 50%; 
    width: 40px;
    height: 40px;
    background-color: white; 
    display: flex;
    align-items: center;
    justify-content: center; 
    cursor: pointer;
    outline: none; 
    transition: background-color 0.3s, transform 0.3s;
}

.paragrafoNossaFrota {
    margin-bottom: 35px;
}

#textoprincipal {
    width: 30%;
    height: 30vh;
    text-align: justify;
    margin-left: 100px;
    margin-top: 50px;
}

#textoprincipal h5 {
    font-weight: bold;
}

.card-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.card {
    margin: 0 1em;
    align-items: center;
    margin-top: 70px;
    border: none;
}

.card h5 {
    font-weight: bold;
}

.card p {
    margin-bottom: 50px;
    font-size: 0.9vw;
    font-weight: bold;
}

.card-img-top {
    width: 80%;
}

.card-img-top:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: 1s;
}

.carousel-caption,
.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators {  
    filter: brightness(50%);
}

.texto-botao {
    margin-top: 10vh;
}

#anteriorBtn::after, #proximoBtn::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px; /* Ajuste o tamanho da fonte conforme necessário */
}

#anteriorBtn i, #proximoBtn i {
    font-size: 16px; /* Tamanho do ícone */
    color: gray;
}

.carousel-control-prev, .carousel-control-next {
    top: 250px;
}

.telaMenor{
    display: none;
}

.telaMaior{
    display: flex;
}

/* Media Queries */
@media (min-width: 576px) and (max-width: 992px) {

    #col2l1 {
        justify-content: flex-end;
        align-items: center;
        display: flex;
    }

    #imgprincipal img {
        width: 580px;
        height: 450px;
    }

    #ppt2 {
        width: 80vw;
        font-size: 14px;
        text-align: justify;
    }
    
    #ppt22 {
        width: 80vw;
        font-size: 14px;
        text-align: justify;
    }

    #imgprincipal h1 {
        margin-right: 53.7vw;
        font-size: 30px;
    }

    .p {
        width: 42vw;
        font-size: 2vw;
    }

    #textoprincipal {
        width: 100%;
        height: 30vh;
        text-align: justify;
        margin: 100px 0 -50px 0;
        padding: 20px;
    }

    #textoprincipal p {
        font-size: 2.5vw;
    }

    .carousel-control-prev, .carousel-control-next {
        display: inline;
        bottom: 35%;
    }

    #textoprincipal h5 {
        font-size: 3vw;
    }

    .card:not(:first-child) {
        display: none;
    }

    .card {
        width: 90%;
        margin-top: 0px;
    }

    .card p {
        font-size: 2vw;
    }

    .card h5 {
        font-size: 4vw;
        margin-top: -50px;
    }

    .carousel-control-prev, .carousel-control-next {
        top: 80px;
    }

    .carousel-indicators {
        display: none;
    }

    .card-wrapper {
        height: 60vh;
    }

    #imgprincipal {
        width: 100vw;
        height: 60vh;
    }

    .telaMenor{
        display: flex;
    }

    .telaMaior{
        display: none;
    }
    
}

@media (max-width: 576px) {

    .headerNossaFrota {
        margin-bottom: 30px;
    }

    #h1Parte2NossaFrota {
        font-size: 25px;
        font-weight: bold;
        margin: 0;
    }

    .texto-botao {
        margin-top: 0px;
    }

    #imgprincipal {
        height: 20vh;
    }

    .telaMenor{
        display: flex;
    }

    .telaMaior{
        display: none;
    }

    .card:not(:first-child) {
        display: none;
    }

    .card-wrapper {
        height: 250px;
    }

    .carousel-indicators {
        display: none;
    }

    .carousel-control-prev, .carousel-control-next {
        display: flex;
        top: 120px;
    }

    #imgprincipal h1 {
        margin-right: 35vw;
        font-size: 25px;
        margin-bottom: 35px;
    }

    #imgprincipal img {
        width: 350px;
        height: 200px;
    }

    #botao {
        order: -1;
    }

    #tituloConjunto {
        margin-top: 80px;
        font-size: 30px;
    }

    #descricaoConjunto {
        margin-top: 20px;
        font-size: 12px;
    }

    #cubagemConjunto {
        font-size: 12px;
    }

    #capacidadeConjunto {
        font-size: 12px;
    }

    #paragrafo {
        margin-left: 6vw;
        flex-direction: column;
    }
 
    #ppt2 {
        width: 80vw;
        font-size: 12px;
        text-align: justify;
    }
     
    #ppt22 {
        width: 80vw;
        font-size: 12px;
        text-align: justify;
    }

    #anteriorBtn, #proximoBtn {
        margin-top: 45px;
        width: 25px;
        height: 25px;
    }

    .card-img-top {
        width: 80%;
    } 
    .card{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90%;
    }

    #contatoConjunto {
        font-size: 10px;
    }
    
    #anteriorBtn i, #proximoBtn i {
        font-size: 10px; /* Tamanho do ícone */
    }

    #paragrafo {
        justify-content: center;
        align-items: center;
        display: flex;
        margin-top: 50px;
        margin-bottom: 75px;
        gap: 2rem;
    }

}

@media (min-width: 1800px) {
    main {
        margin-bottom: 2.5vh;
    }
}
