@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;900&display=swap');

body, html, .fullheight {
  height: 100%;
  font-family: 'Nunito Sans', sans-serif;
}

h1 {
  font-weight: 900;
  font-size: 4.5em;
}
h3 {
  font-weight: 600;
  font-size: 2em;
}

.centerflex {
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/post.jpg");

  /* Set a specific height */
  height: 50%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* The top image */
.top-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/post.jpg");

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: white;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.card-img-top {
  border-bottom:  1px solid rgba(0,0,0,.125);
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

#r-overlay {
  position: fixed;
  background-color: rgba(0,0,0,0.92);
  width: 100%;
  Height:  100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

#r-overlay-text{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: 70%;
  color: white;
}

#r-overlay-text-top{
  color: white;
  padding: 5px;
  text-align: center;
}

#r-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
  max-height: 350px;
  border:2px solid white;
}
