.colegiados {
    background-image: url(../img/etc/7.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colegiados .box {
    background-color: var(--tertiary);
    padding: 30px;
    border-radius: 5px;
    max-height: 500px;
    max-width: 800px;
    overflow-y: auto;
}

.colegiados .box  h1 {
    font-size: 1.5rem;
    font-weight: bolder;
    text-align: center;
}

.colegiados .box  p {
    font-size: 1rem;
    text-align: center;
}

.campos {
    display: grid;
    column-gap: 20px;
    grid-row: 20px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    justify-content: space-between;
    align-items: center;
}

.modal-body h3 {
    font-size: 1rem;
}

.foto {
    height: 140px;
    width: 140px;
    object-fit: cover;
    display: flex;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 50%;
}

@media screen and (max-width: 600px){
    .campos {
        grid-template-columns: repeat(1, 1fr);
    }
}
