@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;
}

/* ---------------------------------------------------------------------------------- */

/* intro */
.container .intro {
    width: 100%;
    height: fit-content;
    padding: 5% 20% 2% 20%;
}

.container .intro h1 {
    font-size: 30px;
}

/* ------------------------------------------------------- */

.profile {
    width: 100%;
    height: fit-content;
    padding: 0 18%;
}

.profile .row {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.profile .row a {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin: 0 20px;
    text-decoration: none;
    line-height: 25px;
}

.profile .row a .name-card {
    width: 600px;
    height: fit-content;
    border-radius: 200px;
    padding: 15px 20px;
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.239);
    transition: .3s;
}

.profile .row a .name-card:hover {
    box-shadow: 1px 2px 15px rgba(255, 0, 0, 0.494);
}

.name-card .info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-card .info .picture {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-card .info .picture img {
    width: 150px;
    height: 150px;
    border-radius: 200px;
    border: 7px solid #BF0201;
    border-style: inset;
}

.name-card .info .name-info {
    width: 100%;
    padding-left: 20px;
}

.name-card .info .name-info .full-name {
    width: fit-content;
}

.name-card .info .name-info .full-name p {
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin: 0;
}

.name-card .info .name-info .line {
    width: 75%;
    border: 1px solid #0C4723;
    border-radius: 100px;
    margin: 10px 0;
}

.name-card .info .name-info .position {
    width: fit-content;
}

.name-card .info .name-info .position p {
    font-size: 16px;
    color: black;
    margin: 0;
    padding: 0 20px 0 0;
}

/* ------------------------------------------------------------------------------- */

/* blank */
.container .blank {
    width: 100%;
    height: 500px;
}

/* ------------------------------------------------------------------------------- */

/* responsive */
@media screen and (max-width: 1600px) {
    .profile {
        width: 100%;
        height: fit-content;
        padding: 0 15%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .profile .row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 0px;
    }

    .profile .row a {
        align-items: center;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 800px) {
    .profile {
        padding: 0 10%;
    }

    .container .intro h1 {
        font-size: 20px;
    }

    .name-card .info .picture img {
        width: 120px;
        height: 120px;
    }

    .name-card .info .name-info .full-name p {
        font-size: 16px;
    }

    .name-card .info .name-info .position p {
        font-size: 14px;
    }
}

@media screen and (max-width: 780px) {
    .profile .row a .name-card {
        width: 300px;
        height: fit-content;
        border-radius: 10px;
        padding: 15px 20px;
        box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.239);
        transition: .3s;
    }

    .name-card .info {
        flex-direction: column;
    }

    .name-card .info .picture img {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .name-card .info .name-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 0px;
    }

    .name-card .info .name-info .full-name p {
        font-size: 14px;
        text-align: center;
    }

    .name-card .info .name-info .position p {
        font-size: 12px;
        text-align: center;
    }

    .name-card .info .name-info .full-name,
    .name-card .info .name-info .position {
        width: 100%;
    }

    .name-card .info .name-info .line {
        width: 200px;
        border: 1px solid #0C4723;
        border-radius: 100px;
        margin: 10px 0;
        align-items: center;
    }
}