@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

* {
    box-sizing: border-box;
}

/* Style the body */
body {
    background-color: rgb(255, 255, 255);
    max-width: 100vw;
    margin: auto;
    font-family: 'Google Sans';
}

.container {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ------------------------------------------------------------------------------------------- */

/* link back */
.container .link-back {
    width: 100%;
    margin-top: 5%;
    padding: 0 20%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.container .link-back a {
    font-size: 14px;
    text-decoration: none;
    color: #0C4723;
    text-wrap: wrap;
}

.container .link-back p {
    font-size: 14px;
    text-decoration: none;
    color: #0C4723;
    text-wrap: wrap;
}

.container .link-back a:hover {
    font-size: 14px;
    text-decoration: underline;
    color: #0C4723;
}

/* ---------------------------------------------------------------------------------- */

/* profile */
.profile {
    width: 100%;
    padding: 0 20%;
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile img {
    width: 300px;
    height: 300px;
    border: 7px solid #BF0201;
    border-style: inset;
    border-radius: 200px;
}

.profile .name-info {
    margin-left: 50px;
}

.profile .name-info h1 {
    font-size: 30px;
    margin: 0;
    padding: 5px 0;
}

.profile .name-info .line {
    width: 75%;
    border: 1px solid #0C4723;
    border-radius: 100px;
    margin: 20px 0;
}

.profile .name-info p {
    font-size: 20px;
    margin: 0;
    padding: 5px 0;
}

/* detail */
.detail {
    width: 100%;
    padding: 0 20%;
    margin-top: 5%;
}

.detail .education,
.detail .interests,
.detail .publications {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail .education .education-info,
.detail .interests .interest-info,
.detail .publications .pub-info {
    width: 100%;
    border-radius: 20px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.detail .education .education-info h3,
.detail .interests .interest-info h3,
.detail .publications .pub-info h3 {
    width: fit-content;
    padding: 20px 50px;
    border-radius: 0px 20px 20px 0px;
    color: white;
    background: linear-gradient(270deg, #BF0201, #600101);
}

.detail .education .education-info p,
.detail .interests .interest-info p,
.detail .publications .pub-info p {
    text-align: justify;
    padding: 5px 30px;
    line-height: 30px;
}

/* detail magin-top */
.detail .interests,
.detail .publications {
    margin-top: 5%;
}

.cv {
    width: 100%;
    padding: 0 20%;
    margin-top: 5%;
}

.cv p {
    width: fit-content;
    line-height: 30px;
}

.cv p a {
    color: #BF0201;
}


/* --------------------------------------------------------------------------------- */

/* blank */
.container .blank {
    width: 100%;
    height: 500px;
}

/* --------------------------------------------------------------------------------- */

/* responsive */
@media screen and (max-width: 1480px) {

    /* profile */
    .profile {
        flex-direction: column;
    }

    .profile .name-info h1 {
        text-align: center;
    }

    .profile .name-info p {
        text-align: center;
    }

    .profile .name-info .line {
        width: 100%;
    }
}

/* responsive */
@media screen and (max-width: 1320px) {

    /* intro */
    .container .intro {
        padding: 100px 15%;
    }

    /* link back */
    .container .link-back {
        padding: 0 15%;
    }

    /* profile */
    .profile {
        padding: 0 15%;
    }

    .profile img {
        width: 200px;
        height: 200px;
    }

    .profile .name-info h1 {
        font-size: 20px;
    }

    .profile .name-info p {
        font-size: 16px;
    }

    /* detail */
    .detail {
        padding: 0 15%;
    }

    .cv {
        padding: 0 15%;
    }
}

/* responsive phone */
@media screen and (max-width: 800px) {

    /* link back */
    .container .link-back {
        padding: 0 10%;
    }

    /* intro */
    .container .intro {
        padding: 30px 10%;
    }

    .container .intro h1 {
        font-size: 20px;
    }

    /* profile */
    .profile {
        padding: 0 10%;
    }

    .profile img {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .profile .name-info {
        margin: 0;
    }

    .profile .name-info h1 {
        font-size: 20px;
    }

    .profile .name-info p {
        font-size: 14px;
    }

    /* detail */
    .detail {
        padding: 0 10%;
    }

    .detail .education .education-info h3,
    .detail .interests .interest-info h3,
    .detail .publications .pub-info h3 {
        font-size: 18px;
    }

    .detail .education .education-info p,
    .detail .interests .interest-info p,
    .detail .publications .pub-info p {
        font-size: 14px;
    }

    .cv {
        padding: 0 10%;
    }
}