/* Gesamter Container */
.pairview_container {
    max-width: 1100px;
    background-color: var(--col8);
}

/* Header */
.pairview_header {
    background-color: #272733;
    background-image: url(https://burning-ashes.de/img/asfalt-light.png);
    color: var(--highlight);
    text-align: center;
    padding: 5px;
    border-bottom: 3px solid var(--highlight);
    text-shadow: 1px 2px 2px #000;
    font-family: 'Fjalla One', sans-serif;
    font-size: 25px;
    text-transform: uppercase;
}

/* Menü Container */
.pairview_menu a {
    padding: 0px 5px 0px 5px;
	font-size: 20px;
}

/* Menü Container */
.pairview_menu_wrap {
    display: flex;
    justify-content: center;
	gap: 40px;
    margin-bottom: 20px;
    padding: 15px 0;
}

/* Inhalt (Kategorien) */
.pairview_content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 20px; /* Vertikaler Abstand: 20px, Horizontaler Abstand: 40px */
}

/* Wrapper für jede Kategorie */
.pairview_category_wrapper {
    background-color: var(--col8);
    overflow: hidden;
    box-sizing: border-box;
}

/* Kategorie-Header */
.pairview_cat {
	background-color: #272733;
    background-image: url(https://burning-ashes.de/img/asfalt-light.png);
    color: var(--highlight);
    text-align: center;
    padding: 5px;
    border-bottom: 3px solid var(--highlight);
    text-shadow: 1px 2px 2px #000;
    font-family: 'Fjalla One', sans-serif;
    font-size: 25px;
    text-transform: uppercase;
}

/* Paare */
.pairview_pairs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
	max-height:270px;
	overflow:auto;
	overflow-x:hidden;
}

/* Einzelne Paar-Box */
.pairview_pair {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    flex-wrap: nowrap;
}

/* Quadratische Bilder mit rundem Rahmen */
.pairview_lovers_pic {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid var(--highlight);
    margin: 0 20px;
    overflow: hidden;
    position: relative;
}

/* Bild selbst */
.pairview_lovers_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Namen der Liebenden */
.pairview_lovers {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
	width:280px;
	padding: 0px 5px 0px 5px;
}

/* Namen */
.lovername_left {
    font-size: 18px;
    color: var(--highlight);
    position: absolute;
    bottom: 20px;
    left: -15px;
    right: 50%;
    white-space: nowrap;
    z-index: 2;
    text-align: left;
	padding-left: 5px;
}

.lovername_right {
    font-size: 18px;
	color: var(--highlight);
    position: absolute;
    top: 20px;
    right: -15px;
    white-space: nowrap;
    z-index: 2;
    text-align: right;
	padding-right: 5px;
}

/* Herz in der Mitte */
.pairview_heart {
    font-size: 80px;
    color: #313168;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.8;
}

/* Optionen (Bearbeiten, Löschen) */
.pairview_options {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 1070px) {
    .pairview_category_wrapper {
        width: 100%;
    }
}
