/*!
Theme Name: Voksenåsen
Theme URI: http://underscores.me/
Author: Insite Media AS
Author URI: https://insitemedia.no
Description: Custom boilerplate for VoksenÅsen
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: im-voksenaasen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Voksenåsen is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--red: #ab6358;
	--red-hover: #9a5850;
	--white: #ffffff;
	--text-white: #ffffffd9;
	--label-white: #ffffffb3;
	--black: #000000;
	--text-black: #000000cc;
	--green: #3d6e53;
	--green-blass: #93ada0;
	--teal: #8eabca;
	--blue: #3a59a4;
	--burgund: #8b3c48;
	--orange: #d66a3f;
	--background: #f5f1eb;
	--background-dark: #e9e7e24d;
	--border: #d4cfc4;
	--text-light: #000000b3;

	--font: "Cormorant Garamond", "Georgia", serif;
	--text-font: "Brandon Text", system-ui, sans-serif;
	--sz-btn: "13px";
}

html, body {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-size: 100%;
}

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

#page {
	background: var(--background);
}

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

h1 {
	font-size: 4.5rem;
}

h2,
h3 {
	font-size: 3rem;
}

p {
	font-family: var(--text-font);
	font-size: 1rem;
}

#masthead {
	height: 96px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	background: var(--background);
}

.logged-in #masthead {
	top: 32px;
}

#prevHero,
#nextHero {
	position: absolute;
	top: 50%;
	z-index: 50;
	border-radius: 100%;
	height: unset;
	padding: unset;
	border: none;
	 /* glass */
	background: rgba(255, 255, 255, 0.12);          /* subtle milky layer */
	backdrop-filter: blur(10px) saturate(140%);
	-webkit-backdrop-filter: blur(10px) saturate(140%); /* Safari */

	width: 2.75rem;
	height: 2.75rem;

	/* depth */
	box-shadow:
		0 10px 25px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);

	color: rgba(255, 255, 255, 0.95);
	transition: all 0.25s;
}

#prevHero {
	left: 6rem;
}

#nextHero {
	right: 6rem;
}

#prevHero:hover,
#nextHero:hover {
	transform: scale(1.05);
	background: rgba(255, 255, 255, 0.2);          /* subtle milky layer */
}

button.scroll-down-hero {
	color: #ffffff80;
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-direction: column;
	opacity: 1;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); /* transition-colors */
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background: unset;
	border: unset;
	animation: bob 2s ease-in-out infinite;
	z-index: 50;
}

/* Important: include translateX in every keyframe */
@keyframes bob {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

button.scroll-down-hero:hover,
button.scroll-down-hero:hover span {
	color: var(--white);
	cursor: pointer;
}

.scroll-down-hero  span {
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 500;
	color: #ffffff80;
	font-size: 11px;

}

.flex-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.custom-logo {
	height: 36px;
	width: auto;
}

section {
	background: var(--background);
}

.btn,
button {
	transition: all 0.25s;
	letter-spacing: .05em;
	font-weight: 500;
	font-size: var(--sz-btn);
	border: 1px solid;
	border-radius: 0;
	padding-left: 2rem;
	padding-right: 2rem;
	height: 3rem;
	display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn.main {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}

.btn:hover,
button:hover {
	cursor: pointer;
}

.btn.main:hover {
	background: var(--red-hover);
	border-color: var(--red-hover);
}

.btn.secondary {
	background: transparent;
	border-color: var(--white);
	color: var(--white);
}

.btn.secondary:hover {
	background: var(--white);
	color: var(--black);
	border-color: var(--white);
}

#colophon {
	background: var(--background);
	border-top: 2px solid var(--border);
	padding-top: 5rem;
	padding-bottom: 5rem;
}

#colophon h3 {
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--black);
}

#colophon .nf-field-label label {
	display: none !important;
}

#colophon .nf-field-element input[type="email"] {
	outline: 2px solid transparent;
	transition: all 0.25s;
	outline-offset: 2px;
	font-size: .875rem;
	line-height: 1.25rem;
	padding-top: .5rem;
	padding-bottom: .5rem;
	padding-left: .75rem;
	padding-right: .75rem;
	background: #ffffff80;
	border: 1px solid var(--border);
}

#colophon .nf-field-element input[type="email"]:focus-visible {
	outline: 2px solid var(--red);
	border: 1px solid var(--red);
}

#nf-field-4 {
	border: 2px solid var(--red);
	background: var(--red);
	color: var(--white);
	border-radius: 0;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	font-size: .875rem;
    line-height: 1.25rem;
	font-weight: 500;
}

.footer-copy ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	justify-content: center;
}

.footer-copy ul li a,
.footer-copy ul li {
	color: var(--black);
	text-decoration: none;
	opacity: 0.7;
	font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 300;
}

#colophon a:hover {
	color: var(--red);
	opacity: 1;
}

.border-color {
	color: var(--border);
}

ul.contact-list,
ul.socials {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	margin-top: calc(2.5rem * calc(1 - 0));
}

ul.contact-list li a,
ul.socials li a {
	color: var(--black);
	text-decoration: none;
	opacity: 0.7;
}

#colophon p {
	color: var(--text-light);
	font-weight: 300;
	line-height: 1.625;
}

span {
	font-size: .75rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--red);
	line-height: 1rem;
	font-family: var(--text-font);
}

.headline-small {
	font-size: 1.25rem;
	line-height: 1.25;
	color: var(--black);
}

#mobOverlay {
	position: fixed;
	top: 0;
	right: -200vw;
}

.center {
	text-align: center;
}

section.text-section-center {
	padding-top: 5rem;
	margin-bottom: 5rem;
}

#heroContainer {
	position: relative;
	overflow: hidden;
	padding-left: 3rem;
	padding-right: 3rem;
	padding-top: 7rem;
	padding-bottom: 1rem;
}

.hero-navigation {
	position: absolute;
	z-index: 50;
	display: flex;
	gap: .5rem;
	left: 50%;
	bottom: 6rem;
	transform: translateX(-50%);
}

#heroContainer .hero-slide {
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 550px;
	height: 78vh;
}

#heroContainer .hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, .4) 100%);
	z-index: 20;
}

#heroContainer .hero-content {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding-left: 3rem;
	padding-right: 3rem;
	z-index: 50;
}

#heroContainer .inner-hero {
	max-width: 48rem;
	margin: 0 auto;
}

#heroContainer .inner-hero .hero-content-text p {
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 300;
	max-width: 36rem;
	margin: 0 auto 2rem auto;
}

#heroContainer h1 {
	color: var(--white);
}

#heroContainer p {
	color: var(--text-white);
}



#heroContainer p.subtitle {
	color: var(--label-white);
	text-transform: uppercase;
	font-size: .875rem;
	line-height: 1.25rem;
	letter-spacing: .25em;
	font-weight: 500;
}

#discover {
	scroll-margin-top: 5rem;
}

.footer-ruler hr {
	margin-top: calc(2.5rem * calc(1 - 0));
	padding-bottom: 2rem;
}

