:root {
    --font-size-p-content: 20px;
    --font-size-p-content: 20px;
}

p, li{
    font-size: 20px;
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

ul {
    list-style:circle;
    padding-left: 20px;
    margin-left: 20px;
}

li {
    margin: 20px;
}

#backgroundImg {
    margin: auto;
    width: 80%;
}

.contents {
    display: flex;
}

#profile #myProfile {
    height: 11vw;
    /* display: block; */
    border-radius: 50%;
    box-shadow: 0px 6px 6px #aaa;
    margin: 1.5vw 0;
}

#profile {
    position: absolute;
    top: 100%;
    /* bottom: 0%; */
    left: 0;
    height: 1900%;
    width: 20%;
    background-color: #eee;

    display: flex;
    flex-direction: column;
    justify-content:flex-start;    
    align-items: center;
    box-shadow: 10px 10px 10px #999;
    z-index: 1;
}

#profile > h2 {
    color: #333;
    font-size: 2vw;
    font-family:Arial, Helvetica, sans-serif;
    line-height: 3vw;
    font-weight: bold;
    padding-top: 1.5vw;
}

#profile h3 {
    color: #333;
    font-size: 1.5vw;
    font-family:Arial, Helvetica, sans-serif;
    line-height: 2.25vw;
    font-weight: bold;
    text-align: middle;
}

#profile hr {
    height: 0.00001vh;
    width: 100%;
}

/* ========================= Educations =============================== */

#profile h4{
    display: flex;
    justify-content: center;
    width: 100%;
    color: #444;
    font-size: 1.2vw;
    font-family:Arial, Helvetica, sans-serif;
    line-height: 2.25vw;
    font-weight: bold;
    text-align: middle;
}

#profile p{
    color: #555;
    font-size: 0.93vw;
    font-family:Arial, Helvetica, sans-serif;
    line-height: 1.5vw;
    text-align: middle;
    font-weight: 300;
}

#profile .one-school {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#profile .school-name {
    font-size: 1vw;
    font-weight: bold;
}

/* ========================= profile-info Information =============================== */

.block {
    display: block;
}

#profile .profile-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
    height: auto;
    background-color: #eee;
    margin: 0 0 1vw;
    box-sizing: border-box;
}

/* ========================= One profile-info Way =============================== */

#profile .profile-info .all-contact-info-container {
    display: flex;
    justify-content: space-between;
}

#profile .profile-info a {
    text-decoration: none;
    margin: 4% 0;
    width: 20%;
    transition: width 0.3s 0s ease;
}

#profile .profile-info a:hover {
    width: 30%;
}

#profile .profile-info a img{
    width: 100%;
}

/* ============================= Main Contents ================================== */
.main-field-key-word {
    color: #44f
}

.theoritical-key-word {
    color: #6b6
}

.company-key-word {
    color: #a4d
}

.bold-word {
    font-weight: bold;
}

.contents #content-body {
    margin-left: 20%;
    background-color: white;
    width: 80%;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 5%;
    transition: background-color 0.2s 0s ease;
}

@media screen and (max-width: 768px) {    
    .contents #content-body {
        margin-left: 0;
        width: 100%;
    }
}

.wrap h2 {
    font-size: 46px;
    margin: 30px 0;
    font-weight: bold;
    color: #222;
}

.wrap h3 {
    font-size: 32px;
    margin: 30px 0;
    font-weight: bold;
    color: #444;
}

@media screen and (max-width: 768px) {
    .wrap h2 {
        font-size: 36px;
    }

    .wrap h3 {
        font-size: 28px;
        margin: 30px 0;
        font-weight: bold;
        color: #444;
    }
}

.contents #content-body .wrap, #WorkExperience {
    margin: 2% 5%;
}

#WorkExperience {
    position: relative;
}

.work-experiences-contents {
    margin: 10% 0;
    display: flex;
}

.work-experiences-contents .companys {
    width: 100%;
    display: inline-flex;
}

.work-experiences-contents figure {
    display: flex;
    width: 100%;
}

.work-experiences-contents #ckmates-icon, #itri-icon {
    width: 100%;
    border: solid #888 2px;
    border-radius: 30px;
    padding: 5%;
    box-shadow: 0px 3px 3px #ccc;
}

.company-container {
    display: inline-flex;
    position: relative;
    width: 100%;
}

.company-container .date {
    display: inline;
    position: absolute;
    top: 110%;
    left: 0%;
    width: 100%;
    text-align: center;
    font-size: 1.2vw;
    text-decoration: none;
    margin: 18px 0;
}

.hr-div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .hr-div {
        opacity: 0;
        position: fixed;
        top: -100%;
        left: -100%;
    }
}

@media screen and (min-width: 768px) {
    .vr-container {
        top: -100%;
        left: -100%;
        opacity: 0;
        position: fixed;
    }
}

.hr-div hr {
    width: 100%;
    color: #ccc;
    /* box-shadow: 0px 2px 2px #ccc; */
}

#WorkExperience .description {
    line-height: 27px;
    text-align: center;
    border: solid #aaa 0px;
    border-radius: 20px;
    box-shadow: 4px 4px 4px #ccc;
    background-color: #666;
    color: #fff;
    transition: height  0.2s 0s ease-in-out, 
                opacity 0.2s 0.2s ease-in-out, 
                border  0.2s 0.2s ease-in-out, 
                padding 0.2s 0.2s ease-in-out;
    position: relative;
    margin: 0 10%;
    opacity: 0;
    height: 0;
    padding: 0px 20px;
}

#WorkExperience .description p {
    opacity: 1;
}

#WorkExperience .key-word {
    font-weight: bold;
    color: #65cbfa;
}

#WorkExperience .important-sentence {
    font-weight: bold;
    color: #b1b9ff;
}

.hint-words {
    font-weight: bold;
    color: #666;
}

/* ========================== Awards =========================== */

#Awards .li-title {
    font-size: 20px;
    line-height: 33px;
    margin: 30px 0;
    color: #555;
    font-weight: 700;
}

.key-word-white-bkg {
    font-weight: bold;
    color: #ffae00;
}
/* ========================== Skills =========================== */

#Skills .p-title {
    font-size: 22px;
    line-height: 33px;
    margin: 30px 0;
    font-weight: 700;
    color: #444;
}

#Skills li {
    font-size: 20px;
    line-height: 33px;
    margin: 30px 0;
    color: #555;
}

#Skills .li-title {
    font-weight: 700;
}

#Skills .english-container {
    display: flexbox;
}

.english-container p {
    display: inline-flex;
}

#Skills #toeic-certificate {
    width: 0%;
    display: block;
    margin: auto;
    box-shadow: 3px 3px 3px #999;
    transition: width 0.3s 0s ease-in-out; 
}

#Skills #view-toeic-cert-container {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

#Skills #view-toeic-cert {
    display: inline-flex;
    padding: 10px 10px;
    border-radius: 5px;
    margin-left: 10px;
    height: 20px;
    color: white;
    background-color: #aaa;
    transition: background-color 0.2s 0 ease;
}

#Skills #view-toeic-cert:hover {
    background-color: #666;
}

#Skills .progress-bar{
    display: block;
    flex-direction: column;
    width: 100%;
}

.progress-bar .a-skill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 70px;
    width: 100%;
    padding: 10px 2%;
    border-radius: 30px;
    background-color: #eee;
    box-sizing: border-box;
    margin: 1% 0;
}

.a-skill .skill-progress {
    width: 90%;
    border-radius: 20px;
    padding: 5px 2%;
    height: 95%;
    margin: 1% 0;
    display: flex;
    justify-content: left;
    background-color: #ccc;
    box-sizing: border-box;
    position: relative;
}

#pytorch-progress, #numpy-progress {
    width: 85%;
}

#opencv-progress {
    width: 70%;
}

#aws-progress, #html-progress, #css-progress, #sklearn-progress, #pandas-progress {
    width: 50%;
}

#javascript-progress {
    width: 40%;
}

.a-skill .skill-icon {
    height: 100%;
    width: auto;
}

.a-skill .skill-name-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 1%;
}

.a-skill .skill-name {
    color: #333;
}

.key-word-white-bkg {
    font-weight: bold;
    color: #ffae00;
}

@media screen and (max-width: 768px) {
    .progress-bar .a-skill {
        height: 50px;
        margin: 4% 0;
    }

    .a-skill .skill-name {
        color: #333;
    }
}

/* =============================== Portfolio =============================== */

.botton-container .botton {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.botton-container .botton:hover > .botton-icon {
    opacity: 0.5;
}

.botton-icon {
    width: 70%;
    transition: opacity 0.2s 0s ease;;
}

.portfolio-contents-container {
    margin: 20px 0;
}

.portfolio-contents-container .two-botton-container {
    display: flex;
    justify-content: space-around;
    background-color: #444;
}

#portfolio-title-container {
    display: flex;
    /* flex-direction: row; */
    justify-content: center;
    background-color: #333;
    margin: auto;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

#portfolio-title {
    color: #fff;
    font-size: 28px;
    font-family:Arial, Helvetica, sans-serif;
    line-height: 50px;
    font-weight: bold;
}

#portfolio-container {  
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.img-and-bottons-container {
    position: relative;
}

#portfolio-container .botton-container {
    display: flex;
    width: 5%;
    height: 100%;
    position: absolute;
    top: 0%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#portfolio-container #l-botton-container {
    left: -5%;
}

#portfolio-container #r-botton-container {
    right: -5%;
}

#portfolio-container #portfolio-img {
    width: 100%;
    display: block;
    margin: auto;
    background-color: #444;
}

#portfolio-container #portfolio-description {
    width: 100%;
    display: block;
    margin: auto;
    text-align:left;
    color: #fff;
    background-color: #333;
    padding: 20px;
    font-size: 20px;
    line-height: 30px;
    border-radius: 0 0 20px 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    #portfolio-title {
        font-size: 25px;
        line-height: 37.25px;
        font-weight: 500;
    }

    #portfolio-container {
        width: 100%;
    }

    #portfolio-container #portfolio-description {
        font-size: 16px;
        line-height: 24px;
    }

}

/* ============================ Learning Notes ============================ */

#LearningNotes .LearningNotes-container {
    display: flex;
    justify-content: center;
}

#LearningNotes #notes-container {
    display: flex;
    flex-wrap: wrap;
}

#LearningNotes .note-container {
    display: flex;
    height: 33px;
    align-items: center;
}

#LearningNotes li {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#LearningNotes a {
    text-decoration: none;
    display: block;
    line-height: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    /* margin-left: 20px; */
    transition: background-color 0.2s 0s ease;
}

@media screen and (min-width: 768px) {
    #LearningNotes a:hover {
        background-color: #ddd;
    }
}

#LearningNotes .note-description {
    font-size: 1.2vw;
    font-weight: 700;
    color: #444;
    transition: color 0.2s 0s ease;
}

@media screen and (min-width: 768px) {
    #LearningNotes .note-description:hover {
        color: #000;
    }
}

#LearningNotes .note-design {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    padding: 1.5vw;
    width: 4vw;
    background-color: #888;
    border-radius: 1.5vw 0 0 1.5vw;
    box-shadow: 3px 0 3px #999;
}

.note-design .design-word {
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 1.8vw;
}

#LearningNotes .note-icon {
    height: 100%;
    padding-right: 20px;
}

#LearningNotes .all-notes-larger-container {
    width: 90%;
    border: solid 1px #aaa;
    border-radius: 1.5vw;
    background-color: #eee;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-content: flex-start;
}

#LearningNotes .notes-list-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
}


@media screen and (max-width: 768px) {   
    #LearningNotes .note-description {
        font-size: 5vw;
    }

    #LearningNotes a {
        border-bottom: #ddd 2px solid;
        border-radius: 0%;
    }
    
    #LearningNotes .note-design {
        opacity: 0;
        position: fixed;
    }
    
    #LearningNotes .all-notes-larger-container {
        width: 100%;  
        border: 0px;
        background-color: #fff;
    }

    #LearningNotes .notes-list-container {
        width: 100%;
        flex-direction: column;
    }
}

/* ================ RWD for the profile and manual button =========================== */
@media screen and (min-width: 769px) {
    #header-mobile {
        top: -100%;
        position: fixed;
    }
}
@media screen and (max-width: 768px) {
    #checkbox-profile, #checkbox-nav {
        opacity: 0;
        position: fixed;
        top: -100%;
    }
    #header-mobile {
        display: flex;
        height: 8vh;
        width: 100%;
        background-color: #eee;
        position: fixed;
        top: 0;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
        box-shadow: 0 0.5vh 0.5vh #999;
    }

    #header-mobile #modile-title {
        color: #555;
        font-size: 4vh;
        font-family:Arial, Helvetica, sans-serif;
        line-height: 3vw;
        font-weight: bold;
        padding-top: 1.5vw;
    }

    #header-mobile #label-profile {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 4vh;
        width: 4vh;
        margin-left: 2vh;
    }

    #label-profile img {
        opacity: 0.8;
        width: 80%;
        height: 80%;
    }

    #header-mobile #label-nav {
        display: flex;
        height: 4vh;
        width: 4vh;
        margin-right: 2vh;
    }

    #label-nav hr {
        width: 60%;
        align-self: center;
        color: #555;
        box-shadow: 0 -1.1vh 0 #555,
                    0 1.1vh 0 #555;
    }
}

@media screen and (max-width: 768px) {
    #profile #myProfile {
        height: 15vh;
        box-shadow: 0px 3px 3px #aaa;
    }

    #profile {
        position: fixed;
        top: 8vh;
        left: -100%;
        width: 90%;
        height: calc(92vh);
        background-color: #eee;
        justify-content:flex-start;   
        box-shadow: 0px 0 5px #999;
        transition: left 0.3s 0s ease;
    }

    #profile > h2 {
        color: #555;
        font-size: 7vw;
        line-height: 9vh;
    }

    #profile h3 {
        font-size: 5vw;
        line-height: 7.5vw;
    }
    /* ========================= Educations =============================== */

    #profile h4{
        font-size: 4.5vw;
        line-height: 6.75vw;
    }

    #profile p{
        font-size: 4vw;
        line-height: 6vw;
        font-weight: 300;
    }

    #profile .school-name {
        font-size: 5vw;
        line-height: 7.5vh;
    }

    /* ========================= profile-info Information =============================== */

    #profile .profile-info {
        margin: 0 0 2vh;
        /* background-color: #ddd; */
    }
}
