/* 
Theme Name: Generationen Kochbuch Custom Theme
Theme URI: https://studiomint.at/
Description: Generationen Kochbuch Theme by Mint Digitalstudio
Author: Mint Digitalstudio
Author URI: https://studiomint.at/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
*/

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

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
	margin-block-end: 0;
	margin-block-start: 0;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
	list-style: none;
}

a, a:focus, span, span:focus, button:focus {
	-webkit-tap-highlight-color: transparent !important;
}

/* fonts first */

@font-face {
	font-family: 'Poppins';
	src: url('/wp-content/uploads/poppins-v24-latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Poppins500';
	src: url('/wp-content/uploads/poppins-v24-latin-600.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Poppins700';
	src: url('/wp-content/uploads/poppins-v24-latin-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: 'Nohemi';
	src: url('/wp-content/uploads/Nohemi-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
}

/* variables */

:root {
	--lachs: #FAEEE7;
	--black: #343536;
	--white: #FFFFFF;
	--grey: #4e4e4e;
	--green: #1FC8A9;
	
	--body:'Poppins';
	--headline: 'Nohemi';

	--bold: 700;
	--semibold: 600;
	--medium: 500;
	--regular: 400;
}

html, body  { 
	font-family: var(--body);
	font-weight: var(--regular);
	color: var(--grey);
	font-size:16px;
	line-height:1;
	max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden!important;
}

/* typography */

h1 {
	font-size: 2rem;
	font-family: var(--body);
	font-weight: var(--bold);
	line-height: 1.1;
	color: var(--black);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
h2 {
	font-size: 1rem;
	font-family: var(--body);
	font-weight: var(--bold);
	line-height: 1.15;
	color: var(--black);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
h3 {
	font-size: 1.25rem;
	font-family: var(--body);
	font-weight: var(--bold);
	line-height: 1.15;
	color: var(--black);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.elementor-widget-theme-post-content h2 {
	font-size: 1rem;
	color: var(--black);
	font-family: var(--body);
}

p, .credit {
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}
.small p {
	font-size: 0.875rem;
	line-height: 1.5;
}

p strong {
	font-weight: var(--bold);
	color: var(--black);
}
.page-content p a, footer p a, .page-content h3 a {
	color: var(--black);
	text-decoration: underline;
}

ol li {
	line-height: 1.8;
	margin-bottom: 0.5rem;
}
.single h2 {
	font-size: 1.5rem;
	font-family: var(--body);
	font-weight: var(--bold);
	line-height: 1.15;
	color: var(--black);
	text-transform: none;
	letter-spacing: 0px;
	margin-bottom: 1rem;
}

/* Menü Desktop */

.elementor-widget-n-menu .e-n-menu-title-container .e-n-menu-title-text, .elementor-nav-menu--main .elementor-nav-menu a, .elementor-nav-menu--main .elementor-nav-menu a.highlighted, .elementor-nav-menu--main .elementor-nav-menu a:focus, .elementor-nav-menu--main .elementor-nav-menu a:hover {
	font-family: var(--body);
	font-size: 1rem;
	color: var(--black);
	font-weight: var(--bold);
	text-transform: uppercase;
	letter-spacing: 0.08em !important;
}

/* Menu Mobile */
.fullheight .elementor-nav-menu__container {
	min-height: 100dvh;
	background-position: 0% 95%;
	background-size: 100%;
	background-repeat: no-repeat;
}
.elementor-menu-toggle {
    align-items: flex-end;
    background-color: rgba(0, 0, 0, .0);
    justify-content: flex-end;
	padding:0;
}
.elementor-menu-toggle .e-font-icon-svg {
    fill: var(--lava);
}

/* Buttons */
.elementor-button, button.e-search-submit {
    line-height: 1!important;
	color: var(--white) !important;
    fill: var(--white);
	font-family: var(--headline)!important;
    font-size: 1rem;
	font-weight: var(--medium)!important;
    padding: 0.8rem 1.2rem !important;
	margin:0;
    border-radius: 2rem !important;
	letter-spacing: 0;
    text-align: center;
	background-color: var(--black)!important;
	border: 2px solid var(--black)!important;
    transition: all .4s!important;
}
button.e-search-submit:hover {
    color: var(--white)!important;
    fill: var(--white);
	background-color: transparent !important;
	border: 2px solid var(--white) !important;
}
.elementor-button:hover {
    color: var(--black)!important;
    fill: var(--black);
	background-color: transparent !important;
	border: 2px solid var(--black) !important;
}

/* Archive */

.elementor-posts .elementor-post__card .elementor-post__title {
    font-size: 1rem;
}
.elementor-posts .elementor-post__card .elementor-post__title a {
	color: var(--black);
}

/* Single */
a.elementor-post-info__terms-list-item {
	color: var(--black);
}

/* Footer always bottom */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.elementor-location-footer { margin-top: auto; }
