/* Habilitating cover images in the header of pages, conditioned to the presence of a cover image */

.intro-header.has-cover {
  background-size: cover;
  background-position: center;
  height: 600px; 
  position: relative;
  text-align: center;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.intro-header .overlay {
  background: rgba(0, 0, 0, 0.5); 
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-header .container {
  z-index: 1;
}

.page-title, .page-subtitle {
  margin: 0;
  padding: 0;
}

.main-content {
  margin-top: 0;
  padding-top: 0;
}

/* Code customization for all codes of chunk appearing in my GitHub page, which are mostly bash and R*/

code {
  background-color: #f5f5f5;
  padding: 2px 4px;
  border-radius: 4px;
}

pre {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 4px;
}

pre code.bash {
  color: #d9534f; 
}

pre code.r {
  color: #2b8cbe; 
}
