
/* RELATIONS */

.profil_flex {
    display: flex;
    flex-wrap: wrap;
}

.relab_box {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.rela_box {
    margin-top: 5px;
}

.rela_descr {
    height: 79px;
    overflow: auto;
    padding: 5px 7px;
    text-align: justify;
    color: #D4E0EA;
    font-size: 11px;
    line-height: 1.5;
}

.relab_box img {
    width: 90px;
    border: 1px solid rgba(119, 117, 242, 0.35);
}

/* NAMENSBALKEN MIT DESIGN-ECKEN */

.relaname {
    position: relative;
    text-align: center;
    background: linear-gradient(
        115deg,
        #10282B 0%,
        #192D3C 55%,
        #252342 100%
    );
    color: #00B847;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 5px;

    border: 1px solid rgba(0, 184, 71, 0.25);
}

/* OBERE LINKE UND UNTERE RECHTE ECKE */

.relaname::before,
.relaname::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 12px;
    pointer-events: none;
}

.relaname::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid #00B847;
    border-left: 3px solid #00B847;
}

.relaname::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid #00B847;
    border-right: 3px solid #00B847;
}

/* EINZELNE RELATIONSBOXEN */

.relas {
    width: 48%;
    height: 280px;
    margin: 5px;
    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        rgba(16, 40, 43, 0.65) 0%,
        rgba(25, 45, 60, 0.65) 55%,
        rgba(37, 35, 66, 0.65) 100%
    );

    border: 1px solid rgba(119, 117, 242, 0.2);
    padding: 6px;
}

.relas_td img {
    width: 80px;
    height: auto;
    border: 1px solid rgba(0, 184, 71, 0.3);
}

/* INNERER RELATIONS-CONTAINER */

.relas_innerbox {
    overflow: auto;
    height: 250px;
    display: flex;
    flex-wrap: wrap;
}

.relation {
    height: 200px;
    overflow: auto;
}

/* KATEGORIEÜBERSCHRIFTEN */

.relakat {
    position: relative;
    color: #D4E0EA;
    background: linear-gradient(
        90deg,
        rgba(0, 184, 71, 0.12) 0%,
        rgba(119, 117, 242, 0.08) 100%
    );

    border-bottom: 1px solid rgba(0, 184, 71, 0.4);
    border-left: 3px solid #00B847;

    padding: 8px 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* FAKTEN UND ZUSATZINFORMATIONEN */

.rela_facts {
    color: #A9A7FF;
    font-size: 11px;
    text-decoration: none;
    display: inline;
    text-transform: uppercase;
    font-weight: 600;
}

.rela_facts a {
    color: #A9A7FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rela_facts a:hover {
    color: #00B847;
}
