@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400&display=swap" rel="stylesheet');

body{
    background-color: rgba(247, 247, 242,0.8);
}



h5.notation {
    color: #666666;
    text-align: center;
    font-family: 'EB Garamond', serif;
    font-style: italic;
}

h1 {
    text-align: center;
    color: #4f4f4f;
    font-family: 'EB Garamond', serif;

    margin: 20px 80px 20px 80px;
}

h3 {
    color: #666666;
    text-align: center;
    font-family: 'EB Garamond', serif;
    font-size: 95%;

}

h2 {
    color: rgba(61, 61, 61);
    text-align: left;
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    display: block;
    font-size: 18px;
    padding: 0.1%;


}


h4 {
    color: #6b6b6b;
    text-align: left;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    margin: 2px;

}

hr {
    margin: 0px;
}

li {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    padding-bottom: 0%;
    font-size: 95%;

}

p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    padding-top: 1%;
    padding-bottom: 0%;
    text-align: justify;
    font-size: 95%;
}

#cv_elements p{

    font-family: 'Roboto Condensed', sans-serif;
    display: block;
    padding: 0px;
    margin: 0px;
    text-align: justify;
    text-indent: -1.5em;
    padding-left: 5.5em;
    color: rgba(77, 82, 87);

}

#cv_elements h4{

    text-indent: -1.5em;
    padding-left: 3em;
    margin-top: 15px;
    margin-bottom: 12px;

}

#cv_elements ul{

    float: left;
    margin: 0px;
    padding-bottom: 4px;
    padding-top: 0px;
    display: inline;
    text-align: left;


}

#cv_elements li {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    
    font-size: 107%;
    list-style-position: outside;
    list-style-type: disc;
    list-style-position: inside;
    text-indent: -1.5em;
    padding-left: 2em;
    color: rgba(77, 82, 87, 0.9);
}


#cv_elements a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    
    font-size: 95%;
    list-style-position: outside;
    list-style-type: disc;
    list-style-position: inside;
    text-indent: -1.5em;
    padding-left: 2em;
    color: rgba(77, 82, 87, 0.9);
    padding-top: 0px;
    margin-left: 0px;
    padding-left: 0px;
}


a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    padding-top: 1%;
    padding-bottom: 0%;
    text-align: justify;
    font-size: 95%;
    
}

h5{
    text-align: center;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    
}



.container {
    display: table;
    margin: 30px auto 0px auto;
    background-color: rgba(247, 247, 242, 0.5);


}
ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(247, 247, 242);
}



ul li {
    float: left;
}


ul li a {
    display: block;
    color: #666666;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    text-align: center;
    padding: 10px 10px 10px 10px;
    margin:0 15px 0 15px;
    text-decoration: none;
}

ul.navbar li a:hover {
    background-color: rgba(226, 226, 226);
    border-radius: 0px 2px 3px 0px;
    
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    }

ul.navbar li a:active {
    background-color: rgba(226, 226, 226,0.3);
    border-radius: 0px 2px 3px 0px;
   
    box-shadow: 0px 2px 3px 0px  rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

ul.navbar li a:clicked{
    background-color: rgba(226, 226, 226,0.3);
    border-radius: 0px 0px 0px 0px;
    font-weight: bold;
}


.column {
  float: left;
  width: 23%;
  padding: 1%;
  margin-left: 0px;
  margin-right: 0px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  /*display: inline-block;*/
  
}

.column img{
    border-radius: 10px 10px 10px 10px;

}

.column img:hover {
    background-color: rgba(226, 226, 226);
    /*border-radius: 20px 20px 20px 20px;*/
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
}

.column img:active {
    background-color: rgba(226, 226, 226);
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
}

.column img:clicked{
    background-color: rgba(226, 226, 226);
    border-radius: 20px 20px 20px 20px;
    font-weight: bold;
}





ol li {
    margin-top: 3px;
    margin-bottom: 3px;
}

ol li a:hover {
   color: black;
}

ol li a{
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}



#project p.description {
    padding: 20px 10px;
}

.content {
    color: #4f4f4f;
    /*margin: 5px 250px 5px 250px;*/
    margin-right: 25%;
    margin-left:20%;
    font-family: 'Lato', sans-serif;
    line-height: 1.4;
    padding-top: 4%;
    padding-bottom: 6%;
    display: block;
	background-color: rgba(247, 247, 242, 0.45);
}

#cv_elements{
    margin-right: 16%;
    margin-left:18%;
}

img.sameLine{
    margin: 0;
}

.sameLinep{
    width: 100%;
    padding-left: 15px;
}

.sameLine{

    display: inline-table;
    margin-left: auto;
    margin-right: auto;
}


#profile{
  max-width: 25%;
  height: auto;
  float: right;
  margin: 3%;
  padding-top: 3%;
  margin-bottom: 10%;

}

table#small{
    width: 30%;

}
table#medium{
    width: 40%;

}
table#large{
    width: 100%;

}

table {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-collapse: collapse;   /*source:stackoverflow;*/
    font-family: 'EB Garamond', serif;

}


td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;

}

th {

    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;   /*source:stackoverflow;*/
    background-color: rgba(226, 226, 226,0.8);
    color: #666666;
}


@media screen and (max-width: 500px) {


  .column {
    margin-right: 20%;
    margin-left: 10%;
    width: 70%;

  }

}

@media screen and (max-width: 600px){

  .navbar li{
    float: none;
    display: block;
  }

  ul li a:hover {
    background-color: rgba(226, 226, 226);
    border-radius: 0px 0px 0px 0px;
    
    box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    }

    ul li a:active {
        background-color: rgba(226, 226, 226,0.3);
        border-radius: 0px 0px 0px 0px;
       
        box-shadow: 2px 2px 3px 3px  rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    ul li a:clicked{
        background-color: rgba(226, 226, 226,0.3);
        border-radius: 0px 0px 0px 0px;
        font-weight: bold;
    }

}


#caption{
    /*display: inline;
    float: left;*/
    position: absolute;
    /*margin-left: 2%;*/
    top: 98%;
    z-index: 2;
}


#jingxing{
    background-image:
    linear-gradient(to bottom, rgba(247, 247, 242), rgba(247, 247, 242, 0.7),rgba(247, 247, 242, 0.2),rgba(122, 122, 122,0.1)),
    url('assets/oldpic3.jpg');
     
    max-width: 100%;
    height: 550px;
    background-size: 100% 100%;

}

    
#lijiang{
    background-image:
    linear-gradient(to bottom, rgba(247, 247, 242, 1), rgba(255,255,255, 0.6),rgba(255,255,255, 0.1),rgba(122, 122, 122,0.2)),
    url('assets/oldpic4.jpg');
     
    max-width: 100%;
    height: 550px;
    background-size: 100% 100%;

}

#jingxing2{
    background-image:
    linear-gradient(to bottom, rgba(247, 247, 242, 1), rgba(255,255,255, 0.6),rgba(255,255,255, 0.1),rgba(122, 122, 122,0.2)),
    url('assets/old_photo_81.jpg');
    margin-top: 0px;
    padding-top: 2px;
    max-width: 100%;
    height: 600px;
    background-size: 100% 100%;


}

#bike{
    background-image:
    linear-gradient(to bottom, rgba(247, 247, 242, 0.8), rgba(255,255,255, 0.6),rgba(255,255,255, 0.1),rgba(122, 122, 122,0.2)),
    url('assets/old_photo_66.jpg');
	margin-top: 0px;
    padding-top: 30px;
    background-size: 100% 100%;
    max-width: 100%;
    height: 600px;
}

.footwrap{
    width: 100%;
    height: auto;
    opacity: 0.5;
    z-index: -1;
    position:fixed;
	bottom: 0px;
}

.footwrap p{
    bottom: 0px;
    right: 40px;
    position: absolute;
    
    z-index: 100;
    font-size: 14px;
    float: bottom;
    font-weight: 400;
    color: rgba(0,0,0);
}


.footwrap a{

    z-index: 100;

}

#myBtn {
  display: none;
  position: fixed;
  width: 30px;
  height: 30px;
  bottom: 13px;
  right: 10px;
  z-index: 99;
  font-size: 12px;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255);
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  border-radius: 50%;

}

#myBtn img{
    position: fixed;
    width: 23px;
    height: 23px;
    bottom: 17px;
    right: 13px;
}

#myBtn:hover {
  background-color: rgba(150, 150, 150, 0.6);
}

#contact h4{
    text-align: center;
    
}

#contact p{
    text-align: center;
    
}

#contact{
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top: 15px;
}

#social-links svg {
    width: 30px;
    height: 30px;
    fill: #666666;
    transition: fill 0.2s ease, transform 0.2s ease;
}

#social-links a:hover svg {
    fill: #4f4f4f;
    transform: translateY(-2px);
}

#credit{
    transform: rotate(90deg);
    position: fixed;
    bottom: 60px;
    left: -48px;
    z-index: 10;
    margin: 0px;
    font-size: 16px;
    background-color: transparent;
    border: transparent;
}