/*
Theme Name: DavisBlocks

Description: A basic WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: davisblocks
*/

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Regular';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Use the font */
body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #e6e0e0;
    padding-bottom: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
    color: #000;
}

/* === Headings === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #222;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    color: #111;
}

h2 {
    font-size: 2rem;
    color: #222;
    padding-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    color: #333;
    margin: 1.2em 0 1em 0;
}

h4 {
    font-size: 1.5rem;
    color: #444;
}

h5 {
    font-size: 1.25rem;
    color: #555;
}

h6 {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Slide-out menu styles */
#main-navbar {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100%;
	background: #e6e0e0ee;
	z-index: 9999;
	overflow-y: auto;
	transition: right 0.3s ease;
	box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
	padding: 75px 20px;
}

#main-navbar.open {
    right: 0;
}

#menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

#menu-overlay.active {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-logo {
    margin-right: 20px;
}

.site-title-description h1,
.site-title-description p {
    margin: 0;
}

@media (max-width: 768px) {
    .site-title-description {
        margin-top: 10px;
    }

	.site-title {
	font-size: 1em;
}
.site-header {
	display: flex;
	align-items: center;
	padding: 20px 0;
	justify-content: space-between;
	margin-bottom: 50px;
	margin-top: -20px;
}
.site-description {
	font-size: 0.9em!important;
}
}

.wp-caption-text {
    font-size: small;
}

.justify {
    text-align: justify;
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #e6e0e0ee;
}

/* === Layout Basics === */
header,
footer,
main,
article,
nav {
    margin-bottom: 2rem;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

.site-footer {
    font-size: small;
}

.footer-copyright {
    margin-top: 10px;
}

.container-main {
    max-width: 900px;
    padding-right: 15px;
    padding-left: 64px;
    margin-right: auto;
    margin-left: auto;
}

.alignleft {
    float: left;
}

.site-logo-brand {
    display: flex;
    align-items: center;
}

.site-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    justify-content: space-between;
}


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

.site-title-description h1,
.site-title-description p {
    margin: 0;
}


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

/* === menues ===*/

.page_item {
    list-style-type: none;
}

.menu-item {
    list-style-type: none;
}

.navbar-default {
    background-color: #e6e0e0;
    border-color: #e6e0e0;
}

.nav-pills>li {
    float: right;
}

.navbar-default .navbar-toggle {
    margin-top: 36px;
    margin-left: 50px;
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: underline;
    background-color: unset;
}

.footer-fixed {
    position: fixed;
    bottom: -20px;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 7px 0;
    border-top: 1px solid #e7e7e7;
    background-color: #e6e0e0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-navigation .nav>li>a {
    padding: 0px 10px;
}

footer {
    margin-bottom: 0;
    padding: 0px 0 20px;
}

.footer-copyright {
    margin-top: -20px;
}


/* === Responsive Typography === */
@media (max-width: 768px) {
    h1 {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container-main {
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;


    }

  .navbar {
	
}
	.footer-fixed {

	display: none;
}
	
	header {
		margin-bottom: -6em;
	}

}

/* Zeige Toggle-Button auch auf größeren Bildschirmen */
.navbar-toggle {
    display: block !important;
}

/* Optional: Verstecke normales horizontales Menü (zwingt zur Nutzung von Toggle) */
@media (min-width: 768px) {
    .navbar-collapse.collapse {
        display: none !important;
        height: 0 !important;
        overflow: hidden;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
        height: auto !important;
        text-align: right;
    }

    .navbar-right {
        float: right !important;
        margin-right: 15px;
        margin-top: 20px;
    }

    .nav>li>a {
        position: relative;
        display: block;
        padding: 0px 5px;
    }
	
	
}

