/*
Theme Name: Ben Elmecker
Theme URI: https://example.tk
Author: Simon Elmecker
Author URI: https://simonelmecker.at
Description: This is my custom theme
Version: 1.0
*/

html {
	font-family: "Montserrat", sans-serif;

	margin: 0;
	padding: 0;
	color: white;
	background-color: rgb(16, 16, 16);

}

#primary {
	background-color: #fff;
	min-height: 100vh;
	padding: 5vh 10vw;
	color: black;
	font-size: 1.4rem;
}


#home-main section {
	width: 100vw;
	height: 100vh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

#error-main section {
	width: 100vw;
	display: flex;
	justify-content: center;
	/* Horizontal zentrieren */
	align-items: center;
	/* Vertikal zentrieren */
	height: 100vh;
	/* Damit die Sektion den gesamten Bildschirm einnimmt */
	scroll-snap-align: start;
	scroll-snap-stop: always;

}

body {
	margin: 0;
	padding: 0;
	background-color: rgb(16, 16, 16);
}

a {
	color: white;
	text-decoration: none;

}

a:hover {
	transition: color 0.5s !important;
	color: rgb(177, 17, 17) !important;
}


/*	Footer	*/
footer {
	scroll-snap-align: end;
	scroll-snap-stop: always;
}

#colophon {
	position: relative;

	bottom: 0;
	background-color: rgb(19, 19, 19);
}

.footer-content {
	padding: 8vh 10vw;
	background-color: rgb(15, 15, 15);
	color: rgb(146, 146, 146);
}

.footer-content a {
	text-decoration: none;
	padding:  0 1vw;
	color: rgb(146, 146, 146);
}

.site-branding {
	padding: 2vh;
	width: 20vw;
	padding-left: 5vw;
}
.site-branding-simon {
	padding: 2vh;
	width: 20vw;
	padding-left: 5vw;
}
.site-branding-simon>span {
	color: rgb(196, 196, 196);
}

.site-branding-simon>span>a {
	color: rgb(206, 206, 206);
	text-decoration: none;
}

/*	Header	*/
.entry-header {
	display: none;
}

header {
	margin-top: 0;
	background: rgba(10, 10, 10, 0.5);
	position: sticky;
	top: 0;
	width: 100vw;
	z-index: 100;
	display: flex;
	flex-direction: row;
	animation: opacity-change ease-out 0.5s;
}


.site-branding img {
	height: 2rem;
	float: left;
}

.row-links a {
	color: white;
	text-decoration: none;
	margin: 0 1.5vw;
	font-size: 1rem;
}

.row-links {
	width: 80vw;
	padding-right: 5vw;
	display: flex;
	position: relative;
	right: 0;
	align-items: center;
	justify-content: flex-end;

}

/* Animations */

@keyframes scroll_2 {
	0% {
		transform: translateY(0);
		opacity: 1;
	}

	25% {
		opacity: 1;
	}

	75% {
		transform: translateY(.75em);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 0;
	}
}

@keyframes opacity-change {
	0% {
		opacity: 0;
		top: -100px
	}



	100% {
		opacity: 1;
		top: 0
	}
}

@keyframes slide-in-mouse {
	0% {

		opacity: 0;
		bottom: -50%;

	}

	70% {

		opacity: 0.3;

	}

	100% {
		opacity: 1;
		bottom: 0%;

	}
}

/* Section 1 */



.scroll-icon__dot {
	display: block;
	position: absolute;
	left: 45%;
	background: #fff;
	height: .7em;
	width: .7em;
	top: .6em;
	margin-left: -.25em;
	border-radius: 50%;
	transform-origin: top center;
	backface-visibility: hidden;
	animation: scroll_2 1.6s ease-out infinite;
}

.scroll-icon {
    z-index: 100;
    display: block;
    position: absolute;
    height: 4em;
    width: 2em;
    border: .05em solid #fff;
    bottom: 0;
    left: 50%;
    border-radius: 1em;
    animation: slide-in-mouse 0.5s ease-out;
    transform: translateX(-50%); /* Horizontal zentriert positionieren */
}


/*	Section 2	*/

/* Weise die Animation der Section zu */
.section-2 {
	display: flex;
	flex-direction: row;
}

.category-box h1 {
	color: white;
	transform: rotate(-90deg);
	font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-weight: lighter;
	font-size: 1.7rem;

}

.category-box a {
	opacity: 0;
}

.category-box {
	flex: 1;
	/* Jedes Element erhält den gleichen flex-Wert */
	display: flex;
	flex-direction: column;
	align-items: center;

	justify-content: center;
	transition: flex 1s;
	/* 100% Grayscale bewirkt Schwarzweiß-Effekt */

	height: 100vh;
}

.category-box:hover {
	flex: 8;
	/* Ändere den Flex-Wert beim Schweben auf 7 für das gehoverte Element */
	align-items: flex-start;
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
		padding-left: 5vw;


}

.category-box h1 {
	white-space: nowrap;
	color: rgb(122, 122, 122)
}

.category-box:hover h1 {
	color: white;
	transform: rotate(0deg);
	transition: transform 0.55s;
	white-space: nowrap;
}

.category-box:hover a {
	transition: opacity 2s;
	opacity: 1;

}


.category-1 {
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url('assets/images/sliderimages/akustik.jpg');
	background-size: cover;
	

}
.category-1:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('assets/images/sliderimages/akustik.jpg');
		transition: background-color 0.5s;
		background-size: cover;


}
.category-2 {
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url('assets/images/sliderimages/produkt-designs.jpg');
	background-size: cover;

}
.category-2:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('assets/images/sliderimages/produkt-designs.jpg');
	background-size: cover;

}
.category-3 {
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url('assets/images/sliderimages/architektur-gebaeude.jpg');
	background-size: cover;

}
.category-3:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('assets/images/sliderimages/architektur-gebaeude.jpg');
	background-size: cover;

}

.category-4 {
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url('assets/images/sliderimages/innenarchitektur.jpg');
	background-size: cover;

}
.category-4:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('assets/images/sliderimages/innenarchitektur.jpg');
	background-size: cover;

}
.category-5 {
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url('assets/images/sliderimages/außen-garten.jpg');
	background-size: cover;

}
.category-5:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('assets/images/sliderimages/außen-garten.jpg');
	background-size: cover;

}
.category-6 {
	background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
		url('assets/images/sliderimages/fresko.jpg');
	background-size: cover;

}
.category-6:hover {
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('assets/images/sliderimages/fresko.jpg');
	background-size: cover;

}
.white-svg{
	height: 35px;
}
.white-svg:first-child{
	height: 30px;
}
body {
	margin: 0;
	padding: 0;
}

/* Categories */
.category-headline {
	width: 100vw;
	padding: 5vh 0vh;
	text-align: center;
	font-weight: lighter;
	font-size: 3rem;
}

.post-box {
	height: 60vh;
	width: 100vw;
	margin: 1vh 0;
	display: flex;
	flex-direction: column;
	background-size: cover;
	background-position: center center; /* Zentriere das Bild sowohl horizontal als auch vertikal */
}



.post-box h2 {
	font-weight: 300;
	font-size: 2.5rem;
}
.post-text label{
	font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.post-text {
	position: relative;
	padding: 10vh 20vh;
}
.post-title{
	position: absolute;
	font-weight: 300;
	bottom:70%;
	left: 5%;
}
.post-box label {
	font-size: 2.5rem;
	color: rgb(157, 157, 157);
}

.posts-display {
	overflow-x: hidden;
	overflow-y: hidden;


}


/* Post Detail View*/
.post-banner{
	width: 100vw;
	display: flex;
	justify-content: center;
	/* Horizontal zentrieren */
	align-items: center;
	/* Vertikal zentrieren */
	height: 70vh;
	/* Damit die Sektion den gesamten Bildschirm einnimmt */
	margin-bottom: 10vh;

}
.sow-image-container {
	width: 95vw;
	padding-left: 2.5vw;
}
.post-navigation .nav-links{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.post-navigation .nav-links{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 5vh 0;
}
.post-navigation .nav-links a{
	padding: 5vh;
	font-size: 2rem;
	font-weight: lighter;
}
/*	Responsive	*/

.mobile-header {
	display: none;
}

.masthead {
	display: flex;
}
.mobile-content{
	display: none;
}
.mobile-content section div{
	height: 33.3333vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* Horizontal zentrieren */
	align-items: center;
}

#progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 1px;
	background-color: #ffffff;
	transition: width 0.3s;
	display: none;
}
@media only screen and (max-device-width: 480px) {
	.masthead {
		display: none;
	}
	.section-2{
		display: none;
	}
	.mobile-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.header-content {
		display: flex;
		align-items: center;
	}

	.icons-links a img{
		width: 2rem;
		padding: 0 2vw;
	}

	

	.mobile-dropdown {
		display: none;
	}
	.mobile-content{
		display: block;
	}
	.site-branding img {
		height: 1.5rem;
		float: left;
	}
	.post-navigation .nav-links{
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		padding: 5vh 0;
	}
	.post-navigation .nav-links a{
		padding: 5vh;
		font-size: 1.3rem;
		font-weight: lighter;
	}
	.post-text{
		padding: 3vh 10vh;
	}
	.post-box {
		height: 40vh;
	}	
	.site-branding-simon{
		width: 90vw;
	}.post-banner{
		height: 40vh;
	}
}
