:root {
  --bg:         #fef2ef;  /* pale salmon-white */
  --surface:    #eddcd9;  /* soft blush, from rosy taupe lightened */
  --text:       #3a2535;  /* deep plum, from lilac-ash darkened */
  --text-mid:   #7b5272;  /* medium dusty rose-purple */
  --accent:     #c4505a;  /* deep coral-rose, from sweet salmon darkened */
  --shadow-rgb: 58, 37, 53;
}

html {
  background-color: var(--bg);
}

body {
    color: var(--text);
    padding: 0px;
    margin-top: 170px;
}

.lite {
  background-color: var(--surface);
  color: var(--text);
}
.dark {
  color: var(--text);
}

h1 {
  margin: 10px;
  font-size: 80px;
  color: var(--accent);
  font-family: 'lexend';
}

h2 {
	font-size: 50px;
	font-family: 'lexend', sans-serif;
	font-weight:1;
}

h3 {
	font-size: 50px;
	font-family: 'lexend', sans-serif;
  line-height: 0.6;
}

p {
  font-family: lexend;
	font-size: 22px;
}

a {
  text-decoration: none;
}

.inset {
  -moz-box-shadow:    0px 2px 6px rgba(var(--shadow-rgb), 0.15);
  -webkit-box-shadow: 0px 2px 6px rgba(var(--shadow-rgb), 0.15);
  box-shadow:         0px 2px 6px rgba(var(--shadow-rgb), 0.15);
}

.team-card {
  border-radius: 24px;
  padding: 25px 40px;
}

.team-card-sections {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.team-card-section {
  flex: 1;
}

.team-card-section h4 {
  font-family: 'lexend', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--accent);
  margin: 0 0 12px 0;
  text-transform: lowercase;
}

.team-card-section h5 {
  font-family: 'lexend', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--text);
  margin: 14px 0 2px 0;
}

.team-card-section h5:first-of-type {
  margin-top: 0;
}

.team-card-section h5 + p {
  font-size: 16px;
  color: var(--text-mid);
  margin: 0;
}

@media (max-width: 700px) {
  .team-card-sections {
    flex-direction: column;
    gap: 24px;
  }
}

.introline {
  margin: 0px;
  font-size: 60px;
	color: var(--accent);
  font-weight: bold;
  font-family: 'lexend';
  text-align: left;
}


.lightheader {
  color: var(--text-mid);
  margin-top: 40px;
}

p.subtitle {
    color: var(--text-mid);
    font-size: 24px;
    margin: 10px;
    margin-top: 0px;
    font-weight: lighter;
    text-transform: lowercase;
}

.titlesection {
    display: block;
    margin: auto;
    padding: 0;
    padding-bottom: 20px;
}

.centerer {
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 100%;
}

.titleimage {
	display:inline-block;
	vertical-align: middle;
	width: 90%;
	max-width: 768px;
}

section {
	display:block;
	padding:20px;
}

.constrain-width {
  max-width: 1280px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.games {
  color: var(--text);
	display:block;
	margin:0px;
	padding:20px;
  overflow-x: hidden;
}

#content-item {
	text-align: left;
	padding:20px;
	padding-left:50px;
	padding-right:50px;
	margin-bottom: 50px;
	height: 200px;
  border-radius: 24px;
}

.img-border {

	background-position: center;
	background-size: cover;

  -moz-box-shadow:    0px 2px 6px rgba(var(--shadow-rgb), 0.22);
  -webkit-box-shadow: 0px 2px 6px rgba(var(--shadow-rgb), 0.22);
  box-shadow:         0px 2px 6px rgba(var(--shadow-rgb), 0.22);
}

.zoom-on-hover {
  background-size: 110%;
  transition: 0.3s;
}

.zoom-on-hover:hover {
  background-size: 100%;
  -moz-box-shadow:    0px 10px 28px rgba(var(--shadow-rgb), 0.38);
  -webkit-box-shadow: 0px 10px 28px rgba(var(--shadow-rgb), 0.38);
  box-shadow:         0px 10px 28px rgba(var(--shadow-rgb), 0.38);
}

.games p {
	color: var(--bg);
	font-family: 'lexend';
}

.card-featured {
  display: flex;
  align-items: stretch;
  gap: 12px;
  background-color: var(--surface);
  border-radius: 24px;
  padding: 12px;
  margin-bottom: 50px;
  box-shadow: 0px 2px 6px rgba(var(--shadow-rgb), 0.15);
}

.card-featured-body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.card-featured .card-featured-body h3 {
  color: var(--text);
  line-height: 1;
  margin: 0 0 10px 0;
}

.card-featured .card-featured-body p {
  color: var(--text-mid);
  margin: 0;
}

.card-featured-links {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 16px;
}

.card-featured-links a {
  color: var(--accent);
  font-family: lexend;
  font-size: 18px;
}

.card-featured-image {
  width: 45%;
  min-height: 220px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@media (max-width: 650px) {
  .card-featured {
    flex-direction: column;
  }
  .card-featured-image {
    width: 100%;
    min-height: 180px;
  }
}
.games h3 {
  color: var(--bg);
}

.footer {
  height: 40px;
}

.deadrabbit {
  background-image: url("images/deadrabbit-title.gif");
}
.bugbear {
  background-image: url("images/bugbear.png");
}
.fripp {
  background-image: url("images/fripp.png");
}
.kitcityarena {
  background-image: url("images/kitcityarena.png");
}
.hutch {
  background-image: url("images/hutch.png");
}
.synth {
  background-image: url("images/synth.png");
}
.liliah {
  background-image: url("images/liliah.png");
}
.unfected {
	background-image: url("images/unfectedtitle.png");
}
.morlandia {
	background-image: url("images/morlandiatitle.png");
}
.morlandia2 {
	background-image: url("images/morlandia2title.png");
}
.cfrpg {
	background-image: url("images/cfrpgtitle.png");
}
.breckinridge {
	background-image: url("images/brekkinridgetitle.png");
}
.unleaded {
	background-image: url("images/unleaded-title.png");
}
.pursuit-of-freedom {
	background-image: url("images/pursuit-of-freedom-title.png");
}
.pirates {
	background-image: url("images/pirates-title.png");
}
.trees {
  background-image: url("images/trees-title.png");
}

img.galleryimg {
    width: 900px;
    display: block;
    margin: auto;
    padding: 30px 0px;
}


@viewport {
  width: device-width ;
  zoom: 1.0 ;
}

/* On narrow screens scale display zoomable backgrounds by height instead of width */

@media (max-width: 650px) {
  .zoom-on-hover {
    background-size: auto 110%;
    transition: 0.3s;
  }

  .zoom-on-hover:hover {
    background-size: auto 100%;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 50px;
  }
  .introline {
    font-size: 50px;
    line-height: 0.7;
  }
	h2 {
		font-size: 37px;
	}
  h3 {
    line-height: 0.7;
    font-size: 30px;
  }
  p {
    font-size: 21px;
  }
  .team-card {
    padding: 50px;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 45px;
  }
  .introline {
    font-size: 35px;
  }
	h2 {
		font-size: 32px;
	}
  p, p.subtitle {
    font-size: 20px;
  }
  #content-item {
    padding: 20px;
  }
  .team-card {
    padding: 30px;
  }
}
