html {
    background-color: var(--rojo);
}

.content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.contentContainer {
    margin: auto;
    height: 450px;
    width: 90%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.contentContainer div {
    float: left;
    font-family: 'kanit_r', sans-serif;
    color: white;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.dark .contentContainer div {
    color: black;
}

.bioContainer {
    width: 55%;
}

.nameContainer {
    width: 65%;
}

.others,
.position {
    width: 35%;
}

.name {
    font-family: 'kanit_m', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.quote {
    font-style: italic;
    font-size: 2.2rem;
}

.others {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: end;
}

.others p {
    margin: 10px;
}

.others a {
    color: white;
    font-size: 1.2rem;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.dark .others a {
    color: black;
}

.others a:hover {
    color: black;
}

.dark .others a:hover {
    color: white;
}

.bioContainer,
.position {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: 30px;
}

.bioContainer {
    font-size: 1.1rem;
}

.bio {
    margin-bottom: 65px;
}

.position {
    font-size: 2.3rem;
    line-height: 2.6rem;
    text-align: end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

@media (max-width: 1024px) {

    .name {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .quote {
        font-size: 1.8rem;
    }

    .bio,
    .roles {
        font-size: 1.2rem;
    }

    .others a {
        font-size: 1.3rem;
    }

    .position {
        font-size: 2rem;
        line-height: 2.3rem;
    }

}

@media (max-width: 768px) {

    .name {
        font-size: 2.6rem;
    }

    .quote {
        font-size: 1.7rem;
    }

    .bio,
    .roles {
        font-size: 1.1rem;
    }

    .others a {
        font-size: 1.2rem;
    }

    .position {
        font-size: 1.8rem;
        line-height: 2.1rem;
    }
}

@media (max-width: 650px) {

    .content {
        height: 77%;
        height: 77vh;
        height: calc(var(--vh, 1vh) * 77);
        margin-top: 3vh;
    }

    .contentContainer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 90%;
        height: auto;
    }

    .contentContainer div {
        width: 100%;
        margin: 0;
    }

    .name {
        margin-bottom: 10px;
        font-size: 2rem;
    }

    .quote {
        font-size: 1.2rem;
        line-height: 1.6rem;
        width: 80%;
        margin-bottom: 15px;
    }

    div.others {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        margin: 50px 0;
    }

    .others p {
        text-align: center;
        margin: 20px;
    }

    .others p a {
        font-size: 1.4rem;
    }

    .bioContainer {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .bio {
        margin-bottom: 20px;
    }

    .bio,
    .roles {
        font-size: 1rem;
    }

    div.position {
        font-size: 1.5rem;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        text-align: start;
        margin: 20px 0 30px;
        display: block;
    }

}

@media (max-width: 350px) {
    .name {
        font-size: 1.8rem;
    }
}
