@media only screen and (min-width: 576px) {
   
    .wp-block-navigation-item.pp-current-menu-item {
        color: rgb(256, 256, 256) !important;
        background: linear-gradient(135deg,rgb(232,172,69) 0%,rgb(195,122,0) 100%);
    }

    .wp-block-navigation-item {
        border-color: rgba(0, 0, 0, 0);
        border-radius: 4px;
    }
    
    .wp-block-navigation-item.pp-current-menu-item {
        color: rgb(256, 256, 256);
        background-color: rgb(232, 172, 69);
    }
    
    .wp-block-navigation-item:where(:not(.pp-current-menu-item)):hover {
        background-color: rgba(232, 172, 69, 0.1);
    }
    
    .wp-block-navigation-item a:focus {
        border-color: rgba(0, 0, 0, 0);
        outline-style: none;
        border-radius: 4px;
    }
    
    .wp-block-navigation a:where(:not(.wp-element-button)):hover {
        text-decoration: none;
    }

    header {
        position: fixed;
        width: 100%;
        background-color: rgba(27, 43, 70, 0.7);
        z-index: 99;
    }

    header nav ul.has-background {
        padding: 0px !important;
    }
  
}

@media only screen and (max-width: 992px) {
    .wp-block-navigation-item {
        font-size: 12px !important;
    }
	.pp-self-ad-img {
		margin: auto !important;
		margin-bottom: 10px !important;
	}
	#pp-self-ad-container {
		flex-direction: column !important;
	}
	
	#pp-self-ad-container * {
		margin-bottom: 5px !important;
	}
}

@media only screen and (max-width: 575px) {

    header {
        position: fixed;
        width: 100%;
        background-color: rgba(27, 43, 70, 0.7);
        z-index: 99;
    }

    .wp-block-navigation-item {
        color: black !important;
    }

}

html {
    scroll-behavior: smooth;
}

form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-name"],
form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-email"],
form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-phone"],
form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-subject"] {
    width: 98%;
    padding: 1%;
    border-radius: .33rem;
    border: 1px solid rgb(27, 43, 70);
}

form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-name"]:focus,
form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-email"]:focus,
form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-phone"]:focus,
form[aria-label="Kontaktformular"] .wpcf7-form-control[name="customer-subject"]:focus,
form[aria-label="Kontaktformular"] .wpcf7-form-control.wpcf7-textarea[name="customer-message"]:focus {
    outline-width: 1px;
}

form[aria-label="Kontaktformular"] .wpcf7-form-control.wpcf7-textarea[name="customer-message"] {
    width: 98%;
    border-radius: .33rem;
    border: 1px solid rgb(27, 43, 70);
    resize: none;
    padding: 1%;
}

form[aria-label="Kontaktformular"] .wpcf7-form-control.wpcf7-submit[value="Senden"] {
    width: 100%;
    border: unset;
    color: var(--wp--preset--color--base-2);
    padding-top: 0.6rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--cabin);
    font-size: 14.4px;
    font-style: normal;
    font-weight: 500;
    background: linear-gradient(135deg,rgb(232,172,69) 0%,rgb(195,122,0) 100%);
    background-color: rgba(0, 0, 0, 0);background: linear-gradient(135deg,rgb(232,172,69) 0%,rgb(195,122,0) 100%);
    border-radius: .33rem;
}

.wpcf7-response-output {
    margin-top: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    border-radius: 4px;
}

.pp-self-ad-img img {
 	height: 120px !important;
	width: 80px !important;
}

.pp-self-ad-img {
	margin: auto !important;
}

#pp-deutsche-initiative-img {
	width: 160px !important;
}

#pp-deutsche-initiative-img img {
	width: auto !important;
	object-fit: fill !important;
}

#pp-self-ad-container {
	display: flex !important;
	flex-direction: row;
}

#pp-self-ad-container div.wp-block-buttons {
	margin: auto;
}