/* alegreya-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/alegreya-v41-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* alegreya-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/alegreya-v41-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {

	--sidepadding: 11vw;
	
	--bs-body-font-family:'Alegreya';

	--bs-border-radius:0;
	--bs-border-radius-lg: 0;
	
}



.btn {
    --bs-btn-padding-x: 1.8rem;
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-font-size: inherit;
    --bs-btn-border-radius: 0;
}

.btn-primary {
	border-width:2px;
	--bs-btn-hover-color: var(--primary-color);
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: rgba(0,0,0,0.1);

	--bs-btn-color: var(--bs-body-bg);
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: transparent;

	--bs-btn-active-color: var(--bs-body-bg);
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

h1 {
    font-weight: 400;
    font-size: 70px;
	color:var(--primary-color);
}

#header {
    padding: 2rem 20% 3rem var(--sidepadding);
    background: url(/tmp/files/federhalter.jpg?1122);
    background-size: auto 80%;
    background-repeat: no-repeat;
    background-position: right center;
}


.buch {
	width:15rem;
	margin-top: 3rem;
	margin-bottom:3rem;
	perspective: 900px;
    perspective-origin: 0% 19%;
	
	h2 {
        font-size: 24px;
        font-weight: 400;
        top: -5.1rem;
		bottom:auto;
	}
	
	h3 {
        top: -3rem;
		bottom:auto;
		z-index: -1;
	}
}

#buecher .d-flex {
    max-width: 90rem;
}

.buchdetail {
	background: url(/tmp/files/buchseite.jpg);
    background-repeat: no-repeat;
    background-size: 33% 100%;
	background-color:white;
	
	hr {opacity:0;}
	
	.foto {
	box-shadow: 0 1rem 1rem -1rem;
	}
	
	.d-flex.gap-4.flex-wrap.mb-5 {
    	justify-content: center;
	}
	
	.row {
	    flex-direction: row-reverse;
	}
}


.show-I .d-flex > *:nth-child(n+5) {display:none;}
.show-II .d-flex > *:nth-child(n+9) {display:none;}
.show-III .d-flex > *:nth-child(n+13) {display:none;}
.show-III .d-flex > *:nth-child(n+17) {display:none;}
.show-IIII .d-flex > *:nth-child(n+21) {display:none;}
.show-IIIII .d-flex > *:nth-child(n+25) {display:none;}
.show-IIIIII .d-flex > *:nth-child(n+29) {display:none;}
.show-IIIIIII .d-flex > *:nth-child(n+33) {display:none;}
.show-IIIIIIII .d-flex > *:nth-child(n+37) {display:none;}
.show-IIIIIIIII .d-flex > *:nth-child(n+41) {display:none;}
.show-IIIIIIIIII .d-flex > *:nth-child(n+45) {display:none;}





@media (max-width: 992px) {

	h1 {
    font-size: 45px;
}
	
	
#header {
        padding: 16rem 33% 3rem var(--sidepadding);
        background-size: auto 30%;
        background-position: right 1rem;
    }
}