/* bro what the fuck is a stylesheet I'm so scared right now */

body {
  font-family: sans-serif;
  margin: 0rem;
  background:#696969;
}

.main_text {
  margin: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
  margin: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  border: 1px solid #dddddd;
  padding: 1rem;
  border-radius: 4px;
  background:#9c9c9c;
}

.card h3 {
  margin-top:0;
}

.card p {
  margin: .5rem 0;
}

.card .meta {
  color:#555555;
  font-size:.9rem;
}

.card-title {
  position: relative;
  padding-right: 36px;
}

.card-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 30px;
}

.tag {
  display: inline-block;
  background: #eef2ff;
  /*color: #1e2130;*/ /* find a better colour */
  padding: 2px 6px;
  margin: 2px 4px 2px 0;
  border-radius: 4px;
  font-size: 0.85rem;
}

.banner {
  position: relative;
  width: 100%;
  height: clamp(250px, 45vh, 30rem); /* 45vh on small screens, 30rem on large screens */
  overflow: hidden;
}

.banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/static/missing_texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.banner_content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.banner_title {
  margin: 0 0 0.6rem;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
}

.banner_text {
  margin: 0.2rem 0;
  font-size: clamp(1rem, 2.2vw, 2.2rem);
  line-height: 1.5;
}

@media (max-height: 500px) {
  .hero {
    height: clamp(180px, 40vh, 22rem);
  }
}