/* CSS RESET */


*, *::after, *::before {
	box-sizing: border-box;
}

:root {
	--color-neutral-light:#e6e4dc;
	--color-neutral-medium:#cdc2b2;
	--color-neutral-dark:#8b7b64;

	--color-main-light:#b1a592;
	--color-main-medium:#736f4a;
	--color-main-dark:#484424;

	--color-black:#221f16;
	--color-white:#ffffff;
	--color-gray:#736f68;

	--header-height:3rem;
	--spacing:1rem;


	--font-serif: "Instrument Serif", Lora, "Source Serif 4", serif;
	--font-sans: Jost, Manrope, Inter, sans-serif;
}

body {
	margin:0;
	font-size:100%;
	font-family:var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family:var(--font-serif);
}

a {
	color:inherit;
	font-weight:bold;
	text-decoration:none;
}
a:hover {
	text-decoration: underline;
}




/* 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; }

/* GRID SYSTEM */

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.grid.gap {
    gap: 1em;
}

.col-xs-12 {
    grid-column: span 12;
}

.col-md-4 {
    grid-column: span 4;
}


/* COMPONENT CLASSES */

.nav ul {
	list-style-type:none;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
}

.nav a {
	display:block;
	padding: 0.2em 0.5em;
}

.nav a:hover {
	background-color: var(--color-main-medium);
	color: var(--color-white);
	text-decoration:none;
}

.nav .active a {
	background-color: var(--color-main-light);
	color: inherit;
}

.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-neutral-light);
	color: inherit;
}

.nav-material a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background-color: var(--color-main-medium);
	transition: all 0.3s;
}

.nav-material .active a::after {
	height: 4px;
}

.navbar {
	background-color:var(--color-neutral-medium);
	color:var(--color-main-dark);
	line-height:var(--header-height) ;
}

.navbar h1 {
	font-size:1em;
	margin:0;
	font-family:var(--font-sans) ;
}

.navbar a {
	padding:0 1em;
}

/* CARD */

.home-product {
    background-color: #f6f4f0;
    margin-top: 24px;
    margin-bottom: 1em;
    margin-left: 12px;
    margin-right: 12px;
    padding: 0;

    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;

    flex: 1 1 200px;
    max-width: 260px;
    box-sizing: border-box;
}

.home-product img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1em;
}


.card {
	background-color:var(--color-white);
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 1em;

	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}


.card.soft {
	border-radius: 0.5em;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card.hard {
	border-radius: 0.2em;
	border: 2px solid var(--color-neutral-medium);
}

.card.dark {
	background-color:var(--color-neutral-dark) ;
	color:var(--color-neutral-light) ;
}

.card.medium {
	background-color:var(--color-neutral-medium) ;
}

.card.flat {
	padding: 0;
}



.view-window {
	height: 100vh;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

/*TABLES*/

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th,
.table td {
	text-align: left;
	padding: 0.2em 0.5em;
}

.table.striped tbody tr:nth-child(odd) {
	background-color: var(--color-neutral-light);
}

.table.lined.all th:not(:first-child),
.table.lined.all td:not(:first-child),
.table.lined.vertical th:not(:first-child),
.table.lined.vertical td:not(:first-child) {
	border-left: 1px solid var(--color-neutral-medium);
}

.table.lined.horizontal tbody tr,
.table.lined.horizontal tbody tr {
	border-top: 1px solid var(--color-neutral-medium);
}

.table.lined.all tbody tr,
.table.lined.all tbody tr {
	border-top: 1px solid var(--color-neutral-medium);
}

.table.lined.all,
.table.lined.border {
	border: 1px solid var(--color-neutral-medium);
}

/*Figure*/
.figure {
	margin: 0;
	background-color: var(--color-white);
}
.figure img {
	width: 100%;
	vertical-align: text-bottom;
}
.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;
	font: inherit;
	-webkit-appearance: none;
	color: inherit;
	width: 100%;
	outline: 0;
}

.form-input {
	border-bottom: 1px solid var(--color-neutral-light);
	padding: 0.5em 1em;
}

.form-input:focus {
	border-bottom-color:var(--color-main-light);
}

.form-label {
	font-size: 0.8em;
	color: var(--color-neutral-medium);
	display: block;
	width: 100%;
}

.form-button {
	background-color: var(--color-neutral-light);
	padding: 0.5em 1em;
	border-radius: 0.2em;
	cursor: pointer;
	text-align: center;
}

.form-button:hover {
	text-decoration: none;
}

.form-button:active {
	background-color: var(--color-main-light);
}


.hotdog {
	background-color: var(--color-neutral-light);
	border-radius: 2em;
	padding: 0.5em 1.5em;
	display: flex;
}

.hotdog.dark {
	background-color: var(--color-neutral-dark);
	color: var(--color-neutral-light);
}

.hotdog.light {
	background-color: var(--color-white);
	color: var(--color-black);
}

.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: arial,sans-serif;
	font-size: 1.2em;
	position: absolute;
	top: 50%;
	right: 0.2em;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--color-neutral-medium);
}