body {
    font-family: 'Noto Sans', sans-serif;
  }

.publications video {
	width: 100%;
}	

.page-container {
    width: 55%;
	margin: auto;
}

.profile-pic {
  border-radius: 80%;
}

.linkedin-button {
	color: rgb(100, 180, 255);
}

.scholar-button {
	color: rgb(0, 100, 200);
}

.mail-button {
	color: rgb(250, 50, 50);
}

.button {
    padding: 16px 14px;
    background-color: white;
    border-radius: 24px;
    font-size: 16px;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(185, 185, 185);
}

.paper-button {
    padding: 4px 4px;
    background-color: white;
    border-radius: 8px;
    font-size: 16px;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(185, 185, 185);
}

.paper-button:hover {
    border: 2px solid rgb(0, 0, 0);
}

.tiny {
	font-size: 10px
}

table, td, th {
	border: 0px solid black;
	padding: 10px;
}

tr.spaceUnder>td {
  padding-bottom: 0.5em;
}

.button:hover {
    border: 2px solid rgb(0, 0, 0);
}

td.intro {
  vertical-align: middle;
}


td.toppart-table {
	vertical-align: middle;
}

td.publications-video {
	vertical-align: middle;
	margin: auto;
}

td.timeline-date {
	vertical-align: middle;
	margin: auto;
}

.icon {
	font-size: 22px;
}

h1 {
    font-family: "Noto Sans", Arial;
    font-size: 52px;
    color: rgb(95, 95, 95);
    letter-spacing: -1px;
    word-spacing: 8px;
	margin-top: 60px;
    font-weight: bold;
}

h2 {
    font-family: "Noto Sans", Arial;
    font-size: 35px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
}

h3 {
    font-family: "Noto Sans", Arial;
    font-size: 15px;
}

a {
	font-family: "Noto Sans", Arial;
    font-size: 15px;
	color: rgb(50, 80, 200);
}

a:hover {
	color: rgb(200, 180, 255);
}

h4 {
    font-family: "Noto Sans", Arial;
    font-size: 14px;
    font-weight: bold;
	color: rgb(150, 0, 150);
}

h5 {
    font-family: "Noto Sans", Arial;
    font-size: 20px;
}

h6 {
	color: rgb(170, 0, 170);
}

p {
    font-family: "Noto Sans", Arial;
    font-size: 16px;
}

@media	(max-width: 600px){
.page-container {
    width: 90%;
	margin: auto;
}

/* Mobile layout restructuring */
.toppart-table {
    display: block !important;
}

.toppart-table tr {
    display: block !important;
}

.toppart-table td {
    display: block !important;
    width: 100% !important;
}

/* First row: Name and image side by side */
.toppart-table tr:first-child {
    display: flex !important;
    align-items: center;
    margin-bottom: -5px;
}

.toppart-table tr:first-child td:first-child {
    flex: 1;
    width: auto !important;
    padding-bottom: 0px;
}

.toppart-table tr:first-child td:last-child {
    flex: 0 0 auto;
    width: auto !important;
    margin-left: 15px;
    padding-bottom: 0px;
}

/* Second row: Social buttons */
.toppart-table tr:nth-child(2) {
    margin-bottom: 15px;
    margin-top: 0px;
}

.toppart-table tr:nth-child(2) td {
    padding-top: 0px;
    padding-bottom: 5px;
}

/* Hide the image from other rows on mobile since it's now in the first row */
.toppart-table tr:not(:first-child) .profile-pic {
    display: none;
}

/* Adjust profile picture size for mobile */
.profile-pic {
    width: 80px !important;
    height: 80px;
}

h1 {
    font-size: 250%;
    margin-top: 20px;
    line-height: 1.2;
}

.button {
    padding: 8px 7px;
    background-color: white;
    border-radius: 14px;
    font-size: 10px;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(185, 185, 185);
}

.icon {
	font-size: 16px;
}

h2 {
    font-size: 25px;
    margin-top: 15px;
    margin-bottom: 5px;
}

h3 {
    font-size: 14px;
}

a {
    font-size: 14px;
}

h4 {
    font-size: 14px;
}

/* Mobile publications styling */
.publications-table {
    display: block !important;
}

.publications-table tr {
    display: block !important;
    margin-bottom: 20px;
}

.publications-table td {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.publications-table .publications-video {
    margin-bottom: -2px;
}

.publications video {
	width: 75% !important;
	max-width: 300px;
}

/* Smaller fonts for publications on mobile */
.publications-table h3 {
    font-size: 11px !important;
    line-height: 1.3;
    margin-bottom: 5px;
    padding: 0 1px;
}

.publications-table h3 a {
    font-size: 11px !important;
}

.publications-table h4 {
    font-size: 10px !important;
    line-height: 1.2;
    margin-bottom: 8px;
    padding: 0 1px;
}

.publications-table .paper-button {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px;
    margin: 2px 4px;
}
}
