/*
Theme Name: Pixel & Coffee
Author: PixelandCoffee.de
Description: Theme für Pixel & Coffee
Version: 1.0
*/

@font-face{
  font-family:"Lato";
  src:url("fonts/Lato-Regular.woff2") format("woff2"),
      url("fonts/Lato-Regular.woff") format("woff");
  font-weight:400;
  font-style:normal;
}
@font-face{
  font-family:"Lato";
  src:url("fonts/Lato-Italic.woff2") format("woff2"),
      url("fonts/Lato-Italic.woff") format("woff");
  font-weight:400;
  font-style:italic;
}
@font-face{
  font-family:"Lato";
  src:url("fonts/Lato-Bold.woff2") format("woff2"),
      url("fonts/Lato-Bold.woff") format("woff");
  font-weight:700;
  font-style:normal;
}
@font-face{
  font-family:"Lato";
  src:url("fonts/Lato-BoldItalic.woff2") format("woff2"),
      url("fonts/Lato-BoldItalic.woff") format("woff");
  font-weight:700;
  font-style:italic;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
	color: #000;
	font-family:"Lato",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
	margin: 0; 
	overflow-wrap: break-word;
	overflow-y:scroll;
}

h1 {  
	font-size: 2rem;
font-weight: bold;
	line-height: 1.25em;
	margin: 0;
}

#type-page h1 {
	margin: 0 0 10px 0;
}

#type-category,
#type-index,
#type-tag h1 {
	margin: 0 0 15px 0;
}

h2,
h3,
h4 {
	line-height: 1.25em;
	margin: 25px 0 15px 0;
}

h2 {
	font-size: 1.7rem;
}

h3 {
	font-size: 1.3rem;
}

h4 {
	font-size: 1.2rem;
}

a {
	color: #0ba2dd;
	text-decoration: none;
}

a:hover {
	color: #0ba2dd;
	text-decoration: underline;
}

p {
	font-size: 1.1rem;
	line-height: 1.7em;
	margin: 12px 0;
}

main ul { 
	list-style-type: disc;
}

main li {
	font-size: 1.1rem;
	line-height: 1.7em;
	padding: 5px 0;
}

.divider {
	border: 0;
	border-top: 1px solid #DBDBDB;
 	height: 0;       
	margin: 40px 0 -13px 0;
}

/*--------------------------------------------------------------
# Images
--------------------------------------------------------------*/
img {
	height: auto;
	max-width: 100%;
}

.wp-caption {
	height: auto;
	max-width: 100%;
	overflow: hidden;
}

.wp-caption-text {
	background-color: #1b1b1b;
	bottom: 22px;
	color: #fff;
	display: inline-block;
	font-size: 0.7rem;
	float: right;
	margin: 0 0 -20px 0;
	padding: 3px 5px;
	position: relative;
}

.wp-element-caption {
	background-color: #1b1b1b;
	bottom: 26px;
	color: #fff;
	display: inline-block;
	font-size: 0.7rem;
	float: right;
	padding: 3px 5px;
	position: relative;	
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header {

}

/*--------------------------------------------------------------
### Header-Top
--------------------------------------------------------------*/
#header-top {
	box-sizing: border-box;
	margin: auto;
	max-width: 700px;
	overflow: hidden;
	padding: 15px 0;
}

.header-logo {
	display: block;
	margin: 0 auto;
	width: 300px;
}

.header-logo:hover {
	opacity: 90%;
}

/*--------------------------------------------------------------
### Header-Menu
--------------------------------------------------------------*/
#header-navbar {
	background-color: #f4f4f4;
	border-bottom: 1px solid #B5B5B5;
	border-top: 1px solid #B5B5B5;
}

#header-navbar-content {
	margin: auto;
	max-width: 700px;
}

.header-menu ul {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: auto;
	padding: 0;
}

.header-menu li {
		border-left: 1px solid #B5B5B5;
	display: inline-block;
}

.header-menu li:last-child {
	border-right: 1px solid #B5B5B5;
	}

.header-menu a {

	color: #000;
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 10px 14px;
	text-decoration: none;
	text-transform: uppercase;
}

.header-menu a:hover,
.header-menu .current-menu-item a
{
	background-color: #dcdcdc;
	color: #000;
	text-decoration: none;
	
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
main {
	margin: 0 auto;
	max-width: 700px;
	padding: 20px 0;
}

#type-category,
#type-index,
#type-tag,
#type-page, 
#type-content {

}

.meta {
	color: #000;
	font-size: 0.9rem;
	line-height: 1.3em;
	margin: 10px 0 14px 0;
}

.meta a {
	color: #000;
}

.meta a:hover {
	color: #000;
}

.meta-tag a {
	display: inline-block;
	background-color: #f7f7f7;
	border: 1px solid #e2e2e2;
	color: #000;
	margin: 0 15px 10px 0;
	padding: 6px 15px;
}

.meta-tag a:hover {
	background-color: #ab82ff;
	border: 1px solid #8d56ff;
	color: #fff;
	text-decoration: none;
}

/*--------------------------------------------------------------
### Excerpts
--------------------------------------------------------------*/
.excerpt {
	box-sizing: border-box;

	margin-bottom: 40px;
	overflow: hidden; 
}

.excerpt-image {
	box-sizing: border-box;
	float: left;
	width: 45%;
}

.excerpt-image img {
	display: block; /* Sorgt dafür, dass unter den Thumbnails kein Freiraum entsteht */
}

.excerpt-text {
	box-sizing: border-box;
	float: right;
	padding: 8px 13px;
}

.excerpt-title { 
	color: #000;
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3em;
	text-decoration: none;
}

.excerpt-title:hover {
	text-decoration: none; 
}

.excerpt-meta {
	color: #000;
	font-size: 0.9rem;
	padding: 5px 0 0 0;
}

.excerpt-meta a {
	color: #000;
}

.excerpt-meta a:hover {
	color: #000;
}

.excerpt img:hover {
	opacity: 90%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
	background-color: #111111;
}
#footer-content { margin: auto; max-width: 700px; padding: 30px 0; overflow: hidden; } .footer-widget { float: left; padding: 0 10% 0 0; }

.footer-widget-title {
	color: #dedede;
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 7px 0;
}

.footer-widget ul {
	list-style: none;
	padding: 0;
	color: #5ad1fd;
}

.footer-widget li a {
	color: #fff;
	display: inline-block;
	font-size: 0.9rem;
	padding: 6px 0;
	text-decoration: none;
}

.footer-widget li a:hover {
	color: #dedede;
	text-decoration: none;
}

/*--------------------------------------------------------------
# Kommentare
--------------------------------------------------------------*/
.comments-area { margin-top: 3rem; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment { padding: 1rem 0; border-top: 1px solid rgba(0,0,0,.1); }
.comment-meta { font-size: .9rem; opacity: .8; }
.comment-content { margin-top: .5rem; }
.comment-respond { margin-top: 2rem; }
.comment-form textarea { width: 100%; min-height: 140px; }
.comment-form input[type="text"],
.comment-form input[type="email"] { width: 100%; min-height: 30px; }

.comment-form textarea, input {
	background-color: #FAFAFA;
	border: 1px solid #DBDBDB;
	padding: 10px;
}

.comment-form .submit {
	height: 40px;
	width: 175px;
}

.comments-area .comment-form label {
	font-size: 1rem;
}

.comment-dsgvo-hinweis {
	font-size: 0.9rem;
	margin: 20px 0;
}

.comment-dsgvo-hinweis a {
	color: #000;
	text-decoration: underline;
}

.comment-dsgvo-hinweis a:hover {
	color: #303030;
}

/* Mobile safe: nichts darf breiter als der Screen werden */
#respond, 
#respond * {
  box-sizing: border-box;
}

#respond form {
  max-width: 100%;
}

/* Inputs & Textarea nie überlaufen lassen */
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* Falls dein Theme dem Input feste Breiten gibt */
#respond input,
#respond textarea {
  min-width: 0;
}

/* Optional: lange Wörter/URLs in Hinweisen umbrechen */
#respond p, 
#respond label {
  overflow-wrap: anywhere;
}



/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
	font-size: 1rem;
	padding: 2px 0 15px 0;
}

.pagination a {
	color: #303030;
	text-decoration: none;
}

.pagination a:hover {
	background-color: #52c3f1;
	border: 1px solid #52c3f1;
	color: #fff; 
}

.page-numbers {
	background-color: #fbfbfb;
	border: 1px solid #e1e1e1;
	display: inline-block;
	margin: 0 5px 10px 0;
	padding: 8px 15px;
}

.current {
	background-color: #52c3f1;
	border: 1px solid #52c3f1;
	color: #fff; 
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.rank-math-breadcrumb {
	margin: 1px 0 7px 0;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb p {
	color: #303030;
	font-size: 0.9rem;
	line-height: 1.3em;
	margin: 0;
	text-decoration: none;
}

.rank-math-breadcrumb a:hover {
	color: #303030;
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Bildquelle
--------------------------------------------------------------*/
.bildquelle {
	background-color: #F5F5F5;
	border: 1px solid #DBDBDB;
	padding: 15px 25px;
}

/*--------------------------------------------------------------
# Media-Query
--------------------------------------------------------------*/
@media screen and (max-width: 700px) {
	/*--------------------------------------------------------------
	# General
	--------------------------------------------------------------*/
	h1 {  
		font-size: 2rem;
		line-height: 1.1em;
	}

	p {
		font-size: 1.1rem;
	}
	
	main ul { 
 		padding: 0 25px; 
	}

	main li {
		font-size: 1.1rem;
	}
	
	/*--------------------------------------------------------------
	# Header
	--------------------------------------------------------------*/
	/*--------------------------------------------------------------
	### Header-Top
	--------------------------------------------------------------*/
	#header-top {
		padding: 15px 15px 12px 15px;
	}

	.header-logo {

	}
	
	/*--------------------------------------------------------------
	### Header-Menu
	--------------------------------------------------------------*/
	#header-navbar {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
	
	#header-navbar-content {
		max-width: none;   /* wichtig: nicht auf 730px begrenzen */
	}

	.header-menu ul {
		flex-wrap: nowrap;      /* niemals umbrechen */
		width: max-content;     /* UL wird so breit wie Inhalt */
		padding: 0 12px;
	}

	.header-menu li {
		flex: 0 0 auto;         /* jedes Item behält Breite */
	}

	.header-menu a {
		white-space: nowrap;   /* Text bleibt in einer Zeile */
		font-size: 0.9rem;     /* minimal größer für Touch */
		padding: 10px 14px;
	}

	/* optional: Scrollbar ausblenden */
	#header-navbar::-webkit-scrollbar {
		display: none;
	}

	/*--------------------------------------------------------------
	# Main
	--------------------------------------------------------------*/
	#type-content,
	#type-page {
		padding: 15px 20px;
	}

	#type-category,
	#type-index,
	#type-tag {
		padding: 15px 20px 0 20px;
	}
	
	/*--------------------------------------------------------------
	### Excerpts
	--------------------------------------------------------------*/
	.excerpt {
		padding: 0 0 15px 0;
	}
	
	.excerpt-image {
		float: none;
		width: 100%;
	}

	.excerpt-text {
		float: none;
		padding: 5px 13px;
		width: 100%;
	}
	
	/*--------------------------------------------------------------
	# Footer
	--------------------------------------------------------------*/
	#footer-content {
		margin: 0 20px;
		padding: 10px 0;
	}

	.footer-widget {
		float: none;
		margin: 25px 0;
		width: 100%;
	}

	.footer-widget:last-child {
		margin: 25px 0;
	}
	
	/*--------------------------------------------------------------
	# Custom
	--------------------------------------------------------------*/
	/*--------------------------------------------------------------
	### Breadcrumbs
	--------------------------------------------------------------*/
	.rank-math-breadcrumb {
		margin: 0 0 10px 0;
	}
}