: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-bottom: 10px;
	font-weight: bold;
}
/************************************************HTML************************************************/

/************************************************INDEX************************************************/
.home{
	max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    text-align: center;
	border: 2px solid var(--text-color);
    border-radius: 10px;
    color: var(--text-color);
	box-shadow: 0px 4px 12px rgba(0,0,0,0.5);
	background-color: white;
    padding:10px;
	box-sizing: border-box;
}

.home h1 {
    margin: 20px 10px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-color);
    text-align: center;
	padding-bottom: 10px;
}

.home p {
    max-width:750px;
    margin:0 auto 30px auto;
    line-height:1.6;
    color:var(--text-color);
}
/************************************************INDEX************************************************/

/************************************************NEWSLETTER************************************************/
.home-news {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

.home-news h1{
	padding-bottom: 0px;
}

.news-box {
	box-shadow: 0px 4px 12px rgba(0,0,0,0.5);
	background-color: white;
	border: 2px solid var(--text-color);
    border-radius: 10px;
    color: var(--text-color);
	margin: 30px auto;
	padding: 20px;
	max-width: 1000px;
	width: 90%;
	margin: 30px auto;
	box-sizing: border-box;
}

.news-layout-1{
    text-align: center;
}

.news-layout-1 .news-content{
    flex: 1;
}

.news-layout-1 .tier_slider{
    display: flex;
	overflow-x: auto;
	gap: 8px;
	max-width: 744px;
	margin: 20px auto;
}

.news-layout-1 .tier_slider img{
	width: 180px;
	height: 180px;
	object-fit: cover;
	flex: 0 0 auto;
	border-radius: 8px;
}

.news-layout-1 .tier_slider:has(img:only-child),
.news-layout-1 .tier_slider:has(img:first-child:nth-last-child(2)),
.news-layout-1 .tier_slider:has(img:first-child:nth-last-child(3)){
	justify-content: center;
}

.news-layout-2{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.news-layout-2 .news-content{
    flex: 1;
}

.news-layout-2 .tier_slider{
	display: flex;
	overflow-x: auto;
	gap: 8px;
    flex: 0 0 380px;
    max-width: 380px;
    margin: auto;
}

.news-layout-2 .tier_slider img{
	object-fit: cover;
	flex: 0 0 auto;
	border-radius: 8px;
	width: 380px;
	height: 380px;
}

.news-layout-3{
    display:flex;
    flex-direction:row-reverse;
    align-items:flex-start;
    gap:20px;
    text-align:left;
}

.news-layout-3 .news-content{
    flex: 1;
}

.news-layout-3 .tier_slider{
	display: flex;
	overflow-x: auto;
	gap: 8px;
    max-width: 380px;
    margin: auto;
}

.news-layout-3 .tier_slider img{
	object-fit: cover;
	border-radius: 8px;
	width: 380px;
	height: 380px;
}

@media (max-width: 768px){
	.news-layout-1 .tier_slider:has(img:only-child),
	.news-layout-1 .tier_slider:has(img:first-child:nth-last-child(2)),
	.news-layout-1 .tier_slider:has(img:first-child:nth-last-child(3)){
		justify-content: left;
	}
	
	.news-layout-2 .news-content{
		text-align: center;
	}
	
    .news-layout-2{
        flex-direction: column;
		text-align: center;
    }

    .news-layout-2 .tier_slider{
        max-width: 100%;
		flex: 0 0 auto;
    }
	
	.news-layout-2 .tier_slider img{
		width: 180px;
		height: 180px;
	}
	
	.news-layout-3 .news-content{
		text-align: center;
	}
	
	.news-layout-3{
        flex-direction: column;
		text-align: center;
    }

    .news-layout-3 .tier_slider{
        max-width: 100%;
		flex: 0 0 auto;
    }
	
	.news-layout-3 .tier_slider img{
		width: 180px;
		height: 180px;
	}
}

/*
.news-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.news-images img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}*/
/************************************************NEWSLETTER************************************************/

/************************************************TIER-SLIDER************************************************/
/*.tier_slider{
	display: flex;
	overflow-x: auto;
	gap: 8px;
	max-width: 744px;
	margin: 20px auto;
}

.tier_slider img{
	width: 180px;
	height: 180px;
	object-fit: cover;
	flex: 0 0 auto;
	border-radius: 8px;
}

.tier_slider:has(img:only-child),
.tier_slider:has(img:first-child:nth-last-child(2)),
.tier_slider:has(img:first-child:nth-last-child(3)){
	justify-content: center;
}

@media (max-width: 768px){
	.tier_slider:has(img:only-child),
	.tier_slider:has(img:first-child:nth-last-child(2)),
	.tier_slider:has(img:first-child:nth-last-child(3)){
		justify-content: left;
	}
}*/
/************************************************TIER-SLIDER************************************************/

/************************************************KITTEN-HIGHLIGHT************************************************/
.kitten-highlight{
    max-width:1000px;
    width:90%;
    margin:30px auto 60px auto;
    padding:35px 30px;
    background:white;
    border:2px solid var(--text-color);
    border-radius:16px;
    box-shadow:0px 4px 12px rgba(0,0,0,0.10);
    text-align:center;
	box-sizing: border-box;
}

.kitten-highlight h2{
    font-size:28px;
    margin-bottom:15px;
    color:var(--text-color);
}

.kitten-highlight p{
    max-width:750px;
    margin:0 auto 30px auto;
    font-size:20px;
    line-height:1.6;
    color:var(--text-color);
}

.kitten-highlight a{
    display:inline-block;
    background-color:#b30000;
    color:white;
    text-decoration:none;
    padding:14px 30px;
    border-radius:30px;
    font-weight:bold;
}

.kitten-highlight a:hover{
    background-color:var(--text-color);
    color:#b30000;
}

.welcome-row{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:40px;
    margin:20px 0 5px 0;
}

.welcome-row .cat-preview{
	margin-top: 0;
}

.welcome-row h2{
    max-width:650px;
    margin:0;
}

.cat-mothers{
    display:flex;
    gap:40px;
}

.cat-preview{
    text-align:center;
}

.cat-preview a{
	text-decoration:none;
	color: inherit;
	display: block;
}

.cat-button{
	background:none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	color:inherit !important;
	display: inline-block;
	transition: 0.2s;
}

.cat-button:hover{
	background:none !important;
	transform: scale(1.1);
}

.cat-preview img{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:50%;
    border:3px solid var(--text-color);
}

.cat-ella{
	object-position: center top;
}

.cat-emma{
	object-position: center top;
}

.cat-preview p{
    margin-top:6px;
    font-weight:bold;
    color:var(--text-color);
}

@media(max-width: 900px){

    .kitten-highlight{
        width: calc(100% - 30px);
        padding: 25px 15px;
        margin: 25px auto 35px auto;
		box-sizing: border-box;
		overflow: hidden;
    }

    .kitten-highlight h2{
        font-size: 18px;
        line-height: 1.4;
    }

    .kitten-highlight p{
        font-size: 16px;
    }

    .welcome-row{
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin: 10px 0;
    }

    .cat-mothers{
        gap: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cat-preview img{
        width: 105px;
        height: 105px;
    }
}
/************************************************KITTEN-HIGHLIGHT************************************************/

/************************************************BILDGALERIE************************************************/
.home-img{
    max-width:1000px;
    width:90%;
    margin:50px auto;
    padding:clamp(15px, 3vw, 30px);
    text-align:center;
    border:2px solid var(--text-color);
    border-radius:18px;
    background:white;
    box-shadow:0 4px 12px rgba(0,0,0,0.12);
	box-sizing: border-box;
}

.home-img h1{
    margin:0 0 20px 0;
    font-size:clamp(1.8rem, 4vw, 2.6rem);
    color:var(--text-color);
    padding-bottom:0;
}

.gallery-intro{
    max-width:700px;
    margin:0 auto 25px auto;
    font-size:18px;
    line-height:1.5;
    color:var(--text-color);
}

.gallery-layout{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:clamp(10px, 2vw, 20px);
}

.gallery-small-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:clamp(6px, 1vw, 10px);
}

.gallery-small-grid img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:12px;
    border:2px solid var(--text-color);
    display:block;
}

.gallery-big-slider{
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:12px;
    border:2px solid var(--text-color);
}

.gallery-big-slider img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    animation:slider 16s infinite;
}

/* Bild 1 */
.gallery-big-slider img:nth-child(1){
    animation-delay:0s;
}

/* Bild 2 */
.gallery-big-slider img:nth-child(2){
    animation-delay:4s;
}

/* Bild 3 */
.gallery-big-slider img:nth-child(3){
    animation-delay:8s;
}

/* Bild 4 */
.gallery-big-slider img:nth-child(4){
    animation-delay:12s;
}

@keyframes slider{
    0%{
        opacity:0;
    }
    5%{
        opacity:1;
    }
    25%{
        opacity:1;
    }
    30%{
        opacity:0;
    }
    100%{
        opacity:0;
    }
}

@media (max-width: 950px){

    .gallery-layout{
        grid-template-columns:1fr;
        max-width:100%;
        gap: 14px;
    }
	
	.home-img{
		padding: 12px;
		/*width: calc(100% - 24px);*/
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.gallery-small-grid{
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.gallery-small-grid img{
		width: 100%;
		aspect-ratio: 1/1;
	}
	
	.gallery-big-slider{
		width: 100%;
		aspect-ratio: 16/10;
	}
}

@media (max-width: 600px){

    .home-img{
        /*width:100%;*/
        padding:12px;
    }

    .gallery-layout{
        gap:12px;
    }

    .gallery-small-grid{
        gap:6px;
    }

    .gallery-small-grid img,
    .gallery-big-slider{
        border-radius:8px;
    }
}

@media (max-width: 480px){

    .gallery-small-grid{
        grid-template-columns:1fr;
    }

    .gallery-small-grid img{
        aspect-ratio:16/10;
    }

    .gallery-big-slider{
        aspect-ratio:16/10;
    }
}
/************************************************BILDGALERIE************************************************/