/*
	Theme Name: Cruddy Theme Child
	Description: Mein erstes Theme
	Author: Pascal Biemann
	Version: 1.0.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Template: cruddy-theme
*/

body
{
	font-size: 12pt;
	font-family: Roboto, helvetica;
}

#header h1
{
	white-space: nowrap;
	hyphens: none;
	font-size: max(min(28pt, 3vw), 14pt);
}

#header h1 a
{
	text-decoration: none;
	color: #373f43;
}

#header h1 a span
{
	color: #621316;
}

#header h1 a:hover
{
	color: #595f65;
}

#header h1 img
{
	max-width: 100%;
	max-height: 120px !important;
}

#header .current-menu-item a
{
	text-decoration: underline;
	color: #621316;
	font-weight: bold;
}

#header .cruddy-header-image .overlay h2
{
	font-size: 3em;
	text-shadow: 0px 0px 10px black;
	color: white;
	animation: 0.4s pageTitleAnim 0.5s forwards;
	opacity: 0;
}

#header .so-widget-cruddy-post-thumbnail-sow h2
{
	-webkit-hyphens: none;
	hyphens: none;
}

#header .header-row > .panel-grid-cell
{
	position: relative;
}

#header .header-row > .panel-grid-cell:nth-child(1)
{
	z-index: 1;
}

#header .header-row > .panel-grid-cell:nth-child(2)
{
	z-index: 2;
}

main h2,
main h3,
main h4
{
	color: #621316;
}

main h2
{
	font-size: 26pt;
}

main h3
{
	font-size: 20pt;
}

main ul
{
	padding-left: 20px;
}

main a
{
	color: #621316;
	text-decoration: none;
}

main a:hover
{
	text-decoration: underline;
}

#footer h3
{
	font-size: 16pt;
}

#footer .legal,
#footer .legal a
{
	color: white;
}

#footer .so-widget-cruddy-widgets-sow,
#footer .so-widget-cruddy-widgets-sow a
{
	color: #ffffff;
}

.so-widget-cruddy-post-thumbnail-sow > .bg-image
{
	display: flex;
	justify-content: center;
	align-items: center;
}

.so-widget-cruddy-post-thumbnail-sow > .bg-image h2
{
	color: white;
	text-shadow: 1px 1px 1px black;
	font-size: 28pt;
}

@keyframes pageTitleAnim
{
	from
	{
		opacity: 0;
		transform: translateY(-50%);
	}
	
	to
	{
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 780px)
{
	#header nav	li.current-menu-item a
	{
		text-decoration: none;
		color: white;
	}
	
	#footer .legal
	{
		text-align: center;
	}
	
	#footer .legal > .panel-grid-cell:nth-child(n + 2)
	{
		margin-top: 15px;
	}
	
	#footer .legal nav
	{
		justify-content: center;
	}
}