html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  margin:0;
  padding:0;
  background-color: #e8eaed;
  color: #42374a;
}

header {
  width: 100%;
  height: 30%;
  overflow: hidden;
  background-color: #dfe3eb;
}

.image-container {
  height: 30%;
}

.image-header {
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 0.6;

  /* border-bottom: 0.1rem solid white; */
}

.logo-container {
  position: absolute;

  top: 150px; left: 40px;
}

.logo-container img {
  width: 200px;

  margin: 0 auto;

  border-radius: 50%;
  border-style: solid;
  border-width: 0.3rem;
  border-color: white;
}

.text-container {
  position: relative;
  left: 300px;
  top: 10px;
  max-width: 60%;

  line-height: 1.5;
  padding-bottom: 2%;
  
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .logo-container {
      /* display: none; */
      top: 25px;
      left: 50%;
      transform: translate(-50%);
  }

  .text-container {
      position: static;
      max-width: 100%;
      padding: 2%;
  }
}

h1 {
  margin: 0;
  font-weight: bold;
}

p {
  margin: 0;
}

a {
  color: inherit;
  font-style: bold;
}

a:link {
  text-decoration: underline;
}

a:hover { 
  text-decoration: none; 
}

main {
  /* your page content styles go here */
}

.main-container {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.publications {
  display: flex;
  flex-direction: column;
}

.patents {
  display: flex;
  flex-direction: column;
}

section {
  padding-top: 1%;
}

.teaching {
  display: flex;
  flex-direction: column;
  padding-bottom: 5%;
}

.item {
  margin-top: 10px;
}

.iten-text {
  font-size: 0.85em;
  font-style: italic;
  color: #685775;
}

.iten-note {
  font-size: 0.85em;
  font-weight: bold;
  /* text-transform: capitalize; */
  color: #381454;
}

.icon {
  margin-right: 5px;
}

a.button {
  padding: 1px 6px;
  border: 1px outset #42374a;
  border-radius: 3px;
  color: #e8eaed;
  background-color: #685775;
  text-decoration: none;
  font-size: 0.85em;
}

a.button:hover {
  border: 1px outset #42374a;
  color: #685775;
  background-color: #e8eaed;
}
