@charset "UTF-8";
body {
  background: linear-gradient(55deg, #4E75B9 30%, #5CBF98 90%);
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  /*min-height: 100vh;
  width: 100vw;*/
  margin: 0;
  padding: 100px;
  font-family: 'Source Sans Pro', arial, sans-serif;
  font-weight: 300;
  color: #222;
  box-sizing: border-box;
}
@media screen and (max-width: 800px) {
  body {
    padding: 5px;
  }
}
body * {
  box-sizing: border-box;
}

a{
  color:#002db3;
  font-weight: bold;
}

#id-card
{
  font-size: 1.2em;
}

.avatar
{
  max-width: 150px;
  border-radius: 50%;
}

#id-photo
{
  float: left;
  padding-right: 30px;
}

#social
{
  float: right;
}

#social ul
{
  list-style-type: none;
}

#social ul li{
  display: inline;
  margin: 5px;
}


#social img
{
  max-width: 40px;
}

nav{
  clear:both;
  margin-top: 80px;
  margin-bottom: 10px;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 10000;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

nav li {
  float: left;
}

nav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
nav li a:hover {
  background-color: #111;
}

#presentation
{
  clear:both;
}

#education, #work, #presentation, #publication
{
  background: #111;
}

#education h2, #work h2, #presentation h2, #publication h2
{
  padding-top: 10px;
  padding-left: 10px;
  color: white;
  font-weight: bold;
}

.content
{
  width: 100%;
  /*max-width: 800px;*/
  background: #fff;
  padding: 40px 50px;
  position: relative;
  box-shadow: 0.5rem 0.5rem 2rem 0 rgba(0, 0, 0, 0.2);
}

.timeline {
  width: 100%;
  /*max-width: 800px;*/
  background: #fff;
  padding: 100px 50px;
  position: relative;
  box-shadow: 0.5rem 0.5rem 2rem 0 rgba(0, 0, 0, 0.2);
}
.timeline:before {
  content: '';
  position: absolute;
  top: 0px;
  left: calc(33% + 15px);
  bottom: 0px;
  width: 4px;
  background: #ddd;
}
.timeline:after {
  content: "";
  display: table;
  clear: both;
}

.entry {
  clear: both;
  text-align: left;
  position: relative;
}
.entry .title {
  margin-bottom: .5em;
  float: left;
  width: 33%;
  padding-right: 30px;
  text-align: right;
  position: relative;
  container-type: inline-size;
}

.entry .title:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 4px solid salmon;
  background-color: #fff;
  border-radius: 100%;
  top: 15%;
  right: -8px;
  z-index: 99;
}
.entry .title h3 {
  margin: 0;
  font-size: 120%;
  position: absolute;
  width: 100%;
  right: 100%;         /* move the title element to the far-left of the container */
  transform-origin: top right 0;  /* this is the key. rotate from the top right corner of the title element */
  transform: rotate( -90deg );
}

@media (max-width: 800px) {
  .entry .title h3 {
    transform-origin: center;
    transform: none;
    width: auto;
    position: static;
    right: auto;
  }
}

.entry .title p {
  margin: 0;
  font-size: 100%;
}
.entry .body {
  margin: 0 0 3em;
  float: right;
  width: 66%;
  padding-left: 30px;
}
.entry .body p {
  line-height: 1.4em;
}
.entry .body p:first-child {
  margin-top: 0;
  font-weight: 400;
  font-size: larger;
}
.entry .body ul {
  /*color: #aaa;*/
  padding-left: 0;
  list-style-type: none;
}
.entry .body ul li:before {
  content: "–";
  margin-right: .5em;
}

.entry .body ul li {
  padding-bottom: 8px;
}

.title img{
  /*float: left;*/
  max-width:200px;
}

@container  (max-width: 200px) {
  .title img {
    max-width:150px;
  }
}

@container  (max-width: 140px) {
  .title img {
    display: none;
  }
}

#publication .content div
{
  margin-bottom: 2em;
}

.content h3 {
  margin-bottom: 0;
  padding-bottom: 0;
}

.skills {
  display: inline-block;
  width: 48%;
  box-sizing: border-box; /* Ensures padding and border are included in the width */
  margin-top: 0;
  padding-top: 0;
}

.skills ul {
  list-style-type: none; /* Removes the bullets */
  margin: 0; /* Optional: Removes the default margin */
}

.skills ul img {
  width: 18px;
  vertical-align: middle; /* Aligns image vertically with text */
  margin-right: 10px; /* Adds some space between the image and the text */
}


.journal img{
  content: url(../image/journal.svg);
  width: 40px;
  height: 40px;
  margin-right: 10px;
  float:left;
}

.conference img{
  content: url(../image/conference.svg);
  width: 40px;
  height: 40px;
  margin-right: 10px;
  float:left;
}

.thesis img{
  content: url(../image/thesis.svg);
  width: 40px;
  height: 40px;
  margin-right: 10px;
  float:left;
}

.biblio
{
  overflow: hidden;
}