* {
    box-sizing: border-box;
}

html {
    width: 100%;
}

body {
  font-family: Arial;
  margin: 0;
  font-weight: 400;
}

img, video, embed, object {
    max-width: 100%;
    border-radius: 4px;
}

p {
    margin: 0em;
}

.content-wrapper, .profile-wrapper, main {
    width: 100%
}

.content {
    padding: 0 2em;
    margin: 0 auto;
    max-width: 800px;
}

header {
    width: 100%;
    margin-top: 3em;
    margin-bottom: 2em;
    /*text-align: center;*/
    font-family: "Times New Roman", Times, serif;
    letter-spacing: 1px;
    line-height: 1;
}

header>h3 {
    font-size: 3rem;
    color: #1079ac;
    margin: 0em;
}

header>p {
    display: none;
}

.profile-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 1.5em;
}

.introduction-wrapper {
}

.visuals-wrapper {
    flex: 0 0 240px;
    margin-bottom: 1.5em;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1em;
}

.contacts-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.contacts-wrapper>div {
    display: flex;
    width: 100%;
    margin-bottom: 9px;
}

.cv {
    margin-top: 6px;
    margin-bottom: 0px;
}

.cv .btn {
    color: #000;
    border-color: #ced2d9;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cv a:hover {
    box-shadow: 3px 3px 14px #DCDCDC;
    background-color: white;
}

.cv a:active {
    text-decoration: none;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.contact a {
    color: #000;
}

.icon .linkedin {
    color: #0077b5;
}

.github, .linkedin, .email, .scholar {
    font-size: 24px;
}

.github {
    color: purple
}

a:visited, a:active {
    text-decoration: none;
}

.publications-header {
    font-family:  "Times New Roman", Times, serif;
    font-size: 1.6em;
}

ul.publication {
    list-style-position: outside;
}

.paper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    word-spacing: 1px;
}

.paper-wrapper a {
    border-left: 1px solid #C0C0C0;
    padding: 0.5em;
}

.paper-details {
    margin-right: 7px;
}

.paper-title, .paper-authors, .paper-conference {
    display: inline;
}

.paper-title {
    font-weight: bold;
}

.publications li {
    margin-bottom: 1em;
}

.introduction p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.no-hover a:hover {
    text-decoration: none;
}

.job-updates {
    margin-top: 10px;
}

footer {
    width: 100%;
    position: relative;
    margin-top: 2em;
}

.footer-inner {
    padding: 2em;
    max-width: 800px;
    margin: 0 auto;
    color: #777;
}

.line {
    border-top: 1px solid #BEBEBE;
    padding-top: 1.5em;
    font-size: 0.9em;

}

.publications-wrapper {
    margin-bottom: 2em;
}

.publications-header {
    padding-left: 0.5em;
    text-align: left;
}

ul.publications {
    padding-left: 1.5em;
    margin-top: 0.5em;
}

ul.publications li {
    margin-bottom: 1em;
    list-style-type: disc;
}

.paper-wrapper {
    display: block;
    padding-left: 0;
}

.paper-details {
    margin: 0;
}

.paper-title {
    font-size: 1em;
    font-weight: bold;
    display: block;
    margin-bottom: 0.2em;
    color: #222;
}

.paper-authors {
    display: block;
    font-size: 0.98em;
    color: #444;
    margin-left: 0.2em;
    margin-bottom: 0.1em;
}

.paper-conference {
    display: block;
    font-size: 0.95em;
    color: #666;
    margin-left: 0.2em;
}

/*If the viewport is greater than 600px*/
@media screen and (min-width: 600px) {
    .introduction-wrapper {
        width: 100%;
        padding-left: 1.3em;
        flex: 1;
    }
}

@media screen and (min-width: 800px) {
    .visuals-wrapper {
        margin-bottom: 0em;
    }
}

.redesigned-profile {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  margin-bottom: 2em;
  flex-wrap: wrap;
}

.profile-card {
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2em 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 260px;
}

.profile-card .image-wrapper {
  margin-bottom: 1em;
}

.profile-card .profile-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #1079ac;
  box-shadow: 0 2px 8px rgba(16,121,172,0.08);
}

.profile-card .contacts-wrapper {
  width: 100%;
  margin-top: 1em;
  gap: 0.5em;
}

.profile-card .contact {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.profile-card .icon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card .cv {
  margin-top: 1em;
  text-align: center;
}

.introduction-wrapper {
  flex: 2 1 340px;
  padding-left: 0.5em;
  min-width: 260px;
}

@media (max-width: 800px) {
  .redesigned-profile {
    flex-direction: column;
    gap: 1.5em;
  }
  .profile-card, .introduction-wrapper {
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
  }
}

