body {
    font-size: 14px;
    font-family: sans-serif;
    background-color: #555;
    /*background-image: */
    background-attachment: fixed;
}


//<img src="https://n.ethz.ch/~kiten/portrait.jpg" alt="Usually there is a picture here" style="padding-left: 18px; padding-bottom: 10px;" align="right"; width="30%">
img {
  border-radius: 50%;
}

h1, h2, h3 {
    font-weight: bold;    
    margin: 0px;
    padding: 0px;   
}

h1 {
    font-size: 250%;
    text-align: center;
    color: #FFFFFF;
    margin: 20px 0px;
    border-radius: 7px;
    background-color: #223355;
}

h2 {  
    font-size: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

h3 {
    font-size: 150%;
    margin-bottom: 20px;
}

dt {
    font-weight: bold;
}

p {
    padding-top: 0px;
    margin-top: 0px;
}

em {
    font-style: italic;
    font-weight: normal;
}

strong {
    font-style: normal;
    font-weight: bold;
}


a:link, a:link {
    color: #000000;
}

a:link, a:visited {
    text-decoration: none;
    color: #106BCD  ;
}

a:hover, a:active {
    text-decoration: underline;
    color: #FFC125;
}

dd {
    margin-bottom: 10px;
}

img {
    vertical-align: top;
    padding: 0px;
    border-width: 0px;
}

.item {
    /*font-size: 13px;*/
    /*border-width: 0px;
    background-color: white;*/
    margin-bottom: 10px;
}

.frame {
    padding: 20px;
    margin: 0px 0px 20px 0px;
    color: #222;
    background-color: #FFFFFF;
    border-radius: 7px;
    border-color:black;   
}

.pubtitle {
    font-weight: bold;
}

#col {
    max-width: 700px;
	min-width: 300px;
    margin: 0px auto;
    padding: 0px;
}

#menu {
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    font-weight: bold;
    font-size: 120%;
    background-color: #223355;
    border-radius: 7px 7px 0px 0px;
}

#menu li {
    float: left;
    text-align: center;
    margin: 0px;
    padding: 0px;
}

#menu li a {
    display: block;
    margin: 0px;
    padding: 8px 10px 8px 20px;
}

#menu a:link, #menu a:visited {
    text-decoration: none;
    color: #FFFFFF;
}

#menu a:hover {
    text-decoration: none;
    color: #FFFFFF ;
}

#main {
    background-color: #FFFFFF;
    border-radius: 0px 0px 7px 7px;
}

#photo_id {
    float: right;
    border-width: 0px;
    border-radius: 7px;
    margin: 0px 0px 40px 40px;
    padding: 0px;
    
}

div.b {
  line-height: 1.5;
}

/** MENU */

#menu {
    height: 33px;
    margin: 0px auto;
    background-color: #223355;
}

#menu ul {
    margin: -2px;
    padding: 0px;
    list-style: none;
}

#menu li {
    display: inline;
}

#menu a {
    display: block;
    float: left;
    padding: 10px;
    padding-left:20px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: smaller;
    font-weight: bold;
    color: #FFFFFF;
}

#menu a:hover {
    color: #FFC125;
}

table {
  font-family: sans-serif;
  border-collapse: collapse;
  align: center
  width: 100%;
}

table.center {
    width:100%; 
    margin-left:0%; 
    margin-right:0%;
  }

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #CCC;
}

tr:nth-child(odd) {
  background-color: #FFF;
}

/* --- Projects grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.project-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.project-card .body {
  padding: 1rem;
}
.project-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}
.project-card p {
  color: #555;
  margin-bottom: .5rem;
}
.project-card .links a {
  margin-right: .5rem;
}

/* Remove top margin for the first element inside main content boxes */
#main .b > *:first-child {
  margin-top: 0;
}

