/********GENERAL*****/
@font-face {
	font-family: "Nunito Sans";
	src: url("Typeface/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf") format("truetype");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Nunito Sans";
	src: url("Typeface/NunitoSans-Italic-VariableFont_YTLC,opsz,wdth,wght.ttf") format("truetype");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Playfair Display";
	src: url("Typeface/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Playfair Display";
	src: url("Typeface/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
	font-weight: 400 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--max: 1200px;
	--pad: 24px;
	--header-h: 76px;
}


html,
body {
	margin: 0;
	padding: 0;
	background-color: #f3f3ef;
}

main {
	margin: 0 auto;
	padding: clamp(10px, 0vw, 120px);
	box-sizing: border-box;
	max-width: 1800px;
}

.main-inspiration {
	padding: clamp(10px, 0vw, 120px);
	box-sizing: border-box;
	max-width: 1800px;


}

h1 {
	font-family: "Nunito Sans", sans-serif;
	font-weight: 900;
}

h2 {
	font-size: 22px;
	font-family: "Playfair Display", serif;
}

h3 {
	font-family: "Nunito Sans", sans-serif;
	font-size: 19px;
}

h4 {
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 900;
}

p {
	font-family: "Nunito Sans", sans-serif;
	font-weight: 100;
	line-height: 30px;
	font-size: clamp(16px, 3vw, 20px);
}

nav {
	font-family: "Nunito Sans", sans-serif;
	line-height: 30px;
	text-decoration: none;
}

a {
	text-decoration: none;
	font-weight: 400;
	color: #876300;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 8px
}

img {
	border-radius: 1px;
}

/*************** HEADER*************** */
.header {
	position: relative;
	/* like a default positioning*/
	background: #f3f3ef;
}

.header-bar {
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0 var(--pad);
	max-width: var(--max);
	margin: 0 auto;
	position: relative;
	z-index: 20;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.logo-img {
	height: 130px;
	width: auto;
	display: block;
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.footer-nav {
	display: flex;
	flex-direction: column-reverse;
	color: aliceblue;
	font-family: "Nunito Sans", sans-serif;
}

.footer-nav a {
	color: #111;
}

.footer-nav a:hover {
	color: #6b320a;
	font-weight: 400;
	transition: 0.3s;
}

.nav-link {
	text-decoration: none;
	color: #111;
	font-weight: 600;
	letter-spacing: 0.2px;
	padding: 10px 8px;
	border-radius: 10px;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 100;
}

.nav-link:hover {
	color: #6b320a;
	transition: 0.3s;
	text-decoration: underline;
	text-underline-offset: 8px
}

.nav-current-page {
	color: #6b320a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 8px
}

/* ************Hero *******************/
.hero {
	position: relative;
	height: min(20vh);
	overflow: hidden;
	display: flex;
	align-items: center;
	/* vertical centering */
	padding-top: clamp(100px, 12vw, 220px);
	padding-bottom: clamp(100px, 12vw, 220px);
	padding-left: clamp(0px, 10vw, 220px);

}

.hero-inspiration {
	height: min(20vh);
	padding-top: clamp(32px, 12vw, 220px);
	padding-bottom: clamp(32px, 12vw, 220px);
}



.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(to left, #12121268, #b0b0b067, #f4f4f49c, #ffffff);
}

.hero-video {
	display: block;
}

.hero-poster {
	display: none;
}

/**************** Mobile   ***************/
@media (max-width: 768px) {
	.hero-overlay {
		background-image: linear-gradient(to left, #fefefed2, #ffffffb8, #f4f4f4be, #ffffff);
	}

	.hero {
		padding-left: 0px;
	}

	.hero-video {
		display: none;
	}

	.hero-poster {
		display: block;
	}
}


/* Shared positioning like your .hero-img */
.hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}



/**************** HERO ***************/
.hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--pad);
	color: #1c1c1c;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.hero-title {
	font-size: clamp(12px, 1.2vw, 25px);
	/*max, desired, min*/
	line-height: 1.05;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.hero-subtitle {
	/* clamp(minimal, preffered in FLEXIBLE UNITS, maximal) */
	line-height: clamp(2rem, 4vw, 2.5rem);
	text-align: left;
	max-width: 20ch;
	font-weight: 600;

	font-size: clamp(27px, 3vw, 30px);
	text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.571);
	/*Better readability on darker background (eg small screens)*/
	font-family: "Playfair Display", serif;
	font-style: italic;
}

@media (max-width: 768px) {
	.hero-content {
		align-items: center;
		text-align: center;
		padding: 0;
	}

	.hero-subtitle {
		/* clamp(minimal, preferred in FLEXIBLE UNITS, maximal) */
		text-align: center;
	}
}


.hero-image-inspiration {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: #6a6a6a;
}

.hero-inspiration {
	position: relative;
	min-height: clamp(30%, 70vh, 720px);
	overflow: hidden;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	border: 1px solid transparent;
	font-size: clamp(14px, 2vw, 16px);
	gap: 0.8em;
	text-decoration: none;
	transition: font-size 0.3s ease;
}

.btn-primary {
	background: #fec804ad;
	color: #4d4d4c;
	font-family: "Nunito Sans", sans-serif;
	padding: 14px 33px;
	border-radius: 40px;
	border: solid 1px #fec804;
}

.btn:hover {
	background: #fec804;
	text-decoration: none;
}

.btn-primary:hover .btn-arrow {
	transform: translateX(0);
}

.btn-arrow {
	transform: translateX(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-toggle .icon-close {
	display: none;
}

.menu-toggle {
	display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
	display: inline;
}

.icon-open,
.icon-close {
	font-size: 25px;
	line-height: 1;
}

.row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: center;
}

/*//////////////////////////// inspiration GRID GALLERY ////////////////////*/


.column {
	flex: 1 1 33%;
	max-width: 33%;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
	/* space between items in the column */
}

.img-inspiration-container {
	position: relative;
	width: 100%;
	gap: 1px;

}

.img-inspiration-container img {
	width: 100%;
	display: block;
	border-radius: 1px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	gap: 1px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	width: 100%;
}

.main-inspiration-text-om-produkter {
	max-width: 35ch;
	margin: auto;
	padding: 40px;
	text-align: center;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.main-inspiration-text-om-produkter h2 p {
	font-size: 1em;
	font-family: "Garamond", serif;
}

@media screen and (max-width: 1114px) {
	.column {
		flex: 50%;
		max-width: 50%;
	}

	.column3 {
		display: none;
	}
}

@media screen and (max-width: 646px) {
	.column {
		flex: 100%;
		max-width: 100%;
	}

	.column3 {
		display: flex;
	}
}

/*BREADCRUMBS*/
ul.breadcrumb {
	list-style: none;
	/*to remove default list styling*/
	padding: 0px 10px 0px 10px;
}

ul.breadcrumb li {
	display: inline;
	font-size: 16px;
}


ul.breadcrumb li+li:before {
	color: black;
	content: " | ";
}


ul.breadcrumb li a {
	color: #876300;
	text-decoration: none;
	text-transform: capitalize;
}

ul.breadcrumb li a:hover {
	text-decoration: underline;
	text-underline-offset: 8px
}

.footer-container {
	background: #eceff1;
	color: #222222;
	padding: 120px 10px 0px 10px;
	gap: 48px;
	/* space between the two rows */
}

/*********************************************** FORM INPUT FIELDS ************************************************/
.footer-row-1-form {
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 55px;
	padding: 80px 10px 120px 10px;
}

@media (max-width: 900px) {
	.footer-row-1-form {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 32px;
		padding: 40px 20px 120px 20px;
	}

	.form-headline {
		text-align: center;
	}
}

@media (max-width: 480px) {
	.footer-row-1-form {
		padding: 32px 10px 80px 10px;
	}
}

@media (max-width: 420px) {
	.footer-row-1-form {
		padding: 32px 0px 80px 0px;
	}

	.footer-container {
		padding: 20px;
	}

}


.form-description {
	margin: auto;
	text-align: left;
	max-width: 400px;
}


.footer-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}


.footer-form-left,
.footer-form-right {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;

}

/* FORM Fields */
.form-label-input,
.form-label-textarea {
	display: grid;
	grid-template-columns: 1fr 3fr;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-bottom: 2px solid black;
	box-sizing: border-box;
	margin-top: 6px;
	margin-bottom: 16px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	color: black;
	background-color: #d5d5d567;
}

@media (max-width: 600px) {

	.form-label-input,
	.form-label-textarea {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

input,
textarea {
	box-sizing: border-box;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	background-color: transparent;
	border: none;
	width: 100%;
}

.form-headline {

	font-size: clamp(30px, 5vw, 50px);
	text-transform: uppercase;
	font-weight: 100;
}

.form-text-intro {
	font-size: clamp(16px, 3vw, 20px);
	font-style: italic;
	line-height: 30px;
}

/***** FORM INPUT submit ********/

input[type=submit] {
	background-color: #e0a61e;
	padding: 18px 60px;
	border-radius: 7px;
}

input[type=submit]:hover {
	background-color: #ea8603;
	transition: 0.5s;
}

/*************************** FOOTER ************************************************/

.footer-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	/* equal columns */
	gap: 48px;
	padding: 60px 0px 120px 0px;
	border-top: 1px solid rgba(24, 23, 23, 0.15);
	margin: auto;
}

@media (max-width: 1270px) {
	.footer-row-2 {
		grid-template-columns: 1fr 1fr;
		column-gap: 0;
		row-gap: 32px;
		padding: 40px 24px;
	}
}

@media (max-width: 720px) {
	.footer-row-2 {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 32px;
		padding: 40px 24px;
	}
}

@media (max-width: 480px) {
	.footer-row-2 {
		grid-template-columns: 1fr;

		padding: 32px 10px;
	}
}

.footer-links,
.footer-social,
.footer-adress,
.footer-telefon {
	width: 100%;
	/* or a fixed/max width */
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;

}

.footer-social-link,
.footer-link {
	display: flex;
	align-items: center;
	gap: 20px;
	color: #222222;
	text-decoration: none;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 200;
}

.footer-social-link img {
	width: 35px;
	height: auto;
	opacity: 0.9;
}

.footer-social-link:hover {
	color: #6b320a;
	font-weight: 400;
	transition: 0.3s;
}

.footer-year-created {
	text-align: center;
	padding-bottom: 1px;

}

.footer-adress h4,
.footer-telefon h4 {
	margin-bottom: 4px;
}

.footer-adress p,
.footer-telefon p {
	margin-top: 0;
	margin-bottom: 12px;
	line-height: 1.5;
}

.footer-year-created p {
	font-size: 12px;
}

.kontakt-form {
	padding-bottom: 120px;
	max-width: 90ch;
	margin: auto;
}

.kontakt-form-description {
	text-align: center;
	max-width: 60ch;
	margin: auto;
	padding-bottom: 60px;
}

.kontakt-form-description h2 {
	font-size: 25px;
}

.om-birgitta-text {

	max-width: 80ch;
	margin-inline: auto;
	padding: clamp(10px, 10vw, 120px);
}

.main-om-birgitta {
	padding: 0;
	box-sizing: border-box;

}

.hero-inspiration {
	position: relative;
	min-height: 10vh;
	/* or whatever height you want */
	overflow: hidden;
}



.hero-img {
	position: absolute;
	inset: 0;
	/* top: 0; right: 0; bottom: 0; left: 0 */
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero-title-om {
	text-transform: uppercase;
	font-size: 20px;
	text-align: left;
}

.hero-subtitle-om {
	font-size: 50px;
	text-align: left;
	line-height: 60px;
	max-width: 20ch;
}

.om-birgitta-image-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin: 24px 0;
	object-fit: cover;
}

.om-birgitta-image-pair img {
	width: 100%;
	aspect-ratio: 3/2;
	/* square — change to 4/3, 3/2, etc */
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 1px;
}

/* Mobile */
@media (max-width: 768px) {
	.om-birgitta-image-pair {
		grid-template-columns: 1fr;
	}


}

.footer-kontakt {
	padding-top: 120px;
	border-top: 1px solid #cdced0;
}

.home-intro {
	max-width: 80ch;
	margin-inline: auto;
	padding: clamp(10px, 10vw, 120px);
}



.image-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
}

.image-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 1px;
	aspect-ratio: 4 / 3;
	text-decoration: none;
	color: inherit;
}

.image-card-wide {
	grid-column: span 2;
	aspect-ratio: 16 / 9;
}



.image-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.image-card:hover img {
	transform: scale(1.06);
}

.image-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top,
			rgba(0, 0, 0, .55),
			rgba(0, 0, 0, .15));
}

.image-card-text {
	position: absolute;
	place-self: center;
	inset: 0;
	color: #fff;
	font-size: clamp(16px, 4vw, 30px);
	font-family: "Nunito Sans", sans-serif;
	padding: 10px;
	text-align: center;
}

.image-card:hover .image-card-text {
	color: #ffd332;
}

@media (max-width: 600px) {
	.image-grid {
		grid-template-columns: 1fr;
	}

	.image-card-wide {
		grid-column: span 1;
	}
}

.home-main {
	padding: clamp(10px, 3vw, 120px);
	padding: 0px;
}

.tjanster-grid-wrapper {
	max-width: 85ch;
	margin: auto;
	padding: clamp(10px, 10vw, 120px);

}


/********404*********
stor del av kod är lånad från https://github.com/HimeshKohad/Error-404-Page/blob/main/style.css*/
.container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 2rem;
	min-height: 60vh;
}

.error {
	max-width: 400px;
}

.unicorn {
	max-width: 80%;
	height: auto;
	float: right;
}

/* Mobile */
@media (max-width: 500px) {
	.container {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 10px;
	}

	.unicorn {
		display: none;
	}
}

.thick-text {
	font-weight: 600;
}

/* Mobile MENU  */
@media (max-width: 768px) {
	.menu-toggle {
		display: inline-flex;
	}

	/* hide inline desktop menu */
	#site-nav.nav {
		display: none;
	}

	#site-nav.nav.is-open {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;

		position: absolute;
		top: var(--header-h);
		left: 0;
		right: 0;
		padding: 16px 0;
		background: #f3f3ef;
		text-align: center;
		z-index: 25;
	}

	#site-nav .nav-link {
		width: 100%;
		text-align: center;
		padding: 12px 16px;
	}
}

/* Mobile nav wrap */
@media (max-width: 768px) {
	.menu-toggle {
		display: block;
		position: relative;
		z-index: 10001;
		/* stays clickable above menu */
	}

	.nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: #fff;
		flex-direction: column;
		gap: 1rem;
		padding: 5rem 1.5rem 1.5rem;
		display: none;
		z-index: 10000;
	}

	.nav.is-open {
		display: flex;
	}
}

.kontakta-oss {
	font-family: "Nunito Sans", sans-serif;
	font-weight: 100;
	line-height: 30px;
	font-size: clamp(16px, 3vw, 20px);
}