/*
Theme Name: MW Child-Theme von Twenty Twenty
Theme URI: www.sannigraphy.de
Description: erweitert / überschreibt die Styles des Eltern-Theme "Twenty Twenty"
Author: Michael Walter
Template: twentytwenty
Text Domain: mw-twentytwenty-child
*/

@import url('../twentytwenty/style.css');

/* BEGINN EIGENE STYLES */
.site-logo {
	margin-bottom: 8rem;
	padding: 3rem 2rem;
}

@media (min-width: 1000px) {
	.header-inner {
		justify-content: center;
	}

	.site-logo {
		margin-bottom: 0;
	}
}

.site-logo img {
	height: auto !important;
}

h1,
.heading-size-1 {
	font-size: 2.6rem;
}

@media (min-width: 700px) {
	h1,
	.heading-size-1 {
		font-size: 5.4rem;
	}
}

@media (min-width: 1220px) {
	h1,
	.heading-size-1 {
		font-size: 8.4rem;
	}
}

*:focus {
	outline: none !important;
}

.page-id-12 .entry-header {
	display: none;
}

button:focus,
.button:focus,
.faux-button:focus,
.wp-block-button,
.wp-block-button__link:focus,
.wp-block-file .wp-block-file__button:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
	text-decoration: none;
}


body:not(.overlay-header) .primary-menu ul {
	width: 30rem;
	background-color: #996f13 !important;
}

body:not(.overlay-header) .primary-menu > li > ul:after {
	border-bottom-color: #996f13 !important;
}

.primary-menu > li > .icon {
	right: -1rem;
	top: calc(50% - 0.8rem);
	color: #565656 !important;
}

.modal-menu a,
body:not(.overlay-header) .primary-menu > li > a,
.footer-menu a {
	color: #565656 !important;
	font-weight: 500;
}

body:not(.overlay-header) .primary-menu > li > a {
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 0.5rem;
	transition: none;
	border-bottom: 2px solid transparent;
}

.modal-menu > li > .ancestor-wrapper > a {
	font-weight: 500;
}

.modal-menu a:focus,
.modal-menu a:hover,
.modal-menu li.current-menu-item > .ancestor-wrapper > a,
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
	text-decoration: none;
	color: #FFFFFF !important;
	background-color: #565656;
}

.primary-menu-wrapper {
	margin-top: 1rem;
}

.primary-menu a:focus,
.primary-menu .current_page_ancestor {
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu li.current-menu-item > a,
.primary-menu li.current-menu-item > .link-icon-wrapper > a {
	border-bottom-color: #565656 !important;
	text-decoration: none;
}

/* MAIN CONTENT */
.site-description {
	display: none;
}

@media (min-width: 1440px) {
	.site-description {
		display: block;
		margin-left: 0 !important;
	}
}

.home .featured-media {
	padding-top: 25px;
}

.home .featured-media-inner {
	left: 0;
	right: 0;
	max-width: 85vw;
	height: auto;
	box-shadow: 0 0 20px 0 #000;
	border: 7px solid #CBA675;
	border-radius: 50%;
	background-color: #FFF;
	padding: 10px;
	overflow: hidden;
}

@media (min-width: 505px) {
	.home .featured-media-inner {
		max-width: 430px;
	}
}

.home .featured-media-inner img {
	border-radius: 50%;
}

.featured-media-inner {
	padding: 0 2rem;
}

.entry-content > *:first-child {
	margin-top: 0 !important;
}

.entry-content,
.widget_text p {
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

.wp-block-button .wp-block-button__link:hover {
	background-color: rgba(153, 111, 19, 0.7);
	text-decoration: none;
}

.wp-block-image,
.wp-block-gallery .blocks-gallery-item figure {
	overflow: hidden;
}

.wp-block-image a img,
.wp-block-gallery .blocks-gallery-item img {
	transition: 0.3s;
}

.wp-block-image a img:hover,
.wp-block-gallery .blocks-gallery-item img:hover {
	transition: 0.4s;
	transform: scale(1.05);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	top: 0;
	bottom: inherit;
	max-height: inherit;
	margin-top: 0;
	padding: 7px 10px 10px 10px;
	background: linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.5) 80%,transparent);
	text-align: left;
	font-style: italic;
	font-weight: 200;
}

/* FOOTER */
.has-footer-menu .footer-social-wrapper {
	width: 100%;
}

.has-footer-menu .footer-social {
	justify-content: center;
}

ul.footer-social li {
	margin-right: 2rem;
	margin-left: 2rem;
}

#site-footer {
	padding-top: 1.5rem;
}

@media (min-width: 700px) {
	#site-footer {
		padding-top: 2.15rem;
	}
}

.footer-menu-container {
	border-bottom: 1px solid #c1c1c1;
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 700px) {
	.footer-menu-container {
		padding-bottom: 2.15rem;
		margin-bottom: 2.15rem;
	}
}

.footer-menu a {
	color: #000000 !important;
	font-size: 18px;
}
