:root {
    --dark-cyan: hsl(185, 75%, 39%);
    --very-dark-desaturated: hsl(229, 23%, 23%);
    --dark-grayish-blue: hsl(227, 10%, 46%);
    --dark-gray: hsl(0, 0%, 59%);
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Kumbh Sans', sans-serif;
    background-color: var(--dark-cyan);
    background-image: url('../images/fondo.svg');
    background-position: right 50vw bottom 50vh, left 50vw top 50vh;
    margin: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
}

.card {
    background-color: white;
    width: 326px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.card-header {
    width: 100%;
    height: 100px;       /* Ajusta este valor al alto que desees */
    object-fit: cover;   /* Mantiene la imagen recortada sin deformarla */
    display: block;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(153, 153, 153, 0.383);
}

.card-body-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 5px solid white;
    border-radius: 50%;
    margin-top: calc(-50px - 5px);
    background-color: white;
}



.card-body-title {
    margin-top: 2rem;
    font-size: 1.8rem;
}

.card-body-title span {
    color: var(--dark-gray);
    font-weight: 400;
}

.card-body-text {
    color: var(--dark-gray);
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-around;
}

.card-footer-social {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.card-footer-social p {
    letter-spacing: 1px;
}