/*
Theme Name:  Amelie Seeland
Theme URI:   https://amelieseeland.de
Author:      Julian Spangenberg
Author URI:  https://spangenberg-medien.de
Description: Individuelles WordPress-Theme für Amelie Seeland. Pagebuilder: Elementor.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: amelieseeland
*/

html{
	font-size: 16px;
}
@media (min-width: 768px) {
	html {
		font-size: 18px;
	}
}
@media (min-width: 1024px) {
	html {
		font-size: 20px;
	}
}

body {
	margin: 0;
	box-sizing: border-box;
	font-family: "AMS Basic", Arial, sans-serif;
}
#main {
	padding-top: 4em;
}
#wpadminbar + div header {
	top: 32px;
}
#site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	min-height: 4em;
	width: 100%;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(3px);
	box-shadow: rgba(0,0,0,0.02) 0 0 10px 1px;
	inset: 0 0 100% 0;
	transition: all ease-in-out 250ms;
}
#site-header.minnav {
	min-height: 3em;
}

#site-header .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 1em;
}

#site-nav {
	display: flex;
	align-items: center;
	gap: 1em;
	width: 80%;
}
#primary-menu {
	width: 80%;
	justify-content: space-between;
}
#primary-menu li a, #lang-switcher a {
	font-size: 1.2em;
	font-weight: 300;
}
#primary-menu li.contact a::before {
	content: "";
	background-image: url(/wp-content/themes/amelieseeland/images/icon-mail.svg);
	background-size: cover;
	width: 0.8em;
	height: 0.8em;
	display: inline-block;
	margin-right: 0.25em;
	vertical-align: center;
}

#primary-menu,
#site-nav .menu {
	list-style: none;
	display: flex;
	gap: 1em;
	padding: 0;
	margin: 0;
}

#site-nav a,
#lang-switcher a {
	text-decoration: none;
	color: inherit;
	text-underline-offset: 3px;
}

#menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}


#lang-switcher {
	display: flex;
	gap: 0.8em;
}

#lang-switcher a[aria-current='page'] {
	text-decoration: underline;
}

@media (max-width: 768px) {
	#menu-toggle {
		display: block;
	}
	#site-header:has(.is-open) {
		background-color: white;
	}
	#primary-menu,
	#site-nav .menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 0 1rem 1rem;
		background: #fff;
		flex-direction: column;
		width: 100%;
		box-shadow: rgb(0,0,0,0.1) 0 5px 5px 2px;
	}
	#site-nav .menu li {
		padding: 0em 0.5em;
		text-transform: uppercase;
	}
	#site-nav.is-open #primary-menu,
	#site-nav.is-open .menu {
		display: flex;
	}
}
/**Startseite**/
#main .mainimg img{
	transition: all ease-in-out 250ms;
}
.minnav + #main .mainimg img{
	max-width: 1100px
}
.txt-stripe {
	font-family: var(--font-display);
	font-weight: 700;
	overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding-top: calc(2vw) !important;
}
.text-an p {
    font-size: calc(11em + 10vw);
    display: inline-block;
    margin:0 !important;
    letter-spacing: -0.025em;
    font-weight: 900;
    font-family:"AMS Display", Arial;
}
.text-an p span {
	letter-spacing: -0.075em;
	margin-left: -0.05em;
}
.text-an p + p {
    margin:0 !important;
}

.skills .e-n-tab-title:hover {
	cursor: pointer;
}
.skills ul {
	list-style: none;
	margin: 0 !important;
	padding: 0;
}
.skills ul li {
	border-top: solid 1px var(--e-global-color-primary);
	padding: 0.7em 2px 0.5em;
	line-height: 1.5em;
}
.skills ul li:last-child {
	border-bottom: solid 1px var(--e-global-color-primary);
}
.portfolio {
	max-width: calc(1155px * 3) !important;
	width: calc((800px + 15vw) * 3) !important;
}
.portfolio .swiper-pagination {
	bottom: -10px !important;
}


footer {
	padding: 2.5em 1em;
	font-family: "AMS Basic";
	font-size:20px;
	font-weight:300;
	line-height: 2em;
	color: var(--e-global-color-primary);
	overflow-x: clip;
}
footer .content {
	width: min(1140px,100%);
	margin: 0 auto;
	text-align: center;
}
footer .content > div {
	padding: 0.2em 0;
}
footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display:flex;
	gap:0;
	justify-content: center;
}
footer ul li {
	display: inline-block;
}
footer a{
	color: var(--e-global-color-primary);
	padding: 0.25em 0.375em;
}
footer .contact a {
	text-decoration: underline;
	text-underline-offset: 5px;
	font-variant-numeric: lining-nums;
}
.contact span[class^="icon-"] {
	display: inline-block;
	background-size: cover;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	margin-right: 0.25em;
}
.contact .icon-mail {
	background-image: url(/wp-content/themes/amelieseeland/images/icon-mail.svg);
}
.contact .icon-phone {
	background-image: url(/wp-content/themes/amelieseeland/images/icon-phone.svg);
}
.contact .icon-linkedin {
	background-image: url(/wp-content/themes/amelieseeland/images/icon-linkedin.svg);
}

footer .menu li + li::before {
	content: "·";
	display: inline-block;
}
footer .menu li a {
	text-decoration: none;
}
footer .menu a:hover {
	text-decoration: underline;
}
footer .copyright p {
	font-variant-numeric: lining-nums;
	margin: 0;
}
h2.leistungen {
	display: none;
}

@media( max-width:1200px){
	#site-header .content{
		padding: 1em 3.5em;
	}
	.portfolio {
		max-width: calc(100vw * 3) !important;
		width: 100% !important;
	}
	.text-an p {
    	font-size: calc(9em + 10vw);
	}
	
}
@media( max-width:810px){
	h2.leistungen {
		display: block;
	}
	#site-header .content{
		padding: 1em;
	}
	.text-an p {
    	font-size: calc(4em + 10vw);
	}
	.elementor-widget-n-tabs .e-n-tabs-content > .e-con:not(.e-active) {
		/*display: flex !important; Test*/
		height: 0;
		overflow: hidden;
		pointer-events: none;
		transform: scaleY(0);
	}
	.elementor-widget-n-tabs .e-n-tabs-content > .e-con.e-active {
		height: 100%;
		pointer-events: all;
		transition: all 0.2s ease-in;
	}
	.elementor-widget-n-tabs .e-n-tabs-content > .e-con {
		transition: all 0s ease-in;
		transform-origin: top;
		transform:scaleY(1);
	}
	footer ul {
		flex-wrap: wrap;
	}
	footer .menu ul {
		flex-wrap: nowrap;
	}
	#site-header {
		min-height: 4em;
	}
	#main {
		padding-top: 4em;
	}	
}
.impressum h2{
	font-weight:600;
	font-family: "AMS Display", Arial, sans-serif;
}
.impressum h3{
	font-weight:600;
	font-family: "AMS Display", Arial, sans-serif;
}
.impressum{
	font-variant-numeric: lining-nums;
}
@media(min-width: 1200px){
	.e-n-tabs-content > div {
		padding-top: calc(1em + 1vw);
		padding-bottom:  calc(1em + 1vw);
	}
	.swiper-slide {
	transition: all 500ms ease 0ms !important;
}
.swiper-slide-active,
.swiper-slide-duplicate-active {
transform: translateZ(0) scale(0.65) !important;
transform-origin: right center;
}
.swiper-slide-next + .swiper-slide,
.swiper-slide-duplicate-prev + .swiper-slide{
	transform: translateZ(0) scale(0.65) !important;
	transform-origin: left center;
}

}
.swiper-pointer-events {
	touch-action: pan-x !important;
}