body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: white;
    font-size: 16px;
    line-height: 1.4;
    color: black;
}

/* Layout */
.container {
    /*set margins automatically*/
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Apply these styles when the screen width is at least 992px */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}
.row {
    /* Display the row as a grid container */
    display: grid;
    /* A grid with 12 equal columns that 
    take up an equal amount of space */
    grid-template-columns: repeat(12, 1fr);
}

/* Props */
/* Add a 20px margin to the top of #dhead */
#dhead {
    margin-top: 20px;
}

/* Style #dpic */
#dpic {
    /* Occupy 6 grid columns */
    grid-column: span 6;
    /* Right-align text */
    text-align: right;
}

/* Style #ddesc */
#ddesc {
    /* Add 40px of padding to the top */
    padding-top: 40px;
    /* Add 40px of padding to the left */
    padding-left: 40px;
    /* Occupy the remanining columns
    which are 6 grid columns */
    grid-column: span 6;
}

/* Media query for screens with a 
maximum width of 991px */
@media (max-width: 991px) {
    /* Override #dpic styles for narrow screens */
    #dpic {
        /* Occupy the full width of the grid */
        grid-column: span 12;
        /* Center text */
        text-align: center;
    }
    /* Override #ddesc styles for narrow screens */
    #ddesc {
        /* Occupy the full width of the grid */
        grid-column: span 12;
        /* Reduce padding top to 20px */
        padding-top: 40px;
        /* Center text */
        text-align: center;
    }
}

/* Style h1 elements */
h1 {
    /* Set font size to 34 pixels */
    font-size: 34px;
    /* Set font weight to normal (not bold) */
    font-weight: normal;
    /* Remove padding */
    padding: 0;
    /* Remove margin */
    margin: 0;
}

/* Style h2 elements */
h2 {
    /* Set font weight to normal (not bold) */
    font-weight: normal;
    /* Set font style to italic */
    font-style: italic;
    /* Set text color to dark gray (#999) */
    color: #000000;
    /* Set font size to 18 pixels */
    font-size: 18px;
    /* Remove padding */
    padding: 0;
    /* Set margin to 5px top, 0px 
    right, 10px bottom, 0px left */
    margin: 5px 0 10px 0;
}

h3 {
    font-weight: normal;
    font-style: italic;
    color: #000000;
    font-size: 14px;
    padding: 0;
    margin: 5px 0 10 px 0;
}

/* Media query for screens with a 
minimum width of 992px */
@media (min-width: 992px) {
    /* Style h2 elements when screen 
    width is at least 992px */
    h2 {
        /* Set maximum width to 300 pixels */
        max-width: 300px;
    }
}
#dpic img {
    width: 504px;
    height: 672px;
    border-radius: 90px;
}
.iico {
    width: 40px;
    height: 40px;
}

/* a cool line break*/
hr {
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    padding: 0;
    margin: 20px 0px 20px 0px;
    border: 0;
}
.ico {
    grid-column: span 1;
    vertical-align: top;
    border-left: 2px solid #cfcfcf;
    position: relative;
}
.ico img {
    border-radius: 5px;
    width: 100%;
    max-width: 80px;
    margin-left: 10px;
}
.desc {
    grid-column: span 10;
    vertical-align: top;
    font-size: 17px;
    padding-left: 20px;
    padding-bottom: 20px;
}
.entry {
}
.entry-dot {
    position: absolute;
    top: 0px;
    left: -8px;
    width: 10px;
    height: 10px;
    border-radius: 7px;
    background-color: #cfcfcf;
    border: 2px solid white;
}
.timespan {
    grid-column: span 1;
    font-size: 14px;
    text-align: right;
    padding-right: 5px;
    color: #bbb;
}
.hassets {
    position: relative;
}
@media (max-width: 991px) {
    .hassets {
        display: none;
    }
}
.hasset {
    position: absolute;
    margin: 0;
    padding: 0;
}
.ctitle {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top: 40px;
}
#featured-talks .row {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding-bottom: 30px;
}
.card {
    grid-column: span 3;
    vertical-align: top;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    background-color: white;
    padding-bottom: 10px;
}
@media (max-width: 991px) {
    .card {
        grid-column: span 6;
    }
    #featured-talks .row {
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }
}
.card img {
    border-radius: 5px;
    width: 100%;
}
.cdesc {
    height: 30px;
    vertical-align: top;
    margin-bottom: 10px;
    font-size: 15px;
}
@media (max-width: 768px) {
    .cdesc {
        font-size: 14px;
        padding-bottom: 10px;
    }
}
#pet-projects .row {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}
.project {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.pico {
    float: left;
    margin-right: 10px;
}
.pdesc {
}
.pend {
    clear: both;
}
.pico img {
    height: 80px;
    border-radius: 5px;
    border: 1px solid #999;
}
.pub {
    font-size: 14px;
    border-left: 4px solid #aaa;
    padding: 2px 0px 2px 10px;
    margin-bottom: 10px;
}
.pub-title {
    display: inline;
    color: #333;
}
.pub-venue {
    display: inline;
    color: #090;
}
.pub-authors {
    display: block;
    color: #900;
}
.tul {
    text-align: center;
    padding: 0;
}
.til {
    display: inline-block;
    padding: 3px 15px 3px 15px;
    margin-bottom: 5px;
}
.tilb {
    border-right: 1px solid #ccc;
}
.nodot {
    list-style-type: none;
    padding-left: 0;
}

/*
h3 {
    color: blue;
}

.city {
    background-color: tomato;
    color: white;
    border: 2px solid black;
    margin: 20px;
    padding: 20px;
}
*/