/*Body*/
body{
	background-color: #58c6d5;
}

/*SideBar*/
.sidebar{
	background-color: #f3fdfe;
	position: fixed;
	width: 300px;
	z-index: 2;
	top: 0;
	left: 0;
	bottom: 0;
}


/*Banner*/
.banner{
	background-image: url(../pics/beach-g3a096677c_1280.jpg);
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}


/*Nav-Bereich*/
.site-nav {
	text-align: right;
	color: rgba(255, 255, 255, 0.75);
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	padding-top: 10px;
    position: relative;
}

.site-nav li {
	display: inline;
	margin-right: 2rem;
}

.site-nav ul {
	padding: 0;
	margin: 0;
}

.site-nav a {
	color: white;
	text-decoration: none;
}

.current a {
	text-decoration: underline;
}

/*Header*/
.site-header {
	margin:0;
	height: 100%;
    position: relative;
    text-align: center;
    color: white;
    margin-top: 50px;
	margin-left: 300px;
}

.site-header h1{
	font-size: 4em;
	font-family: "Indie Flower", cursive;
	padding: 25px;
	margin: 0;
}

.site-header p{
	margin-top: -25px;
	font-size: 15px;
	text-align: center;
	font-weight: 400;
	padding: 20px;
	font-family: "Roboto", sans-serif;
    color: rgba(255, 255, 255, 0.75);
}

/*Main*/
.site-content{
	margin-left: 300px;
}

.teaser{
    margin-left: 16rem;
	margin-right: 16rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
    position: relative;
	font-family: "Roboto", sans-serif;
	color: #757575;
}

.post-title{
    font-size: 36px;
	font-family: "Indie Flower", cursive;
    margin: 0;
    color: 757575;
}

.post-date{
    font-family: "Roboto", sans-serif;
    color: #757575;
    margin-top: 24px;
}

.post-text{
    font-family: "Roboto", sans-serif;
    color: #757575;
    line-height: 24px;
    margin-top: 16px;
	margin-bottom: 24px;
}

.last-post{
	background-color: white;
	padding: 3rem;
	margin-bottom: 1rem;
}

.post-teaser{
	background-color: white;
	padding: 2rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.post-pic{
	text-align: center;
}

img{
    max-width: 100%;
    height: auto;
}

.teaser-image{
	display: flex;
    align-items: center;
}

.text {
	margin-left: 30px; /* optional: füge einen Abstand zwischen dem Text und dem Bild hinzu */
}

.teaser a{
	text-decoration: none;
	color: #58c6d5;
}

.teaser li{
	padding: 0.5rem;
}

.last-next-links {
	display: flex;
	justify-content: space-between;
}

a.no-underline {
	text-decoration: none;
}

a.no-underline,
a.no-underline:hover,
a.no-underline:visited,
a.no-underline:focus {
	text-decoration: none !important;
	color: #58c6d5 !important;
}

.teaser-pic {
	width: 150px;
}

.mobile-text {
	display: none;
}

.desktop-text {
	font-family: "Roboto", sans-serif;
    color: #757575;
    line-height: 24px;
    margin-top: 16px;
	margin-bottom: 24px;
}

/*Kommentare*/
.comment-name{
    font-family: "Roboto", sans-serif;
    color: black;
	font-weight: bold;
    line-height: 24px;
    margin-top: 16px;
	margin-bottom: 24px;
}

/*Grundlegende Gestaltung für den Footer*/
.footer-nav a {
	color: white;
	text-decoration: none;
}

.footer-nav {
	text-align: right;
	color: rgba(255, 255, 255, 0.75);
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	padding-top: 10px;
    position: relative;
}

.footer-nav ul {
	margin: 0;
	padding: 0;
}

.footer-nav li {
	display: inline;
	margin-right: 2rem;
}

/*Grundlegende Gestaltung für den Footer*/
.contactform form {
	max-width: 500px;
	background-color: whitesmoke;
	padding: 1rem;
}

.contactform div {
	margin-bottom: 1rem;
}

.contactform label {
	cursor: pointer;
}

.contactform label[for] {
	display: block;
}

.contactform button {
	background-color: gray;
	color: white;
	padding: 0.5rem;
	border: none;
	font-size: inherit;
	cursor: pointer;
}

/*Sanftes Scrollen aktivieren*/
html {
	scroll-behavior: smooth;
}

/*Archiv ausklappbar machen*/
.hidden {
    display: none;
}

.toggle-header {
    cursor: pointer;
    display: flex;
    align-items: center;
	/* font-family: "Indie Flower", cursive; */
    font-size: 1.2em;
}

.toggle-header::before {
    content: "▶"; /* Pfeil-Symbol für eingeklappt */
    display: inline-block;
    margin-right: 8px;
    transform: rotate(0deg); /* Standardrotation */
    transition: transform 0.2s ease-in-out;
}

.toggle-header.open::before {
    content: "▼"; /* Pfeil-Symbol für ausgeklappt */
    /* transform: rotate(90deg);  Pfeil dreht sich */
}

.toggle-header:hover {
    color: darkblue;
}

/*Responsive Settings*/
@media only screen and (max-width: 920px){
	.site-nav{
		font-size: 15px;
	}
    .site-header{
		margin-top: 10px;
		margin-left: 0;
	}
    .teaser{
        margin-left: 1rem;
        margin-right: 1rem;
    }
	.sidebar{
		display: none;
	}
	.site-content{
		margin-left: 0;
	}
	.footer-nav{
		font-size: 15px;
	}

	.last-post{
		padding: 16px;
		font-size: 15px;
	}

	.teaser-pic {
		width: 100px;
	}

	.text {
		margin-left: 20px;
	}

	.desktop-text {
        display: none;
    }
    
	.mobile-text {
        display: block;
    }

	.post-teaser{
		padding: 16px;
		font-size: 15px;
		line-height: 24px;
	}
}

@media only screen and (max-width: 540px){
	.site-nav{
		font-size: 15px;
	}
    .site-header{
		margin-top: 10px;
		margin-left: 0;
	}
    .site-header h1{
		font-size: 2em;
	}
	.site-header p{
		font-size: 15px;
	}
    .teaser{
        margin-left: 0;
        margin-right: 0;
        margin-top: 1rem;
    }
    .post-title{
        font-size: 20px;
    }
	.sidebar{
		display: none;
	}
	.site-content{
		margin-left: 0;
	}
	.footer-nav{
		font-size: 15px;
	}
	.last-post{
		padding: 16px;
		font-size: 15px;
	}

	.post-teaser{
		padding: 16px;
		font-size: 15px;
		line-height: 24px;
	}

	.teaser-pic {
		width: 100px;
	}

	.text {
		margin-left: 20px;
	}

	.desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }

	/*Archiv ausklappbar machen*/
	.toggle-header {
		cursor: pointer;
		display: flex;
		align-items: center;
		/* font-family: "Indie Flower", cursive; */
		font-size: 1em;
	}

}