/* about.css | Jarvis Wong | 2024 */
/* ------------ banner --------------*/
.hero {
	height: 100px;
	font-size: 1.5em;
}
.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.7), rgba(0, 0, 0, 0.7)), url('/img/hero-banner.jpg');
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
/* 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;
}

.about-grid {
	padding: 20px;
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 1rem;
}
.about-grid img {
	object-fit: contain;
}
@media (max-width:700px) {
	.about-grid {
		display: block;
	}
}
.wide {font-size: 1em;}
.narrow {font-size: 0;}
@media (max-width:900px) {
	.wide {font-size: 0;}
	.narrow {font-size: 1em;}
}
/* END */
