﻿body {
}

.background-image-container {
    position: relative;
    margin-bottom: 2%;
}

.background-image {
    width: 100%;
    height: auto;
    max-height: 60vh; /* Ajuste conforme necessário */
    object-fit: cover;
    filter: brightness(70%);
    border-radius: 10px; /* Borda arredondada na imagem */
}

.title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

.card-custom {
    background-color: #F5F5DC; /* Cor bege claro */
    border-radius: 10px;
    min-width: 300px; /* Para garantir que o card fique bem visível em telas pequenas */
    margin-bottom: 2%; /* Espaço entre o card e o footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Garante que o conteúdo não ultrapasse os limites do card */
}

.card-text-right {
    color: #000;
    text-align: justify;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.large-text {
    font-size: 1.2rem; /* Texto grande para testar */
    max-height: 100%; /* Garante que o texto não exceda a altura do card */
    overflow: hidden; /* Garante que o texto não ultrapasse os limites do card */
    text-align: center; /* Centraliza o texto */
}

.fixed-height-card {
    display: flex;
    flex-direction: column;
    text-align: justify;
    justify-content: center;
}

    .fixed-height-card img {
        height: 50%; /* Ajuste conforme necessário */
        object-fit: cover; /* Ajuste da imagem */
    }

    .fixed-height-card .card-body {
        flex-grow: 1; /* Garante que o corpo do card cresça para preencher o espaço */
        display: flex;
        align-items: center;
        justify-content: center;
    }

.card-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify; /* Ajuste conforme necessário */
}

.card-group-custom .card {
    background-color: #F5F5DC; /* Cor bege claro */
    border-radius: 10px;
    min-height: 40vh; /* Altura mínima definida como 40% da altura da viewport */
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.card-group-custom img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
    height: auto;
    max-height: 30vh; /* Ajustar altura da imagem para ser responsiva */
    object-fit: cover; /* Ajuste imagem */
    flex-shrink: 0;
}

.card-small-text {
    font-size: 0.8rem; /* Texto pequeno */
    flex-grow: 1; /* Garantir que o texto cresça para preencher o espaço */
}

.container-fluid-custom {
    margin-bottom: 5%; /* Margin bottom adjusted as requested */
}