@import url('baseSite.css');

.sec-branco {
    margin-bottom: 32px;
}

.linha {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.subtitulo-tipo {
    font-size: 1.8rem;
    color: #4B2C0B;
    font-weight: bold;
    margin: 32px 0 16px 0px;
    font-family: "sans-serif", Arial;
   
}

.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
    max-width: 700px;
    width: 90%;
    border-radius: 5px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    position: relative;
    flex-wrap: wrap;
}

.card.doença {
    background-color: #4CAF50;
}

.card.praga {
    background-color: #8B4513;
}

.card .carousel,
.card .carousel-inner,
.card .carousel-item {
    width: 200px;
    height: 200px;
}

.card .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
}

.btn-ameaca {
    background-color: rgb(255, 255, 255);
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
}

.card.doença .btn-ameaca {
    color: #4CAF50;
}

.card.praga .btn-ameaca {
    color: #8B4513;
}

.card.doença .btn-ameaca:hover {
    background-color: #4CAF50;
    color: white;
}

.card.praga .btn-ameaca:hover {
    background-color: #8B4513;
    color: white;
}

.card-nome-popular {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.2rem;
}

.card-nome-cientifico {
    font-size: 1rem;
    font-style: italic;
    color: #fff;
}

.organizaFiltro {
    flex-direction: row;

}

@media (max-width: 992px) {
    .organizaFiltro {
        flex-direction: column-reverse;

    }
}

@media (min-width: 768px) {
    .subtitulo-tipo {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 700px;
    }

}

@media (max-width: 576px) {
    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-body {
        align-items: center;
    }

    .btn-ameaca {
        position: static;
        margin-top: 12px;
    }
}

.titulo-pagina {
    font-size: 2.4rem;
    font-weight: 800;
    color: #4b2e19;
    margin-bottom: 10px;
}

.titulo-cientifico {
    font-size: 1rem;
    color: #7a5b45;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 20px;
}
