.low-res {
  filter: blur(5px);
  transition: opacity 0.5s ease;
}

.popup {
	max-width:90vw;
}

.spread-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1rem;
}


.rounded {
	border-radius: var(--border-radius);
}

.billboard {
	border-radius: 10px;
	line-height:3em;
	color:white;
	font-family:Quicksand,sans-serif;
	font-weight:700;
	font-style: normal;
	font-size:clamp(1.8rem, 6vw, 4.5em);
	background-color: var(--color-link);
}

.search-container {
    position: relative;
    width: 50%;
    margin: 0.5rem auto;
}

.search-container input {
    width: 100%;
}

.fa {
  font-family: FontAwesome;
  font-weight: bold;
}

.pill-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.pill {
  appearance: none;
  border: 2px solid var(--color-link);
  background: none;
  color: var(--color-link);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transition: all 0.15s ease;
  user-select: none;
}

.pill:hover {
  filter: brightness(var(--hover-brightness));
}

.pill.active {
  background: var(--color-link);
  color: var(--color-bg);
  border-color: var(--color-link);
}

/* MVP Overrides*/

a {
    text-decoration: none;
}

nav {
	margin-bottom: 0rem;
}

nav h3 {
	font-family:Quicksand,sans-serif;
	font-weight:200;
	font-style: normal;
}

.popup img {
	height:auto;
	width:100%;
	border-radius: var(--border-radius);
	padding-top:20px;
	padding-bottom:20px
}

dialog button {
	color: white;
}

dialog button:focus {
    border: 2px solid var(--color-link);
	outline: unset;
}

dialog button:active:focus {
    border: 2px solid var(--color-link);
	outline: unset;
}

.rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.25rem;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 2rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Hover effect */
.rating label:hover,
.rating label:hover ~ label {
  color: var(--color-link);
}

/* Selected state */
.rating input:checked ~ label {
  color: var(--color-link);
}

.firework {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #0097fc, transparent);
  border-radius: 100%;
  pointer-events: none;
  animation: explode 1500ms ease-out forwards;
  z-index: 1000;
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.5);
    opacity: 0;
  }
}

.grid {	
	text-align: center;
}

input[type="text"]#website { display: none; }

.truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* number of lines */
    overflow: hidden;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 55px;
  aspect-ratio: 1;
  --g1:conic-gradient(from  90deg at top    3px left  3px,#0000 90deg,var(--color-link) 0);
  --g2:conic-gradient(from -90deg at bottom 3px right 3px,#0000 90deg,var(--color-link) 0);
  background:
    var(--g1),var(--g1),var(--g1),var(--g1), 
    var(--g2),var(--g2),var(--g2),var(--g2);
  background-position: 0 0,100% 0,100% 100%,0 100%;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  animation: l11 1.5s infinite;
}
@keyframes l11 {
  0%   {background-size:35px 15px,15px 15px,15px 35px,35px 35px}
  25%  {background-size:35px 35px,15px 35px,15px 15px,35px 15px}
  50%  {background-size:15px 35px,35px 35px,35px 15px,15px 15px}
  75%  {background-size:15px 15px,35px 15px,35px 35px,15px 35px}
  100% {background-size:35px 15px,15px 15px,15px 35px,35px 35px}
}