a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2 > a {
  color: inherit;
}

.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer {
  height: 41px;
  line-height: 41px;
}

footer > div {
  background-color: white;
}

footer > small {
  font-size: 0.7em;
  font-weight: 300;
}

footer a {
  color: lightslategrey;
}

footer a:hover {
  color: midnightblue;
}

main {
  min-height: calc(-52px + 100vh);
}

.close-button {
  font-size: 2em;
  font-weight: 700;
  color: #222222;
}

.page-content {
  min-height: calc(-52px + 100vh);
  background-color: white;
}

body {
  background-color: #f2f2f2;
}

a.home-link {
  color: #222222;
  margin: auto 0;
}

div.project-content {
  max-width: 800px;
  margin: 0 auto;
}

div.project-content h1 {
  text-align: center;
}

div.image-caption {
  width: min(98%, 640px);
}

.carousel-inner {
  text-align: center;
  background-color: black;
}

.project-data {
  padding-left: 1em;
  background-color: white;
}

.project-data h2 {
  font-size: 1em;
  font-weight: bold;
}

.project-tile {
  position: relative;
  text-align: left;
  background-color: black;
}

.project-tile a {
  color: white;
}

.project-tile:hover img {
  filter: brightness(50%);
}

.project-tile div.project-list-text {
  position: absolute;
  bottom: 8px;
  left: 16px;
  padding: 5px 8px 5px 5px;
  border-radius: 0.3rem;
  margin-right: 5px;
}

.project-list-title {
  font-size: 1.2em;
  font-weight: 600;
  font-style: italic;
}

.course-list-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.project-title {
  font-size: 1.5em;
  font-style: italic;
}

.project-description h3 {
  font-size: 1.1em;
  font-weight: 600;
}

.project-description p {
  margin-bottom: 0.5rem;
  max-width: 50em;
}

div.carousel-image-container,
div.carousel-video-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.carousel-item {
  max-height: 759px;
}

.carousel-caption {
  max-width: 640px;
  margin: 0 auto;
}

.switcher-child {
  display: none;
}

.switcher-active {
  display: block;
}

.invert {
  background-color: black;
  color: white;
}

.alert {
  max-width: fit-content;
}

.carousel-control-collapse {
  width: 10px;
}

.carousel-control-collapse:hover {
  background-color: black;
  width: 20%;
}

.carousel-control-contain {
  width: 100%;
  height: 100%;
  background-color: black;
}

iframe {
  border: none;
}
