/* Gillberga Lantbruk AB */

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 243, 188, 121;

	--black-color: 17, 17, 17;
	--gray-dark-color: 58, 58, 58;
	--gray-color: 221, 221, 221;
	--gray-light-color: 248, 248, 248;
	--white-color: 255, 255, 255;

	/* 	Layout  */
	--col-padding: 3rem;
	--menu-height: 7rem;
	--section-width: 130rem;

	/* 	Typography */
	--base-size: 1.6rem;

	/* 	Mobile nav */
	--activate-mobile-menu: 980;
	--mobile-menu-height: 6rem;
	--mobile-menu-bg: var(--white-color);
	--menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
	:root {
		--base-size: 1.5rem;
	}
}

/* Layout
========================================================================== */
.section-block {
	padding: 10rem 5rem;
}

/* Paddings */
.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
	padding-bottom: 0;
}
/* Margins */
.mb-3 {
	margin-bottom: 3rem;
}

@media only screen and (max-width: 1024px) {
	.section-block {
		padding: 8rem 3rem;
	}
}

@media only screen and (max-width: 580px) {
	.section-block {
		padding: 5rem 2rem;
	}
}

/* Text och typsnitt
========================================================================== */
body {
	font-family: 'Open Sans', sans-serif;
	color: rgb(var(--gray-dark-color));
}

/* Rubriker */
.text-label {
	padding-bottom: 0.5em;
	font-size: 2.5rem;
	font-weight: 400;
}

.section-title {
	padding-bottom: .5em;
	font-size: 4.5rem;
	font-weight: 400;
	line-height: 1.2;
	font-family: "EB Garamond", serif;
	-webkit-font-smoothing: antialiased;
}

.small-title {
	padding-bottom: .3em;
	font-size: 3.6rem;
	font-weight: 400;
	line-height: 1.4;
	font-family: "EB Garamond", serif;
	-webkit-font-smoothing: antialiased;
	letter-spacing: 0.1rem;
}

/* Brodtext och lankar */
p,
li {
	color: rgb(var(--gray-dark-color));
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
}

/* Ovriga klasser */
.text-block-center {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

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

@media only screen and (max-width: 1200px) {

	/* Rubriker */
	.section-title {
		font-size: 3.8rem;
	}

	.small-title {
		font-size: 2.2rem;
	}
}

@media only screen and (max-width: 580px) {

	/* Rubriker */
	.section-title {
		font-size: 2.5rem;
	}

	.small-title {
		font-size: 2.3rem;
	}

	.text-label {
		font-size: 1.8rem;
	}
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
	margin-top: 2rem;
}

/* Knappar */
.btn,
.ContactSubmit {
	min-width: 15rem;
	padding: 1.2rem 2rem;
	margin: 5px;
	font-size: 1.4rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: all .4s ease;
	text-transform: uppercase;
}

.ContactSubmit {
	color: rgb(var(--primary-color));
	border: 2px solid rgb(var(--primary-color));
	background-color: transparent;
}

.ContactSubmit:hover {
	color: rgb(var(--white-color));
	border: 2px solid rgb(var(--primary-color));
	background-color: rgb(var(--primary-color));
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-gray-light {
	background-color: rgb(var(--gray-light-color));
}

/* Text */
.text-primary {
	color: rgb(var(--primary-color));
}

.text-white {
	color: rgb(var(--white-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-video {
	position: relative;
	overflow: hidden;
}

.bg-video-wrapper {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Video */
.bg-video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.split-wrapper.reverse {
	flex-direction: row-reverse;
}

.split-content {
	width: 50%;
	padding: 5rem;
}

.split-image {
	width: 50%;
}

/* Centrera content */
.split-wrapper .align-center {
	align-self: center;
}

@media screen and (max-width: 1300px) {
	.split-content {
		padding: 3rem;
	}
}

@media screen and (max-width: 1000px) {

	.split-wrapper,
	.split-wrapper.reverse {
		flex-direction: column;
		background: transparent;
	}

	.split-content {
		width: 100%;
		max-width: 70rem;
		padding: 0 0 3rem;
		background: transparent;
	}

	.split-image {
		width: 100%;
		min-height: 20rem;
	}

	/* Centrera content */
	.split-wrapper .align-center {
		align-self: flex-start;
	}
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
	border-color: transparent;
	background-color: transparent;
}

header.scrolled {
	border-bottom: 1px solid rgb(var(--gray-light-color));
}
header.scrolled .header-logo a,
header.active-menu .header-logo a {
    color: rgb(var(--gray-dark-color));
}

/* Logo */
.header-logo {
	flex: 1 1 0px;
}

.header-logo a {
	font-size: 2.4rem;
	font-weight: 400;
	text-decoration: none;
	color: rgb(var(--white-color));
	font-family: "EB Garamond", serif;
	-webkit-font-smoothing: antialiased;
}

header.scrolled .header-logo a {
	color: rgb(var(--gray-dark-color));
}

.text-logo {
	display: inline-block;
}

/* Nav */
.TemplateMenu a {
	font-weight: 600;
	font-size: 1.4rem;
	color: rgb(var(--black-color));
}

header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
	color: rgb(var(--white-color));
}

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
	--menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu li {
	padding: 0 2rem;
	text-align: center;
}

@media only screen and (max-width: 580px) {

	/* Header logo */
	.header-logo a {
		font-size: 1.6rem;
	}
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(110vh - var(--menu-height));
	padding-top: var(--menu-height);
	margin-top: calc(var(--menu-height) * -1);
	background-color: rgb(var(--black-color), .2);
}

.top-section .section-block {
	width: 100%;
}

.top-section .text-block-center {
	max-width: 85rem;
}

.top-section img {
	max-width: 30rem;
	margin-bottom: 3rem;
}

.top-section .section-title {
	font-size: 5rem;
	font-weight: 600;
}
.top-section video {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
}

@media only screen and (max-width: 1200px) {
	.top-section .section-title {
		font-size: 4.5rem;
	}
}

@media only screen and (max-width: 580px) {
	.top-section .section-title {
		font-size: 3rem;
	}
}

/* Torkanlaggning
========================================================================== */
.logo-wrapper {
	max-width: 13rem;
	margin-top: 2rem;
}

/* Kontakt
========================================================================== */
.section-contact {
	background-color: rgb(var(--white-color), .6);
}

.section-contact .col-0 {
	background-color: rgb(var(--primary-color));
	padding: 4rem;
}

.section-contact .col-1 {
	background-color: rgb(var(--white-color));
	padding: 4rem;
}


/* Formular */
.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea{
	border-color: rgb(var(--gray-color));
}

@media only screen and (max-width: 580px) {
	.section-contact .col-0 {
		padding: 1rem;
	}

	.section-contact .col-1 {
		padding: 1rem;
		margin-top: 3rem;
	}

	.section-contact .col-0 p {
		font-size: 1.8rem;
	}
}

/* Section Instagram
========================================================================== */
.section-instagram {
	overflow: hidden;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	padding: 0 5rem;
}

/* Footer bottom */
.footer-bottom {
	padding: 2rem 0;
	text-align: center;
}

.footer-bottom p {
	font-size: 1.4rem;
}