html {
  scroll-behavior: smooth;
  font-family: "DM Sans";
}

body {
  padding-left: 20px;
  padding-right: 20px;
  /* background-color: #bfd;
  opacity: 0.5; */
  /* background-color: rgba(187, 255, 221, 0.7); */
  background-color: white;
  /* background-color: #ccffcc; */
}

body a:hover {
  text-decoration: none;
  color: #e06;
}

.landing-page {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 200;
  background-image: linear-gradient(#bfd, #9fc);
  color: black;
  text-align: center;
}

.landing-page.display-none {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: -10;
  background-color: white;
  color: black;
  text-align: center;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}

.container-header header {
  /* background-color: #bfd; */
  /* background-image: linear-gradient(#9fc, #bfd); */
  background-image: linear-gradient(#bfd, white);
  /* background-image: linear-gradient(
    rgba(153, 255, 204, 0.7),
    rgba(187, 255, 221, 0.7)
  ); */
  /* background-image: linear-gradient(#9fc, rgb(187, 255, 221), 0.7); */
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: -10px;
  padding-left: 20px;
  padding-right: 10px;
  margin-left: -30px;
  margin-right: -30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: fixed; this makes the nav bar above */
  /* width: 100%; this makes the nav bar above */
}

.container-header h1 {
  color: black;
}

.container-header nav {
  background-color: transparent;
  display: flex;
  justify-content: space-around;
}

.container-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.container-header nav li {
  margin-right: 30px;
}

.container-header nav li:hover {
  /* text-decoration: underline; */
  text-decoration: none;
  color: #e06;
}

.container-header nav a {
  text-decoration: none;
  color: black;
}

.container-header nav a:hover {
  text-decoration: none;
  color: #e06;
}

.container-content {
  min-width: 1000px;
  max-width: 1000px;
  justify-content: center;
  margin: 0 auto; /* this was the crucial line to get the centering to work */
  /* padding-top: 60px; this makes the nav bar above */
}

.two-pics-and-description {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 20px;
}

.two-pics-and-description img {
  border-radius: 25px;
  overflow: hidden;
  width: 300px;
  height: auto;
  padding: 3px;
  box-shadow: 3px 3px;
}

.description-with-buttons {
  padding-left: 10px;
  padding-right: 10px;
  padding: 10px;
  box-sizing: border-box;
  min-width: 400px;
  max-width: 400px;
  text-align: center;
}

.description-with-buttons p {
  /* margin-top: -5px; */
  margin: 5px;
}

.description-with-buttons h3 {
  /* margin-top: -5px; */
  margin: 5px;
}

.table-of-contents li {
  list-style-position: inside;
  /* border-left: 1px solid black; */
  padding-left: 5px;
  padding-bottom: 10px;
}

.table-of-contents ol {
  margin-top: 0;
  padding-left: 0;
}

.table-of-contents h3 {
  margin: 0;
  padding: 0;
}

/* .table-of-contents li:hover {
  text-decoration: underline;
  color: #e06;
} */

/* .table-of-contents a:hover {
  text-decoration: none;
  color: #e06;
} */

/* .table-of-contents a {
  text-decoration: none;
  color: black;
} */

.row-of-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 40px; /*this should be deleted, and instead should find a way to stop the lopsidedness.*/
  /* padding-bottom: 0px; */
  margin: 0 auto;
}

.row-of-buttons button {
  padding-top: 10px;
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 0px;
  cursor: pointer;
}

.row-of-buttons img {
  width: 40px;
  height: 40px;
  box-shadow: 0px 0px;
  /* border-radius: 0px; */
}

.row-of-buttons img:hover {
  width: 40px;
  height: 40px;
  box-shadow: 0px 0px;
  /* background-color: #e06; */
}

.row-of-buttons ul {
  list-style: none;
  display: flex;
}

.description-with-buttons h2 {
  color: black;
  text-align: center;
  margin-top: 0px;
  border-top: 0px;
  padding-top: 0px;
}

.description-with-buttons hr {
  width: 100px;
  color: black;
  border: 1px solid #000;
}

hr {
  color: black;
  border: 1px solid #000;
}

#projects h2 {
  margin-left: 15px;
}

#projects h3 {
  margin-left: 30px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

#projects p {
  margin-left: 30px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

#publications h2 {
  margin-left: 15px;
}

#publications h3 {
  margin-left: 30px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

#publications p {
  margin-left: 30px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

#bio b {
  color: #e06;
}

footer {
  /* background-color: #bfd; */
  background-image: linear-gradient(white, #bfd);
  color: black;

  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;

  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: -10px;
}
