/*
Theme Name: JeneroBasic
Author: J&ouml;rn Johansen
Author URI: https://www.jenero.net/
Description: 2024 | Jenero.net Basic Theme
Version: 1.1
*/

@import url(content.css);

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

body {}

.boxed {
    display: flex;
    margin: auto;
    width: min(100% , var(--layout-width)); /* CUSTOMIZER */
    height: 100%;
}

.stretched {
    display: flex;
    height: 100%;
}

article {
    overflow: hidden;
}

picture {
    display: inline-block;
}

#main {
    display: flex;
    flex-direction: column;
}

/* + + + + + HEAD 1 + + + + + + */

#head1 {
    display: flex;
}

#headlogo {
    flex: 0 1 200px; /* CUSTOMIZER */
}

#headlogo picture {
    background-color: cyan;
    padding: 1em;
}

#headlogo img {
    width: 100%;
}

#headservice {
    flex: 2 1 auto;
    margin: 0 0 0 20px;
}

#headservice ul {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* + + + + + HEAD 2 + + + + + + */

#head2 {
    background-image: url(../images/headerimage1.jpg); /* CUSTOMIZER */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 400px;
    
}

#head2inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    width: min(100% , var(--layout-width));
}

#head2inner div { b  
    padding: 30px;
    max-width: 20%;
}

#head2inner > div:only-child {
    max-width: 500px;
}

#head2inner:not(> div:only-child) {
    width: auto;
}

#headfull {
    width: 100%;
}

/* + + + + + MENU + + + + + + */

#mainmenu {
    width: 100%;
    height: 50px;
}

#mainmenu ul {
    display: flex;
    justify-content:left;
    align-items:stretch;
}

#mainmenu li {
    list-style: none;
}

#mainmenu a {
    line-height: 50px;
    display: block;
    text-decoration: none;
    padding: 0 10px;
}

#mainmenu a:hover {
    background-color: darkolivegreen;
}

/* + + + + + CONTENT + + + + + + */

#content {
     
}

#testwidthdiv {
    margin: auto;
    background-color: aqua;
    padding: 30px 0;
}

/* + + + + + CONTENT LEFT + + + + + + */

.boxed > article,
.stretched > article {
    flex: 2 1 0%; /* - Dadurch übernimmt der Content die ganze verfügbare Breite, wenn die Seitenspalte nicht existiert - */
    padding: 50px;
}

/* + + + + + SIDEBAR + + + + + + */

.sidebar-l {
    flex: 1 1 0%;
    padding: 0 20px 0 0;
}

.sidebar-r {
    flex: 1 1 0%;
    padding: 0 0 0 20px;
}

/* + + + + + FOOTER + + + + + + */

#colophon {
    display: flex;
}

#colophon .boxed > div {
    padding: 30px;
}

#footerleft {
    flex: 1;
}

#footercenter {
    flex: 1;
}

#footerright {
    flex: 1;
}

/* + + + + + RESPONSIVE  + + + + + + */

@media screen and (max-width: 1224px) {
    .inner {
        
    }
}