:root{
    --background-color: #A20000;
    --darker-background-color: #8E0000;
    --accent-color: #DE0000;
    --text-color: #C9AC61;
    --navbar-height: 80px;
}

/************************************************HTML************************************************/
*{
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}
html{
    height: 100%;
}
body{
    height: 100%;
	background-color: #f7f4ee;
}
h1{
	font-size:clamp(2rem,6vw,70px);
	padding-bottom: 50px;
    text-align: center;
}
h2{
	font-size: 22px;
	padding: 10px;
	font-weight: bold;
}
/************************************************HTML************************************************/

/************************************************KITTEN************************************************/
section #inhalt{
	text-align:center;
}

.cat-entry{
	max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    padding: 20px;
	border: 2px solid var(--text-color);
    border-radius: 10px;
    color: var(--text-color);
    text-align: center;
	box-shadow: 0px 4px 12px rgba(0,0,0,0.5);
	background-color: white;
	box-sizing: border-box;
}

.cat-entry:has(img:only-child){
	max-width: 600px;
}
/************************************************KITTEN************************************************/

/************************************************TIER-SLIDER************************************************/
.tier_slider{
	display: flex;
	overflow-x: auto;
	gap: 8px;
	max-width: 808px;
	margin: 20px auto;
	scrollbar-gutter: stable;
	
	/* Firefox */
	scrollbar-width: auto;
	scrollbar-color: var(--background-color) var(--text-color);
}

.tier_slider img{
	width: 400px;
	height: 400px;
	object-fit: cover;
	flex: 0 0 auto;
	border-radius: 8px;
}

.tier_slider:has(img:only-child){
	justify-content: center;
}

/* Chrome, Edge, Safari */
.tier_slider::-webkit-scrollbar{
	height: 18px;
}

.tier_slider::-webkit-scrollbar-track{
	background: var(--text-color);
	border-radius: 20px;
}

.tier_slider::-webkit-scrollbar-thumb{
	background: var(--background-color);
	border-radius: 20px;
	border: 3px solid var(--text-color);
}

.tier_slider::-webkit-scrollbar-thumb:hover{
	background: var(--darker-background-color);
}
/************************************************TIER-SLIDER************************************************/

/************************************************TITLE************************************************/

/* Klickbarer Text */
.open-popup{
    cursor: pointer;
    text-decoration: underline;
}

/* Popup Hintergrund */
.popup{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

/* Popup Inhalt */
.popup-content{
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    max-height: 85vh;
    overflow-y: auto;
}

/* Schließen */
.close{
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}
/************************************************TITLE************************************************/