
/*CSS RESET */

*{
	box-sizing:border-box;
}

:root {
	--color-neutral-light:#FBFAFB;
	--color-neutral-medium:#B5ACAF;
	--color-neutral-dark:#645557;

	--color-main-light:#F9F2EB;
	--color-main-medium:#e1d6c8;
	--color-main-dark:#a99f94;
	
	--color-sub-light:#F3E8E5;
	--color-sub-medium:#c5b2b1;
	--color-sub-dark:#8d7676;


	--color-black:#555;
	--color-white:#fff;

	--header-height:3rem; 
	--spacing:1rem;
}

.section-background {
  background-color: #bca78c;
  padding: 1em 0;
}


nav,
body{
	margin:0;
	font-size:120%;
	font-family: "futura-pt", sans-serif;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {  font-family: "kepler-std", serif;
}

.color-box {
  width: 100%;
  padding-top: 100%; 
  border-radius: 0.5em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

h1{
	font-family: "kepler-std-extended-subhead", serif;
font-weight: 700;
font-style: normal;
}

h2{
font-family: "kepler-std-subhead", serif;
font-weight: 700;
font-style: normal;
}

h3{
font-family: "kepler-std-subhead", serif;
font-weight: 700;
font-style: normal;
}

h4{
	font-family: "kepler-std", serif;
	font-weight: 800;
	font-style: normal;
}

h5{
	font-family: "kepler-std", serif;
	font-weight: 800;
	font-style: normal;
}

h6{
	font-family: "kepler-std", serif;
	font-weight: 500;
	font-style: normal;
}

p {
  line-height: 1.8; 
  font-weight: 200;
  font-size:120%;
}

a {
	color:inherit;
	font-weight:bold;
	text-decoration:none;
}
a:hover {
	text-decoration: underline;
	background-color: var ();
}

ul {
  list-style-type: none; 
  padding-left: 0;     
  margin: 0;         
}

/*LAYOUT CLASSES */

.container {
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}



.display-flex { display:flex; }
.display-inline-flex { display:inline-flex; }
.display-block { display:block; }
.display-inline-block { display:inline-block; }

.flex-stretch { flex: 1 1 auto; }
.flex-none { flex: none; }

.flex-align-center { align-items:center; }
.flex-justify-center { justify-content:center; }


/* Small Classes */
.media-image {
	max-width: 100%;
	vertical-align: text-bottom;
	
}




.hidden { display: none;}


/* Component Classes */

.nav ul {
	list-style-type:none;
	margin-top: 1em;
	margin-bottom: 1em;
	padding-left: 0;
}

.nav a{
	display:block;
	padding: 0.2em 0.5em;
}

.nav a:hover {
	background-color: var(--color-sub-medium);
	color: var(--color-white);
	text-decoration: none;
}

.nav .active a {
	background-color: var(--color-neutral-dark);
	color:white;
	text-decoration: none;
}


.nav-material ul,
.nav-crumbs ul,
.nav-pills ul,
.nav-stretch ul,
.nav-flex ul {
	display: flex;
}

.nav-material li,
.nav-stretch li {
	flex: 1 1 auto;
	text-align: center;
}

.nav-pills a {
	border-radius: 2em;
	padding: 0.5em 1em;
}

.nav-crumbs a {
	display: inline-block;
}

.nav-crumbs .active a,
.nav-crumbs a:hover {
	background-color:transparent;
	color:inherit;
	text-decoration: underline;
}

.nav-crumbs li:not(:first-child)::before {
	content:'/';
}

.nav-material a {
	padding: 0.5em 1em;
	position: relative;
}

.nav-material .active a {
	background-color: transparent;
	color:inherit;
}
.nav-material a:hover {
  background-color: var(--color-sub-light);
  color: inherit;
}

.nav-material a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-sub-dark);
  transition: all 0.3s;
}

.nav-material .active a::after {
  height: 4px;
}


.navbar {
	background-color: #af997f;
	color: var(--color-white);
	line-height: var(--header-height);
}

.navbar h1 {
  font-size: 1.65em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar a{
	padding: 0 0.5em;
}


/* Card */

.card {
	background-color: var(--color-white);
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	margin-top: 0.75em;
	margin-bottom: 0.75em;
	padding: 1.75em;

	overflow: hidden;
	position: relative;
}

	.card.soft{
		border-radius: 0.3em;
		box-shadow: 0 0 10px rgba(0,0,0,0.1);
	}

	.card.hard {
		border-radius: 0.3em;
		border:2px solid var(--color-neutral-medium);
		padding: 1em;
	}


	.card.dark {
		background-color: var(--color-neutral-dark);
		color:var(--color-neutral-light);
		padding: 1em;
	}


	.card.medium {
		background-color: var(--color-neutral-medium);
	}

	.card.flat {
		padding:0;
	}

	
	.view-window {
		height: 40vh;
		position: relative;
		overflow: hidden;
		background-size: cover;
		background-position: center;
		background-attachment: fixed;
	}

	/* Figure */
	.figure {
		margin: 0;
		background-color: var(--color-white);
	}

	.figure img {
		width: 100%;
		vertical-align: text-bottom;
		pointer-events: none; 
		user-select: none;
	}

	.figure figcaption {
		padding: 1em;
	}

/* FORMS */
.form-control {
	margin:1em 0;
}

.form-select>select,
.hotdog input,
.hotdog,
.form-button,
.form-input,
.form-item {
	display: inline-block;
	background-color:transparent;
	border-width: 0;
	padding: 0.5em 1em;
	font: inherit;
	-webkit-appearance: none;
	color: inherit;
	width: 100%;
	outline: 0;
}

.date-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-field input {
  flex: 0 0 auto;
}



.form-input {
  border-bottom: 1px solid var(--color-neutral-medium);
  padding: 0.5em 1em;
}

.form-input:focus {
	border-bottom-color: var(--color-neutral-dark);
}

.form-label {
	font-size: 0.8em;
	color: var(--color-neutral-dark);
	display: block;
	width: 100%;
}

.form-button {
	background-color: var(--color-neutral-light);
	border-radius: 0.2em;
	padding: 0.5em 1em;
	cursor:pointer;
	text-align: center;
}

.form-button:hover {
	text-decoration: none;
	background-color: var(--color-main-light);
}


.form-button:active {
	background-color: var(--color-main-light);
}

.hotdog {
  display: flex;
  align-items: center;
  background-color: rgb(237, 234, 234);
  border-radius: 2em;
  padding: 0.5em 1em;
}

.hotdog.dark {
	background-color:  var(--color-neutral-dark);
	color: var(--color-neutral-light)
}

.hotdog.light {
	background-color:  var(--color-neutral-light);
	color: var(--color-neutral-dark)
}

.form-select > select {
  padding: 0.5em 1.3em;
  background-color: var(--color-neutral-light);
  border-radius: 0.3em;
  cursor: pointer;
}

.form-select {
  position: relative;
}

.form-select::after {
  content: "▾";
font-family: "futura-pt", sans-serif;
  font-size: 1.2em;
  position: absolute;
  top: 50%;
  right: 0.2em;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-neutral-medium);
}

/* Toggle */
.toggle label {
  font-size:1.3em;
  display: inline-block;
  width: 2em;
  height: 1em;
  border: 0.1em solid var(--color-sub-dark);
  background-color: var(--color-main-medium);
  border-radius: 1em;
  position: relative;
}

.toggle label::after {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 1em;
  position: absolute;
  background-color: #fbfafa;
  transition:all 0.3s;
}

.toggle input:checked + label::after {
	transform:translateX(1em);
}

/* Buttons */

.pill-button {
  display: inline-block;
  background-color: var(--color-sub-dark);
  color: var(--color-white);
  padding: 0.6em 1.5em;
  border-radius: 500px;
  text-decoration: none;
  font-weight: 600;
  font-family: "futura-pt", sans-serif;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.pill-button:hover {
  background-color: var(--color-sub-medium);
  transform: scale(1.05);
  text-decoration: none;
}

.pill-button:active {
  background-color: var(--color-sub-light);
  transform: scale(0.98);
}

.pill-button-container {
  text-align: center;
  margin-top: 1.5em;
}

body.home .view-window {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* or center */
  padding-bottom: 100px; /* controls how far from bottom */
}
body.home .view-window .pill-button-container {
  position: static; /* reset any previous positioning */
}

.alert {
  font-family: "futura-pt", sans-serif;
  padding: 1em 1.5em;
  margin: 1em 0;
  border-radius: 0.75em;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1.05em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

/* Variants */
.alert.info {
  background: #f8faff;
  border-color: #a7b8d8;
  color: #304a67;
}

.alert.success {
  background: #f3faf6;
  border-color: #7bbfa2;
  color: #255c45;
}

.alert.warning {
  background: #fff8ed;
  border-color: #d4b06a;
  color: #7a5a2a;
}

.alert.error {
  background: #fff5f5;
  border-color: #d19595;
  color: #6b2c2c;
}

/* View Window */
	
.view-window {
  height: 50vh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;


  display: flex;
  justify-content: center; 
  align-items: center;      
  text-align: center;
  color: white;
}

.view-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.view-window > * {
  position: relative;
  z-index: 2;
}

.view-window h1 {
  margin: 0.3em 0;
}

.view-window-content .headline {
  font-family: "kepler-std-extended-subhead", serif;
  font-weight: 1000;
  font-size: 5rem;
  margin-bottom: 0.4em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  letter-spacing: 0.5px;
}

.view-window-content .subheadline {
  font-family: "futura-pt", sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2em;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

