/* Blog Artikel Cascading Style Sheet **************************************************************/

.formular form textarea, .formular form #name, #datenschutzdiv{
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
}

/* HEADER **************************************************/
#main-nav ul li:nth-child(5) a{
	color: #f8c311;
}

/* UEBERSCHRIFT ********************************************/
#ueberschrift h1{
	margin-block-end: 10px;
}

#ueberschrift hr{
	width: 250px;
	margin: 0 auto;
}

#ueberschrift p{
	margin-block-start: 5px;
	margin-block-end: 40px;
}

/* BESCHREIBUNG ********************************************/
h5{
	font-family: 'Heebo', sans-serif;
	font-weight: 500;
	font-size: 15px;
	margin-block-end: 0;
	width: 820px;
	text-align: left;
	margin: 0 auto;
}

#beschreibung{
	width: 820px;
	padding: 0 10px;
	margin: 0 auto 20px auto;
	border: 3px solid #353535;
	height: 335px;
	overflow-y: scroll;
}

#beschreibung p{
	margin-block-start: 10px;
	margin-block-end: 10px;
	font-family: 'Roboto', sans-serif;
	text-align: left;
}

#beschreibung p a{
	color: #065fd4;
}

#beschreibung p a:hover{
	color: #065fd4;
	text-decoration: none;
}

/* TEXT ********************************************/
.text1, .text2{
	width: 70%;
	margin: 50px auto;
}

.text1::after, .text2::after{
	content: "";
	clear: both;
	display: table;
}

.text1 img, .text2 img{
	margin-top: 0px
}

.text1 img:nth-child(2n+1){
	float: left;
	width: 40%;
	height: auto;
	margin: 2%;
	border-radius: 10px;
}

.text1 img:nth-child(2n){
	float: right;
	width: 40%;
	height: auto;
	margin: 2%;
	border-radius: 10px;
}

.text2 img:nth-child(2n){
	float: left;
	width: 40%;
	height: auto;
	margin: 2%;
	border-radius: 10px;
}

.text2 img:nth-child(2n+1){
	float: right;
	width: 40%;
	height: auto;
	margin: 2%;
	border-radius: 10px;
}

.abstand-link{
	padding: 0 30px;
	font-size: 15px;
}

table{
	width: 70%;
	margin: 0 auto;
}

@media (max-width: 900px){
	iframe{
		width: 500px;
		height: 284px;
	}
	
	#beschreibung{
		width: 500px;
		height: 330px;
	}
	
	h5{
		width: 500px;
	}
}

@media (max-width: 550px){
	iframe{
		width: 300px;
		height: 170px;
	}
	
	#beschreibung{
		width: 300px;
	}
	
	h5{
		width: 300px;
	}
	
	.button{
		width: 200px;
	}
}

/* KOMMENTARE ********************************************/
.alte-kommentare:nth-child(2n+1){
	margin: 30px 0;
	padding: 5px;
	background: rgba(249, 212, 92, 0.3)
}

.alte-kommentare:nth-child(2n){
	margin: 30px 0;
	padding: 5px;
}
	
.kommentare{
	width: 70%;
	margin: 0 auto;
	text-align: left;
}

.kommentar{
	width: 70%;
	margin: 0 auto;
}

.hrlong{
	margin: 10px auto;
	width: 80%;
}

.kommentar .formular textarea, #name{
	font-family: 'Fira Sans', sans-serif;
	font-size: 18px;
	margin-bottom: 2%;
	border-radius: 2px;
	border: 2px solid;
	border-color: #353535;
	outline: none;
}

.kommentar .formular textarea:focus, #name:focus{
	border-color: #f8c311;
}

#name{
	width: 100%;
}

.kommentar .formular textarea{
	width: 100%;
	height: 200px;
	resize: none;
}

#datenschutzdiv{
	margin: 0 auto;
}

#datenschutz{
	display: block;
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	cursor: pointer;
	font-family: 'Fira Sans', sans-serif;
	font-size: 18px;
	text-align: left;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#datenschutz input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

#checkmark {
	position: absolute;
	top: 1px;
	left: 0;
	height: 18px;
	width: 18px;
	border-radius: 5px;
	background-color: #eee;
}

#datenschutz:hover input ~ #checkmark, #datenschutzdiv:focus ~ #datenschutz input ~ #checkmark{
	background-color: #ccc;
}

#datenschutz input:checked ~ #checkmark{
	background-color: #f8c311;
}

#checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

#datenschutz input:checked ~ #checkmark:after{
	display: block;
}

#datenschutz #checkmark:after{
	left: 7px;
	top: 3px;
	width: 3px;
	height: 7px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#datenschutzdiv span{
	text-decoration: underline;
}

#datenschutzdiv span:hover{
	text-decoration: none;
}