
:root {
	--text: #655B3E;
	--link: #ab9363;
	--link-hover: #bca474;
	--bg-nav: #374c5d;  
	--bg-nav-link: #dcd2a2;
	--bg-nav-link-hover: #bab080;
	--bg-button: #faf9f5; 
	--bg-button-hover: #f3f1e9;
	--bg-card-color: #faf9f5; 
	--bg-card-hover-color: #f3f1e9;}

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

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

ul {
	list-style: none;
}



body {
	min-height: 100vh;
	width: 100%;
	margin: 0 auto;
	font-family: sans-serif;
	font-size: 1em;
	color: var(--text);
	background-image: url("https://cal.flageolets.ch/site/templates/styles/images/background.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
}



h1 {
	font-size: 1.5em;
	padding-bottom: 8px;
}
h2 {
	font-size: 1.3em;
	padding-bottom: 4px;	
}
h3 {
	font-size: 1.2em;
	padding-bottom: 4px;	
}
h4 {
	padding-bottom: 4px;	
}

p {
	padding-bottom: 4px;
}

hr {
	margin: 20px 0 10px 0;
	color: transparent;
	border-bottom: 1px solid var(--bg-nav-link);
}



.button {
	font-size: 1rem;
	border: 0;
	color: inherit;
	padding: 0.2em 1em;
	margin: 3px 5px 3px 0;
	border-radius: 5px;
	cursor: pointer;
	display: inline;
	transition: 500ms;
}

.button-tags {
	background-color: transparent;
}

.button-tags:hover {
	background-color: var(--bg-nav-link);
}

.button-weiterlesen, .button-search {
	background-color: transparent;
	font-style: italic;
}

.button-weiterlesen:hover {
	background-color: var(--bg-nav-link);
}

.button-zurueck {
	background-color: var(--text);
	margin-top: 4em;
	color: #fff;
}

.button-zurueck:hover {
	transform: scale(1.2);
}


.button-search {
	padding: 0;
	margin: 0;
}

input {
	border: 1px solid var(--link);
	border-radius: 5px;
}

.body_inner {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 60px auto 1fr 60px;
	width: 90%;
	height: 100vh;
	margin: 0 auto;
}

.main_inner {
	padding: 20px 0;
}

header, main, aside, footer {
	padding: 10px;
}

header {
	height: 60px;
	border-bottom: 1px solid var(--bg-nav-link);
}

/*

nav {
	height: auto;
	width: 50%;
	float: left;
	text-align: left;
}

*/


.nav_aside {
	padding: 30px 10px;
	line-height: 2em;
}


.search_form {
	float: right;
}

main {
}

.bodytext {
	padding-top: 10px;
}

aside {
	text-align: center;
	border-bottom: 1px solid var(--bg-nav-link);
}

/*

ul.activities {
    display: flex;
    justify-content: center;
    gap: 10px;
	flex-wrap: wrap;
}

ul.activities li a {
	white-space: nowrap;
}

*/

footer {
	height: 60px;
}

.footer_inner {
	display: flex;
	justify-content: space-between;
}


/* Unterstrichene Links */

.aside_link {
	margin-top: 30px;
}

.aside_link a {
	position: relative;
	font-size: 1.1em;
	font-weight: 600;
	line-height: 1.5;
	padding: 3px 0;
}

.aside_link a:hover {
	color: var(--link-hover);
	letter-spacing: 1.2px;
}

.subcategory {
	margin-top: 20px;
}

.subcategory_title li {
	margin-top: 15px;
}

.subcategory li a {
	position: relative;
	font-size: 1.1em;
	font-weight: 600;
	line-height: 1.5;
	padding: 3px 0;
}

.subcategory li a:hover {
	color: var(--link-hover);
	letter-spacing: 1.2px;
}

.nav_main li a {
	position: relative;
	font-weight: normal;
	padding: 3px 0;
}

.nav_main li a:hover {
	color: var(--link-hover);
	letter-spacing: normal;
}

.nav_main li a::after {
	content: '';
	height: 2px;
	width: 0;
	background: var(--link-hover);
	position: absolute;
	bottom: 0;
	left: 0;
	transition: 300ms ease-in-out;
}

.nav_main li a:hover::after {
	width: 100%;
}

.nav_main {
	padding-bottom: 15px;
}




.nav_aside li a {
	position: relative;
	padding: 3px 0;
}

.nav_aside li a:hover {
	color: var(--link-hover);
}

.nav_aside li a::after {
	content: '';
	height: 2px;
	width: 0;
	background: var(--link-hover);
	position: absolute;
	bottom: 0;
	left: 0;
	transition: 300ms ease-in-out;
}

.nav_aside li a:hover::after {
	width: 100%;
}



















@media (min-width:50em) {
	


.body_inner {
	height: 100vh;
	grid-template-columns: repeat(4, 1fr); 
	grid-template-rows: 60px 1fr 60px;
	grid-template-areas: "h h h h" "m m m a" "f f f f"; 
}

header {
  	grid-area: h;   
}


nav {
	grid-area: n;   
}

.search_form {
	float: right;
}

main {
	grid-area: m;   
}

aside {
	grid-area: a;   
}

/*

ul.activities {
    display: flex;
	flex-direction: column;
	justify-content: center;
    gap: 10px;
}

*/


footer {
	grid-area: f;   
}
	

	
}





