/* ============================== CSS				 ==============================  */


/* ============================== Version 			 ==============================  
	<!-- V406.2023-04-21 -->
	<meta name="date" content="2023-04-19T21:00:00+02:00">
   ============================== 					 ==============================  */


/* ============================== Global Definitions ==============================  */

* {
    margin: 0.1em;
    padding: 0.1em;
    /* border: 1px solid #2D2F29; */
}

html {
    /* margin: 2px 2%; */
    /*padding: 2px 2%;*/
    /* 	display: block;	*/
    background-color: #e0ebcc;
}

body {
    max-width: 65em;
    /* width: 950px; */
    margin: 0 auto;
    font: normal .75em Arial, sans-serif;
    /*	font-family: Arial;*/
    font-size: 1.0em;
    /* background-color: #F0FFD1; */
    background-color: #e0ebcc;
    /* display: flex; */
    display: grid;
    grid-template-columns: 1fr;
    grid-column: span 1;
}

h1 {
    font-size: 2em;
    font-weight: normal;
}

.article_head {
    font-size: 2em;
    grid-column: 1 / span 2;
}

.article_text {
    /* display: none;  */
    grid-column: 1 / span 2;
}

.news_highlight {
    color: red;
}

.article_pic {
    /*width: 75%;
	grid-column: 2 / span 1;
	font-size: 2em;
	align-items: right;*/
    /*----*/
    width: 35%;
    font-size: 2em;
    align-items: right;
    position: -webkit-sticky;
    position: sticky;


    float: right;
    padding: 2px;
    margin: 2px;
    z-index: 1;
}

hr {
    /* display: none; */
    height: 1px;
    background: #556B2F;
    /*color: white;*/
    /*position: relative; */
    margin-top: .5rem;
    margin-bottom: .5rem;
    margin-left: 15%;
    margin-right: 15%;
    padding: 0;
    border-width: 0;
    /*border: none;*/
}

.separator {
    /*width: 100%;*/
    margin-left: 5%;
    margin-right: 5%;
    height: 5px;
    background-image: url(./img/bamboo_sep.webp);
    /*background-size: auto;*/
}


/* ============================== HEADER			 ==============================  */
@font-face {
    font-family: Tangerine;

    font-display: swap;

}

@font-face {
    font-family: Brush Script MT;
    font-display: swap;

}

header {
    /* display: none; */
    /* border: 1px solid #43463D; */
    order: 1;
    grid-column: 1 / span 1;
    /* width: 100%; */
    /* max-width: 100em; */
    /* background-image: url('img/top_02d_green_small.webp'); */
    background: url('img/top_02d_green_small.webp') no-repeat center center;
    /* background-size: contain;  */
    /* * /font-family: 'Petit Formal Script', cursive;
		/* */
    font-family: 'Tangerine', 'Brush Script MT';
    /* font-style: italic;  */
    text-align: left;
    font-size: 3.5em;
    font-weight: 500;
    color: #2C3326;
    text-shadow: 4px 4px 5px #556B2F, -1px -1px #6b4600;
    /* src: local('Brush Script MT'), url('https://fonts.gstatic.com/s/tangerine/v17/IurY6Y5j_oScZZow4VOxCZZM.woff2') ; */

    
    /* order: 1; */
    /* 
		background-position:center center;
		*/
}

header div {
    padding: 10px 2%;
}

#navlink {
    display: none;
    float: right;
    text-decoration: none;
    font-size: 1.875em;
    font-weight: bold;
    padding: 10px;
    margin: 30px 30px 0 0;
}


/* ============================== Navigation			 ==============================  */

nav {
    /* display: none */
    /* float: center;  */
    order: 2;
    /* border: 1px solid #43463D; */
    /*grid-column: 1 / span 3;*/
    grid-column: 1 / span 1;
    /* width: 100%; */
    /* flex-direction: row; */
    /* height: 30px; */
    /* list-style-type: none; */
    /* box-shadow: 0 10px 5px 0 #005C1F; */
    /* box-shadow: 0 10px 5px 0 #529152; */
    /*background: no-repeat center bottom; */
    /* position: absolute; */
    /* top: 0px; */
    /* left:0%; */
    /* display: block;*/
    text-align: center;
    /* border: 1px solid #43463D;*/
    /* text-indent: 10px; */
}

nav ul li {
    font-family: 'Arial', cursive;
    display: inline-block;
    /* text-transform:none; */
    /* letter-spacing:0; */
    color: #309351;
    /**/
    border: 1px solid #43463D;
    background-color: #CAD4B8;
    /*transparent */
    border-radius: 0.2em 0.2em;
    width: 8em;
    /* flex-direction: row; */
    /* 
		 
		 */
}

nav ul li:hover,
nav ul li a:hover,
nav ul li a:active {
    /* background-color:#2C3326 !important;; */
    background-color: #6E8B3D;
    /* background-color: transparent */
    /* background-color: #29A329; */
    /* vertical-align:super; text-decoration: none;*/
    font-weight: bold;
    text-indent: 0px;
    color: #E0EBCC;
}

nav ul li a {
    text-decoration: none;
    text-align: center;
    /* color: #161814; */
    color: #2C3326
}


/* ============================== Navigation EMD	 ==============================  */


/* ============================== Hamburger Menu 	 ==============================  */

label.hamburg {
    display: none;
    /* position: absolute;  */
    position: fixed;
    z-index: 10;
    background: #698B22;
    background: #E0EBCC;
    /* background: transparent; */
    opacity: 85%;
    width: 75px;
    height: 50px;
    top: 0;
    right: 0;
    margin: .5em;
    border-radius: 4px;
    border: 1px solid;
    box-shadow: 5px 5px 5px;
}

input#hamburg {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.topmenu {
    height: auto;
}

.line {
    position: absolute;
    left: 10px;
    height: 4px;
    width: 55px;
    background: #556B2F;
    border-radius: 2px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
}

.line:nth-child(1) {
    top: 12px;
}

.line:nth-child(2) {
    top: 24px;
}

.line:nth-child(3) {
    top: 36px;
}

#hamburg:checked+.hamburg .line:nth-child(1) {
    transform: translateY(12px) rotate(-45deg);
}

#hamburg:checked+.hamburg .line:nth-child(2) {
    opacity: 0;
}

#hamburg:checked+.hamburg .line:nth-child(3) {
    transform: translateY(-12px) rotate(45deg);
}


/* ============================== Hamburger Menu END ==============================  */


/* ============================== Site top elements	==============================  */

main {
    /* display: none; */
    /* border: 1px solid red; */
    order: 4;
    /*	    max-width: 45em;*/
    /*		min-width: 15em;*/
    /*min-height: 55vh;*/
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
    margin: 2px;
    padding: 2px;
}

news {
    display: none;
    /* border: 1px solid red;  */
    border: 1px solid #43463D;
    order: 3;
    grid-column: 1 / span 3;
    margin: 1em;
    padding: 0.5em;
    /* box-shadow: 7px 7px 7px 11px #43463D; */
    box-shadow: 5px 5px 14px 8px #B22222;
    color: #B22222;
    /* Hightlight in Red */
}

news hl {
    color: #B22222;
}

article {
    /* border: 2px solid purple; */
    /* display: none; */
    grid-column: 2 / span 1;
    /* display: grid;
		grid-template-columns: 70% 30%;  */
    order: 2;
    background-repeat: no-repeat;
    background-position: top center;
    /*min-height: 55vh;*/
}

article figure {
    /* border: 1px solid #ccc; */
    grid-column-end: span 1;
    position: relative;
    /*margin: ;*/
    /*width: 10%; */
}

article figure img {
    /*display: block;*/
    /*object-fit: fill;*/
    /* width: -webkit-fill-available; */
    /* width: -moz-fill-available; */
    width: fill-available;
    /*width: inherit;*/
    max-width: 100%
    /* height: 100%; */
}

article h1 {
    grid-column: 1 / span 2;
}

asidel {
    /* display: none */
    /* border: 1px solid red; */
    order: 1;
    grid-column: 1 / span 1;
    background: url('img/Flower_amber_slim_left_05.webp') repeat top left;
    width: 8em;
}

asider {
    /* display: none */
    /* border: 1px solid red; */
    order: 5;
    grid-column: 3 / span 1;
    background: url('img/Flower_amber_slim_left_05.webp') repeat top left;
    /* width: 8em ; */
    background: url('img/Lamp_02_green.webp') repeat top right;
    float: right;
    right: 0;
}

footer {
    /* display: none */
    /* border: 1px solid red; */
    order: 6;
    grid-column: 1 / span 1;
    font-size: 0.75em;
    /*width: 100%; */
    text-align: center;
}

footer ul li {
    font-family: 'Arial', cursive;
    /*display: inline-block; */
    text-align: right;
    list-style: none;
    text-transform: none;
    letter-spacing: 0;
    color: #309351;
}


/* ============================== Site elements EMD	 ==============================  */


/* ============================== Gallery			 ==============================  */

gallery {
    order: 2;
    grid-column: 2 / span 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    gap: .3em;
    grid-auto-flow: dense;
}

gallery figure {
    /* border: 1px solid #ccc; */
    grid-column-end: span 1;
    position: relative;
    /*	  margin: 5px;*/
    counter-increment: posMarkup;
}

gallery figure img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/*.gallery figure::after {
	  content: counter(posMarkup, decimal);
	  position: absolute;
	  bottom: 0;
	  color: red;
	}
	*/

.gallery figure.form2X1 {
    grid-column-end: span 2;
}

.gallery figure-3X1 {
    grid-column-end: span 3;
}

.gallery figure-1X2 {
    grid-row-end: span 2;
}

.gallery figure-form2X2 {
    grid-row-end: span 2;
    grid-column-end: span 2;
}


/* ============================== Gallery EMD	 	==============================  */


/* ============================== Mobile definitions==============================  */

@media screen and (min-width: 85rem) {
    body {
        padding-left: 2vw;
        padding-right: 2vw;
        margin-left: 14vw;
        margin-right: 12vw;
        transition-duration: 250ms;
        border: 1px solid #2C3326;
        border-radius: 4px;
        box-shadow: 2px 2px 5px #43463D;
    }
    #cookies_pic {
        top: 220px;
        /*right: 21rem;*/
        left: 68vw;
        position: fixed;
        border: 1px solid;
        border-radius: 4px;
        opacity: 55%;
        padding:0px;
        margin: 0px;
    }
}


/* ============================== Mobile 1020		==============================  */

@media screen and (max-width: 1020px) {
    asideR {
        display: none;
    }
    main {
        grid-column: 1 / span 1;
        display: flex;
    }
}


/* ============================== Mobile 640		==============================  */

@media screen and (max-width: 640px) {
    body {
        margin: 0.2em;
        padding: 0.2em;
    }
    header div {
        font-size: 1.0em;
    }
    main {
        grid-column: 1 / span 1;
        display: flex;
    }
    asidel,
    #separator {
        display: none;
        width: 0em;
    }
    article {
        /* border: 2px solid purple; */
        /* display: none; */
        /* grid-column: 1 / span 1; */
        /* display: grid; */
        order: 4;
        /* grid-column: 1 / span 1; */
    }
    #article_pic {
        width: 75%;
    }
    #aside {
        display: none;
    }
    gallery {
        grid-column: 1 / span 1;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(49%, 1fr));
        gap: .2em;
        grid-auto-flow: dense;
    }
    nav {
        margin: 0.3em;
        padding: 0em;
        /* transition: all 0.5s;*/
    }
    nav ul li {
        display: inline-block;
        text-transform: none;
        /* color:#309351; */
        /**/
        border: none;
        background-color: #CAD4B8;
        /*background-color: transparent;  */
        border-radius: 0.25em 0.25em;
        width: 12em;
        flex-direction: row;
        line-height: 3em;
    }
    label.hamburg {
        display: block;
        background: #CAD4B8;
    }
    .topmenu {
        /* display: none;	 */
        position: fixed;
        top: 4.5em;
        right: 0;
        overflow: hidden;
        flex-direction: row;
        width: 0;
        z-index: -1;
        border-radius: 0.25em 0.25em;
        background: #CAD4B8;
        opacity: 95%;
        /* background-color: #F0FFD1; */
        transition: all 0.7s;
    }
    #hamburg:checked+.hamburg+.topmenu {
        /* max-height: 7em;  */
        /* background: #111; */
        max-width: 12.5em;
        right: .5em;
        overflow: hidden;
        flex-direction: row;
        width: 12.5em;
        z-index: 5;
        border-radius: 0.25em 0.25em;
        /* background-color: #F0FFD1; */
        box-shadow: 5px 5px 6px 5px #43463D;
    }
}


/* ============================== Mobile 360		==============================  */

@media screen and (max-width: 360px) {
    header div {
        font-size: 0.7em;
    }
    gallery {
        grid-column: 1 / span 1;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: .3em;
        grid-auto-flow: dense;
    }
}


/* ============================== Mobile definitions END	========================  */