/*
Theme Name: Hundgerecht Theme
Author: Sarah Gina Lisa Kaschper
Description: 
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

body {
    font: 14px "Open Sans", sans-serif;
	line-height: 24px;
    background-color: #acd31c;
    margin: 4rem auto;
}

.no-margin {
    margin: 0;
}

strong {
	color: #acd31c;
}

a {
	color: #acd31c;
}

strong a {
	color: #acd31c;
}

.spacer {
	overflow: hidden;
}

h1.start-headline {
	width: 75%;
	font-weight: 500;
	line-height: 32px;
	
	 @media only screen and (max-width: 768px) {
        width: 100%;
    }
}

h2.wp-block-heading {
    font-size: 2rem;
    font-weight: 500;
    color: #acd31c;
}

h3.wp-block-heading {
    font-size: 1.5rem;
    font-weight: 500;
    color: #acd31c;
}

h4.wp-block-heading {
    font-size: 1rem;
    font-weight: 500;
    color: #acd31c;
}

.headline-container {
	display: flex;
	position: relative;
	
	 @media only screen and (max-width: 768px) {
        flex-direction: column;
		 align-items: center;
    }
}

p:has(> .size-thumbnail) {
	position: absolute;
	top: 0;
	right: 0;
	
	 @media only screen and (max-width: 768px) {
        position: relative;
		 width: 55%;
    }
}

img.size-thumbnail {
	width: 20%;
}

.copy-text-m {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
}

.copy-text-s {
    font-size: .75rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.text-green {
    color: #acd31c;
}

.text-gray {
    color: #2C2317;
}

.text-white {
    color: #fff;
}

.header-wrapper {
    width: 100%;
    position: fixed;
	z-index: 2;
    top: 0;
    left: 0;
}

header {
    margin: 1rem auto 0 auto;
    max-width: 1400px;
    border-radius: 1rem;
    background-color: #fff;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    @media only screen and (max-width: 1400px) {
        margin: 1rem;
    }
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem 1rem 3rem;

    @media only screen and (max-width: 1200px) {
        padding: 1rem 1rem 1rem 1rem;
    }
	
	 @media only screen and (max-width: 768px) {
        flex-direction: column-reverse;
		justify-content: center
    }
}

.logo {
    padding-left: 1rem;
}

.header-info {
    display: flex;
	flex-direction: column;
	align-items: end;
	gap: 1rem;
	
	@media only screen and (max-width: 768px) {
		align-items: center;
		padding-bottom: 1rem;
    }
}

.header-info .header-social {
	display: flex;
}

.header-info .social-media .menu {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.header-info .social-media .facebook-logo {
	width: 40px;
	height: 0;
}

.header-info .social-media .instagram-logo {
	width: 40px;
	height: 0;
}

.header-info .social-media .facebook-logo img {
	width: 100%;
}

.header-info .social-media .instagram-logo img {
	width: 100%;
}

.header-info .social-media .menu .menu-item {
	height: 40px;
	width: 40px;
	margin: 0;
	padding: 0;
	position: relative;
}

.header-info .social-media .menu .menu-item:hover {
	background: transparent;
}

.header-info .social-media .menu .menu-item a {
	color: transparent;
	position: absolute;
	width: 100%;
	height: 100%;
}

.header-social .social-icon {
	  position: absolute;
}

.header-social {
	  gap: 1rem;
	display: flex;
}

.header-phone {
	color: #2C2317;
	display: flex;
}

.header-phone .fa-phone {
	display: flex;
    align-items: center;
}

.header-phone ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-phone .menu-item {
	padding: 0 0 0 .25rem;
}

.header-phone .menu-item:hover {
	background: white;
}

.header-phone .menu-item a {
	color: #2C2317;
	font-weight: normal;
	text-decoration: none;
}

.menu-hauptmenue-container .menu {
    display: flex;
    padding: 0 3rem;
    margin-top: 0;
    margin-bottom: 0;
	background-color: #2C2317;
	border-radius: 0 0 1rem 1rem;

    @media only screen and (max-width: 1200px) {
        padding: 0 1rem 1rem 1rem;
        flex-wrap: wrap;
    }
	
	@media only screen and (max-width: 768px) {
        display: none;
		height: 50vh;
		overflow: scroll;
		margin-top: 2.5rem;
		padding: 0;
    }
}

#menu-hauptmenue .menu-item {
    font-size: 0.825rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    padding: 1rem;
    list-style: none;
    position: relative;
	
	@media only screen and (max-width: 768px) {
        text-align: center;
		padding: 1rem 0;
		border-top: .5px solid #ddd;
    }
}

#menu-hauptmenue .nav-node.active {
    background-color: #b3c211;
}

#menu-hauptmenue .menu-item:hover {
    background-color: #acd31c;
	
	@media only screen and (max-width: 768px) {
        background-color: #2C2317;
    }
}

#menu-hauptmenue .menu-item a {
    text-decoration: none;
    color: #fff;
	display: block;
	width: 100%;
}

#menu-hauptmenue .menu-item:has(> ul) {
    @media only screen and (max-width: 768px) {
        padding-bottom: 0;
    }
}

#menu-hauptmenue .sub-menu  {
	display: none;
	font-weight: 400;
    padding: 0;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: #2C2317;	
	
	@media only screen and (max-width: 768px) {
		display: block;
        position: relative;
		top: 0;
		margin-top: 1rem;
    }
}

#menu-hauptmenue .sub-menu li {
	padding: .5rem 1rem;
	border-bottom: .5px solid #ddd;
	min-width: 150px;
	position: relative;
	
	@media only screen and (max-width: 768px) {
        padding: 1rem 0;
		border-bottom: 0;
    }
}

#menu-hauptmenue .sub-menu li:last-child {
	border-bottom: none;
}

#menu-hauptmenue .sub-menu .menu-item a {
    color: #ddd;
	width:100%;
	display: block;
	 @media only screen and (max-width: 768px) {
        color: #fff;
    }
}

#menu-hauptmenue .sub-menu .menu-item:has(> ul) {
    @media only screen and (max-width: 768px) {
        padding-bottom: 0;
    }
}

#menu-hauptmenue .sub-menu menu-item:hover {
    background-color: #acd31c;
}

#menu-hauptmenue .sub-menu .sub-menu  {
    top: 0;
	left: 182px;
	
	@media only screen and (max-width: 768px) {
        left: 0;
    }
}

.mobile-menu-button {
	display: none;
	position: absolute;
    width: 40px;
    background: #2C2317;
    color: white;
	align-items: center;
	justify-content: center;
    padding: 1rem;
    height: 40px;
    border-radius: 50%;
    top: 200px;
    left: calc(50% - 36px);
    z-index: 2;
	box-shadow: 0 4px 8px 0 rgba(1, 1, 1, 0.2), 0 6px 20px 0 rgba(1, 1, 1, 0.19);
	cursor: pointer;
	
	@media only screen and (max-width: 768px) {
        display: flex;
    }
}

.mobile-menu-button .fa-bars, .mobile-menu-button .fa-xmark {
	font-size: 2.5rem
}

.mobile-menu-button.active .fa-bars {
	display: none;
}

.mobile-menu-button.active .fa-xmark {
	display: block;
}

.mobile-menu-button .fa-xmark {
	display: none;
}

.container {
    max-width: 1150px;
    margin: 2rem auto 0 auto;
    padding: 12rem 3rem 3rem 3rem;
    background-color: #fff;

    @media only screen and (max-width: 1200px) {
        max-width: 900px
    }
	
	  @media only screen and (max-width: 992px) {
        max-width: 100%;
    }
}

.title {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.underline {
    width: 6rem;
    height: .5rem;
    background-color: #acd31c;
    border-radius: 1rem;
}

.content {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
	position: relative;
}

.wp-block-image {
    margin: 0;
}

.wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.content img {
	width: 100%;
    height: auto;
    border-radius: 1rem;
}

.credentials {
    display: flex;
	@media only screen and (max-width: 768px) {
        flex-direction: column;
    }
}

.narrow-container {
    width: 75%;
	@media only screen and (max-width: 768px) {
        width: 100%;
    }
}

.sidebar-container {
    width: 25%;
	margin-left: 2rem;
	@media only screen and (max-width: 768px) {
        width: 100%;
		margin: 0;
    }
}

.sidebar-container h2 {
    margin-top: 0;
}

.sidebar-container .site-sidebar {
    background-color: #2C2317;
    padding: 1rem;
    border-radius: 1rem;
}

.sidebar-container .site-sidebar h1 {
    color: #ddd;
    margin: 0;
}

.sidebar-container .site-sidebar h4 {
    margin: 1rem 0;
    font-weight: 500;
}

.sidebar-container .site-sidebar .widget_text {
    color: #ddd;
    display: flex;
    align-items: center;
}

.sidebar-container .site-sidebar .widget_text::before {
    content: "";
    display: block;
    margin-right: 7px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ddd;
}

.back-to-top {
	display: none;
	align-items: center;
	justify-content: center;
	position: fixed;
    bottom: 50px;
    right: 0;
    margin: 3rem;
    background-color: #acd31c;
    padding: 1rem;
    border-radius: 50%;
	color: white;
	height: 30px;
	width: 30px;
	box-shadow: 0 4px 8px 0 rgba(1, 1, 1, 0.2), 0 6px 20px 0 rgba(1, 1, 1, 0.19);
	border: 2px solid #fff;
}

.back-to-top .fa-chevron-up {
	font-size: 1.5rem;
}

.back-to-top.active {
	display: flex;
	cursor: pointer;
}