/* ==========================================================================
   6. ESTILOS DA PÁGINA DE RAÇAS (racas.html)
   ========================================================================== */

.race-container {
    width: 80vw;
    margin: auto;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.race-block {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.race-img {
    width: 100%;
    height: 300px;
    object-fit:  cover;
}

.race-block[data-race="brazilian-monster"] .race-img {
    object-position: left;
}


.race-block:hover{
    transform: scale(1.05);
}

.race-btn {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e2bf59;
    font-size: 20px;
    border: none;
    color: black;
    z-index: 2;
    width: 100%;
}

/* Seção de conteúdo de cada raça */
.race-section {
    width: 80vw;
    margin: auto;
    display: none; /* Escondido por padrão */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding-bottom: 40px;
}

/* Classe 'active' para mostrar a seção da raça selecionada */
.race-section.active {
    display: block;
    opacity: 1;
}

.history-title {
    font-size: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: #9e7702;
    margin-top: 20px;
    margin-bottom: 15px;
}

h2.history-title {
    font-size: 40px;
}

.info-block {
    font-size: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: rgb(61, 61, 61);
}
