﻿/*
Theme Name: My Custom Theme
Author: KleinerCoder
*/

/* CSS Reset -------------------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* SVG Icons -------------------------------------------------------------------------- */

.svg-icon {
	width: 30px;
	height: 30px;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
	fill: #aaa;
}

.svg-icon circle {
	stroke: #aaa;
	stroke-width: 1;
}

/* Fonts ------------------------------------------------------------------------------ */

/* noto-sans-jp-300 - latin */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/noto-sans-jp-v25-latin-300.eot');
  src: local('Noto Sans Japanese Light'), local('NotoSansJapanese-Light'),
       url('./fonts/noto-sans-jp-v25-latin-300.eot?#iefix') format('embedded-opentype'),
       url('./fonts/noto-sans-jp-v25-latin-300.woff2') format('woff2'),
       url('./fonts/noto-sans-jp-v25-latin-300.woff') format('woff'),
       url('./fonts/noto-sans-jp-v25-latin-300.ttf') format('truetype'),
       url('./fonts/noto-sans-jp-v25-latin-300.svg#NotoSansJP') format('svg');
}

/* tangerine-700 - latin */
@font-face {
  font-family: 'Tangerine';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/tangerine-v11-latin-700.eot');
  src: local('Tangerine Bold'), local('Tangerine-Bold'),
       url('./fonts/tangerine-v11-latin-700.eot?#iefix') format('embedded-opentype'),
       url('./fonts/tangerine-v11-latin-700.woff2') format('woff2'),
       url('./fonts/tangerine-v11-latin-700.woff') format('woff'),
       url('./fonts/tangerine-v11-latin-700.ttf') format('truetype'),
       url('./fonts/tangerine-v11-latin-700.svg#Tangerine') format('svg');
}

/* Globale Werte ---------------------------------------------------------------------- */

:root {
	--base_font-family: "Noto Sans JP", sans-serif;

	--h1-font-family: "Tangerine", sans-serif;
	--h2-color: #612182;

	--main-background-color: #fff;
	--content-background-area-background-color: #efefef;
	--main-color: #000;

	--link-color: #666;
	--link-color-actice: #612182;
	--link-color-hover: #612182;
	--link-color-visited: #666;

	--main-menu-container-background-color: #fff;
}

/* Basis CSS, identisch für alle Auflösungen ------------------------------------------ */

body {
	background-color: var(--main-background-color);
	color: var(--main-color);
	font-family: var(--base_font-family);
}

a {
	text-decoration: underline;
	color: var(--link-color);
}

a:visited {
	text-decoration: none;
	color: var(--link-color-visited);
}

a:active {
	text-decoration: none;
	color: var(--link-color-active);
}

a:hover {
	text-decoration: none;
	color: var(--link-color-hover);
}

h1 {
	font-family: var(--h1-font-family);
}

strong {
	font-weight: bold;
}

/* Front Page Topic-Image */
.attachment-post-thumbnail {
	width: 100%;
	height: auto;
}

/* Page Topic-Image */
.attachment-page-title-picture-crop {
	width: 100%;
	height: auto;
}

/*  Menü ------------------------------------------------------------------------------ */

.main-menu-container {
	background-color: var(--main-menu-container-background-color);
}

.menu-hauptmenue-container ul ul {
	display: none;
}

.menu-hauptmenue-container ul ul ul {
	display: none;
}

.menu-hauptmenue-container li {
	position:relative;
	width:100%;
	border-top: 1px solid #eee;
}

.menu-hauptmenue-container ul ul li a {
	padding-left: 15px;
}

.menu-hauptmenue-container a {
	display: block;
	width:80%;
	padding: 0.8em 0;
	position: relative;
	text-decoration: none;
}

/* Icon rechts neben Meüpunkten mit Unterpunkten */
.toggle_submenu {
	position:absolute;
	width:30px;
	top:6px;
	right:0px;
}

/* Menüpunkt der aktuellen Page */
.current_page_item a {
	color: black;
	font-weight: bold;
}

.current_page_item a:hover {
	color: black;
}

/* Inhalt ----------------------------------------------------------------------------- */

.content-container {
}

.content-container p {
	line-height: 170%;
	margin-top: 15px;
	margin-bottom: 35px;
}

.content-container ul {
	line-height: 170%;
	margin: 10px 0px;
}

.content-container ul li {
	list-style: disc;
	margin-left:20px;
}

.content-container  ul li li {
	list-style: circle;
	margin-left:40px;
}

.content-container  ul li li li {
	list-style: circle;
	margin-left:60px;
}

/* Inhalt ----------------------------------------------------------------------------- */
/* Wordpress Element Styles */

.wp-block-media-text__content .has-large-font-size {
	font-size: 24px;
	line-height: 130%;
	margin: 0px;
	margin-top: 10px;
}

.wp-block-media-text__content p {
	font-weight: bold;
}

.wp-block-image figcaption {
	text-align:center;
}

/* #######################################################################################
*/
.body {
	font-size: 13px;
}

.main-menu-container {
	height: 100px;
	width:100%;
}

.main-menu-container .hamburger-icon {
	float:right;
	padding:4px;
	border: 1px solid #eee;
	margin-top:35px;
	margin-right:10px;
}

.main-menu-container .main-menu-links {
	display:none;
	position: absolute;
	width: 92%;
	padding:4%;
	left: 0px;
	top: 100px;
	border-top: 1px solid #eee;
	background-color: #fff;
}

.main-menu-logo {
	float:left;
	margin:10px;
}

.bloginfo_name {
	display: none;
}

.content-container {
}

.content-wrapper {
	width: 96%;
	padding:2%;
	padding-top:0;
	margin:0%;
	background-color: #fafafa;
}

.content-wrapper-text {
	padding: 2%;
}

/* #######################################################################################
   Bis zu dieser Auflösung Mobile Menü oben */
@media (max-width: 310px) {
	body {
		font-size: 14px;
	}
	.custom-logo {
		display:none;
	}

	.main-menu-links {
		font-size: 16px;
	}

	h1 {
		font-family: var(--base_font-family);
		font-size: 17px;
		font-weight: bold;
		line-height: 140%;
		margin-bottom: 10px;
	}

	h2 {
		margin-top:10px;
		font-size: 20px;
		line-height: 130%;
		color: var(--h2-color);
	}

	h3 {
		font-size: 20px;
		line-height: 130%;
	}

	h4 {
		font-size: 18px;
		line-height: 130%;
	}

	p {
		margin: 10px 0px;
		line-height: 130%;
	}
}

/* #######################################################################################
/* Bis zu dieser Auflösung Mobile Menü oben */
@media (min-width: 311px) {
	body {
		font-size: 14px;
	}

	.custom-logo {
		max-height: 80px;
		width: auto;
	}

	.main-menu-links {
		font-size: 16px;
	}

	h1 {
		font-size: 42px;
		line-height: 110%;
		margin-bottom: 10px;
	}

	h2 {
		margin-top:10px;
		font-size: 20px;
		line-height: 130%;
		color: var(--h2-color);
	}
}

/* #######################################################################################
/* Bis zu dieser Auflösung Mobile Menü oben */
@media (min-width: 500px) {
	h1 {
		font-size: 38px;
		line-height: 120%;
	}
}

/* #######################################################################################
/* Bis zu dieser Auflösung Mobile Menü oben */
@media (min-width: 700px) {
	body {
		font-size: 15px;
	}

	h1 {
		font-size: 50px;
		line-height: 130%;
	}
}

/* #######################################################################################
/* Ab dieser Auflösung Sidebar Menü links */
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	body {
		font-size: 16px;
		background-image: url("images/theme-background-01.webp");
		background-color: var(--content-background-area-background-color);
		background-position: right bottom;
		background-repeat: no-repeat;
		background-attachment: fixed;
	}

	.main-menu-container {
		position:fixed;
		z-index: 99999;
		left:0px;
		top:0px;
		width:33%;
		height:100%;
	}

	.main-menu-container-wrapper {
		float:right;
		width:92%;
		padding:4%;
		max-width: 400px;
	}

	.main-menu-container .hamburger-icon {
		display:none;
	}

	.main-menu-container .main-menu-logo {
		float: none;
	}

	.main-menu-container .main-menu-links {
		display:inline;
		position: static;
	}

	.custom-logo {
		max-width: 80%;
		max-height: initial;
		height: auto;
	}

	.bloginfo_name {
		clear:both;
	}

	.main-menu-container .main-menu-links {
		font-size:18px;
	}

	.content-background-area {
		margin:0px;
		margin-left:33%;
		padding:30px 0px;
		/*
		background-image: url("images/theme-background-01.webp");
		background-color: var(--content-background-area-background-color);
		background-position: right bottom;
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
		*/
	}

	.content-container {
		margin:0px;
		padding:0px;
		max-width: 1200px;
	}

	.content-wrapper-post-thumbnail {
		background-color: white;
		width: 86%;
		margin-left: 5%;
		margin-right: 5%;
		padding: 2%
	}

	.content-wrapper {
		background-color: white;
		width: 86%;
		margin-left: 5%;
		margin-right: 5%;
		padding: 2%;
		padding-top: 0;
	}

	.content-wrapper-text {
		width:80%;
		padding-top:30px;
		padding-left:10%;
		padding-right:10%;
	}

	h1 {
		font-size: 44px;
		line-height: 110%;
	}

	h2 {
		font-size: 22px;
		line-height: 130%;
		color: var(--h2-color);
	}

	h3 {
		font-size: 20px;
		line-height: 130%;
		font-weight: bold;
	}
}

/* #######################################################################################
*/
@media (min-width: 1200px) {
	h1 {
		font-size: 55px;
	}

	h2 {
		font-size: 25px;
		line-height: 130%;
		color: var(--h2-color);
	}

	h3 {
		font-size: 23px;
		line-height: 130%;
		font-weight: bold;
	}
}

/* #######################################################################################
*/
@media (min-width: 1400px) {
	h1 {
		font-size: 60px;
	}

	h2 {
		font-size: 27px;
		line-height: 130%;
		color: var(--h2-color);
	}

	h3 {
		font-size: 26px;
		line-height: 130%;
		font-weight: bold;
	}
}

/* #######################################################################################
*/
@media (min-width: 1600px) {
	body {
		font-size: 18px;
	}

	h1 {
		font-size: 70px;
	}

	h2 {
		font-size: 30px;
		line-height: 130%;
		color: var(--h2-color);
	}

	h3 {
		font-size: 27px;
		line-height: 130%;
		font-weight: bold;
	}
}
