.container-board {
    width: 100%;
    padding: 0 10px;
}

.chair {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

.dep-chair, .members {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.board-card {
    background-color: #E2E2F4;
    width: 280px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.board-card img {
    width: 100%;
    height: 70%; /* Image takes 60% of the card height */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.last-part-board {
    height: 30%; /* Remaining 40% */
    /* padding: 10px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.last-part-board h2 {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.last-part-board p {
    font-style: italic;
    max-width: 200px;
    margin: 5px 0 0;
    font-size: 0.95rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .dep-chair,
    .members {
        flex-direction: column;
        align-items: center;
    }
}

.container-board {
    width: 100%;
    padding: 0 10px;
}

.chair {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

.dep-chair,
.members {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.board-card {
    background-color: #e2e2f4;
    width: 280px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.board-card img {
    width: 100%;
    height: 70%; /* Image takes 60% of the card height */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.last-part-board {
    height: 30%; /* Remaining 40% */
    /* padding: 10px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.last-part-board h2 {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.last-part-board p {
    font-style: italic;
    max-width: 200px;
    margin: 5px 0 0;
    font-size: 0.95rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .dep-chair,
    .members {
        flex-direction: column;
        align-items: center;
    }
}
