h1 {
	margin-top: 50px;
}

h3 {
	margin-top: 20px;
}

pre {
	background-color: rgba(200, 200, 200, 0.25);
}

pre.block {
	padding: 10px;
	border-radius: 5px;
}

.navbar-brand img {
    filter: drop-shadow(0 0 2.5px rgba(0, 0, 0, .9));
}

.openwebrx-background {
    margin-top: 50px;
    text-align: center;
}

.openwebrx-background h1 {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: center;
    text-shadow:
      0 0 5px #222,
      0 0 10px #111,
      0 0 20px #000;
}

/* reserve space for the homepage image to improve our CLS score */
/* the values here are pre-calculated and need to be updated when the image is change */

.openwebrx-background img {
    max-width: calc(70vh / .5625);
    max-height: 70vh;
    width: calc(100vw - 60px);
    height: calc((100vw - 60px) * .5625);
}

@media (min-width: 576px) {
    .openwebrx-background img {
        width: 480px;
        height: 270px;
    }
}

@media (min-width: 768px) {
    .openwebrx-background img {
        width: 660px;
        height: 371px;
    }
}

@media (min-width: 992px) {
    .openwebrx-background img {
        width: 900px;
        height: 506px;
    }
}

@media (min-width: 1200px) {
    .openwebrx-background img {
        width: 1080px;
        height: 608px;
    }
}

.image-fadeout::after {
  display: block;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(34, 34, 34, 0) 0, #222 100%);
  margin-top: -150px;
  height: 150px;
  width: 100%;
  content: '';
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px; /* Margin bottom by footer height */
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  text-align: center;
}
