/* 
--- root
    |-- body
        |-- container --content
                        |-- top
                        |   |-- photo 
                        |   |-- info
                        |       |-- jobTitle
                        |       |-- infoContent
                        |       |-- contact
                        |           |- github::before
                        |           |- gmail::before
                        |           |- etc::before
                        |-- bottom
                            |-- bottomLeft 
                            |   |-- education
                            |       |-- eduInfo
                            |-- bottomRight 
                                |-- skill
                                    |-- proLang
                                    |-- otherSkill
*/


:root{
    --bgColor: rgb(255, 255, 255);
    --fontcolor : rgb(70,70,70);
    --topColor : rgb(226,205,138);
    --font: Inter, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
* {
	font-family: var(--font);
}

body {
    width: 210mm;
    height: 297mm;
    padding: 30px;
    background-color: var(--bgColor);
    color: var(--fontcolor);
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 0.1rem;
}

/* <!-- print setting --> */
@media print {
    body {
        -webkit-print-color-adjust: exact;
    }
}
/* fix click change color */
.link a,
.link a:link,
.link a:visited {
	/* color: rgb(2, 49, 255); */
    color: var(--fontcolor);
}

a,
a:link,
a:visited {
	color: rgb(2, 49, 255);
    /* color: var(--fontcolor); */
}

ul {
	padding: 0px;
	list-style: none;
}

.container {
    height: 100%;
    display: flex;
    background-color: #fff;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    /* padding: 15px; */
    border-bottom: solid 10px #E2CD8A;
}
.content{
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.top,.bottom{
    padding: 20px;
}

.top{
    border-radius: 5px;
    flex:2;
    background-color: var(--topColor);
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
    flex-wrap:nowrap;
    padding-bottom: 0;
}
.info{
    display: flex;
    justify-content:center;
    align-items: center;
    line-height: 1rem;
    letter-spacing: 0.1rem;
}
.contactContainer{
    width: 100%;
    line-height: 0.5rem;
    vertical-align:middle;
    display: flex;
    align-items: center;
    justify-content:center;
    flex-wrap: nowrap;
}

.contact ul{
    list-style: none;
}

.contact ul li{
    margin-top: 1rem;
}
.link{
    white-space: nowrap;
    font-size: 0.8rem;
}
img.btn-link {
    vertical-align:middle;
	width: 24px;
	border-radius: 50%;
	margin-right: 0.2rem;
    margin-left: 0.5rem;
}

.link a {
	height: 32px;
    font-weight: bold;
}


.bottom{
    flex:8;
    padding-top: 0rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.bottomRight,.bottomLeft{
    padding: 20px;
}
.bottomLeft{
    flex:6;
}
.bottomRight{
    flex:7;
}


.topLeft{
    padding: 20px;
    padding-top: 0;
    padding-bottom: 0;
    flex:2;
    /* display: flex;
    flex-direction: column;
    font-weight: bold;
    text-align: center; */
}
.topRight{
    padding: 20px;
    padding-top: 0;
    padding-bottom: 0;
    flex: 3;
}

.headshot{
    display:block;
    width:  50% !important;
    object-fit: contain;
    margin:auto;
    border-radius: 50%;
    
}
.name{
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

.infoContent{
    text-align: center;
}

.infoContent p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.summary p{
    line-height: 1.5rem;
    font-weight: 400;
}


/* 右邊欄位 技能框框 */
.proLang{
    display:inline-block;
    background-color: #E2CD8A;
    color: #fff;
    padding: 0.3rem;
    border-radius: 0.3rem;
    margin: 0.1rem;
    font-size: 0.8rem;
}

.otherSkill{
    display:inline-block;
    background-color: #fff;
    color: #E2CD8A;
    border: 1px solid #E2CD8A;
    padding: 0.3rem;
    border-radius: 0.3rem;
}

.experience a {
	font-weight: bold;
}

.experience li {
	padding-left: 10px;
	border-left: solid 4px #e2cd8a;
    margin-bottom: 1rem;
}

.experience li:hover,.experience li:active {
	background-color: rgb(250, 239, 210);
	border-radius: 10px;
	color: rgb(27, 27, 27);
	font-weight: bold;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

li .popup{
    visibility: hidden;
    display: inline-block;
    position:absolute;
    
    
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
} 

li:hover .popup,li:active .popup{
    visibility:visible;
    left: 50mm;
    top:30mm;
} 

.popup-img{
    display: block;
    width: 500px;
    border: #fae7a9 solid 0.5rem;
    border-radius: 10px;
}

.year{
    border-left: solid 4px #e2cd8a;
    margin-bottom: 1rem ; 
    
}
.education li:hover,.education li:active{
    background-color: rgb(250, 239, 210);
    border-radius: 10px;
    color: rgb(27, 27, 27);
	font-weight: bold;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
.education li {
    padding-left: 10px;
}

.skill{
    font-size: 0.8rem;
}

.pro-lang {
	display: inline-block;
	padding: 5px;
	border: solid 2px #e2cd8a;
	border-radius: 5px;
	/* color: #e2cd8a; */
	font-weight: bold;
	height: 15px;
	line-height: 15px;
	margin: 3px;
	color: #898989;
	background-color: #fff5d4;
}
.pro-lang:hover,.pro-lang:active {
    background-color: rgb(255, 255, 255);
	/* border: solid 2px #e2cd8a; */
	box-shadow: 2px 2px 8px #e2cd8a;
	
	color: #e2cd8a;
}

.other-skills {
	display: inline-block;
	padding: 5px;
	border: solid 2px #e2cd8a;
	border-radius: 5px;
	/* color: #e2cd8a; */
	font-weight: bold;
	height: 15px;
	line-height: 15px;
	margin: 3px;
	color: #898989;
	background-color: #fff5d4;
}
.other-skills:hover,.other-skills:active {
    background-color: rgb(255, 255, 255);
	/* border: solid 2px #e2cd8a; */
	box-shadow: 2px 2px 8px #e2cd8a;
	
	color: #e2cd8a;
}

.qrcode {
	margin-top: -1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.qrcode-text {
	margin-top: -5mm;
	font-weight: bold;
}