/* BODY --------------------------------------------------------------------------- */
body {
    margin: 0px;
    font-family: sans-serif;
    background-color: rgb(237, 235, 232) !important;
}

/* GRID --------------------------------------------------------------------------- */
.container {
    display: grid;
    grid-template-columns: 950px 950px;
    grid-template-rows: 80px 80px auto 80px;
    grid-gap: 5px;
}

header {
    background-color: rgb(237, 235, 232);
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}

nav {
    background-color: rgb(237, 235, 232);
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
}

main {
    color: black;
    background-color: rgb(237, 235, 232);
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
}

footer {
    color: rgb(237, 235, 232);
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
    background-color: rgb(8, 55, 107);
}

/* Header --------------------------------------------------------------------------- */
.headed {
    display: none;
}

/* NAVIGATION --------------------------------------------------------------------------- */
nav h1 {
    color: rgb(8, 55, 107);
    margin-bottom: 0%;
    text-align: center;
    padding-bottom: 10px;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 30px;
    font-size: 20px;
}

.navi {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

nav a {
    color: rgb(8, 55, 107);
    text-decoration: none;
}

.initials-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(8, 55, 107);
    font-weight: bold;
    margin-left: 10px;
}

.initials-circle a {
    color: inherit;
    /* übernimmt die Farbe von Eltern */
    text-decoration: none;
}

.initials-circle:hover::after {
    content: attr(data-fullname);
    position: absolute;
    margin-top: 5%;
    /*Justiere die Position des Tooltips nach Bedarf */
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 999;
}

.initials-circle:hover .full-name {
    display: block;
}

.HRNav {
    height: 1px;
    background-color: rgb(8, 55, 107);
    margin-bottom: 2%;
}


/* FOOTER --------------------------------------------------------------------------- */
footer {
    display: flex;
    flex-direction: column;
    min-height: 10%;
    justify-content: center;
}

.footerContent {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding-top: 30px;
}

.footerContact {
    width: 400px;
    margin-left: 30px;
}

.footerContact h5 {
    font-size: 16px;
    font-weight: 200;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footerGart img{
    width: 80%;
    margin-bottom: 30px;
}

.footerInvitaExam img{
    width:80%;
    margin-bottom: 30px;
} 

.Loggo {
    display: flex;
    justify-content: space-around;
    align-items: start;
    width: 400px;
}

#InvitaExamLoggo {
    width: 350px;
    margin-bottom: 30px;
}

/* START --------------------------------------------------------------------------- */
.personen {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    margin-bottom: 50px;
}

.personenGastgeber,
.personenGast {
    color: black;
    border: solid black 4px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    width: 25%;
}

.userimg {
    margin-top: 10px;
    width: 40%;
    height: auto;
}

.personenText {
    text-align: center;
}


/* Über UNS SEITE ---------------------------------------------------------------------------*/
.ueberUns {
    display: flex;
    justify-content: space-around;
}

.AboutUs,
.Happy {
    width: 40%;
    max-width: 500px;
}

.AboutUs {
    text-align: left;
    margin-left: 50px;
    margin-right: 40px;
}

.Happy {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin-left: 40px;
    margin-right: 50px;
    color: rgb(255, 255, 255);
    background-color: rgb(8, 55, 107);
    padding-bottom: 20px;
}

.HappyCustomers {
    width: 80%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Zentriert vertikal */
    justify-content: center;
    /* Zentriert horizontal */
    height: 100%;
}

.HappyCustomers .carousel {
    width: 100%;
    /* Das Karussell nimmt die gesamte Breite */
    height: 100%;
    /* Das Karussell nimmt die gesamte Höhe */
}

.ImagesCarousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Zentriert vertikal */
    justify-content: center;
    /* Zentriert horizontal */
    text-align: center;
    width: 100%;
    /* Das Karussell nimmt die gesamte Breite */
    height: 100%;
    /* Das Karussell nimmt die gesamte Höhe */
}

.ImagesCarousel .carousel-item {
    display: flex;
    justify-content: center;
    /* Zentriert horizontal */
    flex: 1;
    /* Verwenden Sie Flex, um die Bilder gleich groß zu machen */
}

.ImgCarousel {
    max-width: 70%;
    max-height: 100%;
}

.carousel-indicators .active,
.carousel-indicators li {
    background-color: rgb(255, 255, 255) !important;
}

/* passwortEMAIL ---------------------------------------------------------------------------*/
.h3passwortEmail {
    font-size: x-large;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 5%;
}

.grid-container2pV {
    display: grid;
    grid-template-columns: 45% 45%;
}

.grid-item3pV input {
    width: 100%;
    margin-bottom: 20px !important;
}

/* MAIL ---------------------------------------------------------------------------*/
.mailbestaetigen {
    padding-bottom: 2%;
    text-align: center;
}

/* 404  ---------------------------------------------------------------------------*/
.Div404 {
    text-align: center;
}

/* Gastgeber/Gast HOME ANGEMELDET---------------------------------------------------------------------------*/
.Profil {
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
    justify-content: space-around;
}

.userProfil,
.passwort-aendern,
.abmelden {
    width: 40%;
    max-width: 500px;
    padding-left: 50px;
}

.abmelden {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Gast/Gastgeber HOME NICHT ANGEMELDET --------------------------------------------------------------------------- */
.beides {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.anmelden,
.registrieren,
.passwortVergessen,
.passwortNeuSetzen {
    color: rgb(0, 0, 0);
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
    border: solid black 4px;
    width: 450px;
}

.anmelden,
.passwortVergessen {
    margin-top: 30%;
}

.registrieren {
    margin-top: 5%;
}

form label {
    color: rgb(0, 0, 0);
}

form input[type="text"],
form input[type="password"],
form input[type="email"] {
    background-color: white;
    color: black;
    padding: 5px;
    margin: 5px;
    border: 1px solid black;
    border-radius: 3px;
}

form input[type="submit"] {
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 10px 15px;
    border: black solid 1px;
    border-radius: 5px;
    cursor: pointer;
}

.grid-container2 {
    display: grid;
    grid-template-columns: auto 5px auto;
}


/* -------------------------------------------------------------------- Gastgeber --------------------------------------------------------------------------- */

/* Gastgeber ERFASSEN --------------------------------------------------------------------------- */
.schreiben {
    display: flex;
    justify-content: center;
}

.einladungen {
    border: 4px solid black;
    width: 60%;
    padding-bottom: 2%;
    margin-bottom: 5%;
}

.titelEinladungen {
    text-align: center;
    padding-top: 3%;
    padding-bottom: 3%;
}

.einladung {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


.einladungsinfo {
    padding: 10px;
    width: 50%;
    margin-bottom: 20px;
}

.beruf {
    width: 55%;
    height: 25%;
    margin-top: 3px;
    margin-bottom: 3px;
}

#berufe {
    width: 80%;
}

.beschreibung {
    max-height: 50%;
    width: 100%;
    text-align: start;
    margin-top: 3px;
    margin-bottom: 3px;
}

.tischkonstellation {
    border: 2px solid black;
    padding: 10px;
    margin-bottom: 5px;
}

.tischkonstellation-container {
    margin-bottom: 5px;
    width: 40%;
}


#h5Tischkonstellation {
    font-size: small;
    padding-bottom: 8px;
}

.konstellationsanzahl {
    width: 15%;
    height: 5%;
    font-size: small;
}

.erfassung {
    display: flex;
    justify-content: end;
}

.erfassen {
    margin-right: 15%;
}

/* Gastgeber EVENTS --------------------------------------------------------------------------- */
.events {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.LinkButton {
    margin-top: 5%;
    width: 100%
}

.LinkAnmeldungenSehen {
    margin-top: 50%;
    font-size: larger;
    color: black;
    text-decoration: underline;
}

/* Gastgeber ANMELDUNGEN SEHEN ---------------------------------------------------------------------------*/

.personContainer {
    margin-left: 20px;
}

.personEntry {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /* Abstand zwischen den Blöcken */
}

.personInfo {
    display: flex;
    align-items: center;
}

.personDetails {
    margin-left: 10px;
    /* Abstand zwischen Checkbox und Text */
}

.buttons {
    margin-left: 30px;
    padding: 10px;
}

.titelEinladungenSehen {
    text-align: center;
    padding-bottom: 3%;
}

.loeschenGast,
.fertigeListe {
    margin-left: 5%;
    margin-right: 5%
}







/* -------------------------------------------------------------------- Gast --------------------------------------------------------------------------- */
/* Gast  EINLADUNGEN ---------------------------------------------------------------------------*/
/* class --> events ist bei Gastgeber EVENTS */
.LinkAnmelden {
    margin-left: 60%;
    margin-top: 10%;
    font-size: larger;
    color: black;
    text-decoration: underline;
}

.filters{
    display: flex;
    gap: 1rem;
    margin-left: 20%;
    margin-bottom: 20px;
}

/* Gast  ANMELDEN1 ---------------------------------------------------------------------------*/
.anzPersonen {
    margin-top: 15%;
}

#quantity {
    width: 60%;
}

.ButtonsZurUndVor {
    display: flex;
    justify-content: space-between;
}

.ZuruekZuEinladungen,
.WeiterZu2 {
    margin-left: 10%;
    margin-right: 10%
}

/* Gast  ANMELDEN2 ---------------------------------------------------------------------------*/
.Input2 {
    background-color: white;
    color: black;
    padding: 5px;
    margin: 5px;
    border: 1px solid black;
    border-radius: 3px;
}

.PersonenDetails {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5%;
}

.ZuruekZu1,
.WeiterZu3 {
    margin-left: 10%;
    margin-right: 10%
}

/* Gast  ANMELDEN3 ---------------------------------------------------------------------------*/
.bedinungen {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2%;
}

.CheckboxenBedinungen {
    width: 100%;
    margin-left: 5%;
    margin-bottom: 5%;

}

.ZuruekZu2,
.WeiterZu4 {
    margin-left: 5%;
    margin-right: 5%
}

/* Gast  ANMELDEN4 ---------------------------------------------------------------------------*/

.PersonenDetails4 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 5%;
}

.Persona {
    padding: 5%;
}

.CheckboxAnmeldung4 {
    margin-left: 5%;
    margin-bottom: 5%;
}

.ZuruekZu3,
.AnmeldungBestaetigen {
    margin-left: 5%;
    margin-right: 5%
}


.pEinladung4HinweisEmailVersand{
    color: black;
    text-align: center;
    font-size: 18px;
}










/*------------------------- RESPONSIVE DESIGN -----------------------------------------------------------------------------*/


@media screen and (max-width:768px) {


    /* Header --------------------------------------------------------------------------- */
    .headerDiv {
        display: flex;
        justify-content: center;
    }

    header h1 {
        color: rgb(8, 55, 107);
        margin-right: 5%;
        text-align: center;
    }

    header a {
        color: rgb(8, 55, 107);
    }

    .headed {
        display: block !important;
        padding: 30px
    }


    .NavBarColors {
        background-color: rgb(237, 235, 232) !important;
        color: rgb(8, 55, 107) !important;
    }

    .navbar-toggler {
        background-color: rgb(8, 55, 107) !important;
        border-color: rgb(8, 55, 107) !important;
    }

    .HRHeader {
        height: 1px;
        background-color: rgb(8, 55, 107);
        margin: 1px;
    }

    /* NAVIGATION --------------------------------------------------------------------------- */
    .naved {
        display: none !important;
    }



    /* FOOTER --------------------------------------------------------------------------- */
    .Loggo {
        display: flex;
        justify-content: space-around;
        align-items: start;
        width: 100%;
    }

    #InvitaExamLoggo {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .row {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .footerContact {
        width: 400px;
        margin-left: 1px;
    }

    /* START --------------------------------------------------------------------------- */
    .personen {
        justify-content: space-evenly;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .personenGastgeber,
    .personenGast {
        color: black;
        border: solid black 4px;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        align-items: center;
        width: 75%;
        margin-bottom: 20px;
    }

    .personenText {
        text-align: center;
        font-size: medium;
    }

    /* Über UNS SEITE ---------------------------------------------------------------------------*/
    .ueberUns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .AboutUs,
    .Happy {
        width: 90%;
    }

    .AboutUs {
        text-align: left;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .Happy {
        text-align: center;
        display: flex;
        flex-flow: column;
        align-items: center;
        margin-left: 20px;
        margin-right: 20px;
        color: rgb(255, 255, 255);
        background-color: rgb(8, 55, 107);
    }

    .ImgCarousel {
        max-width: 70%;
        max-height: 100%;
        padding-bottom: 20px;
    }

    /* passwortEmail  ---------------------------------------------------------------------------*/
    .h3passwortEmail {
        font-size: x-large;
        padding-left: 5%;
    }

    .grid-container2pV {
        display: grid;
        grid-template-columns: 80% ;
    }
    
    .grid-item3pV input {
        margin-bottom: 20px !important;
        width: 100%;
    }
    

    /* MAILPAGE  ---------------------------------------------------------------------------*/
    .mailbestaetigen {
        padding-left: 10%;
    }

    /* 404  ---------------------------------------------------------------------------*/
    .Div404 {
        text-align: center;
    }

    .Img404 {
        width:60%
    }

    /* Gastgeber/Gast HOME ANGEMELDET---------------------------------------------------------------------------*/
    .Profil {
        padding-top: 2%;
        padding-bottom: 2%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .abmelden {
        display: flex;
        align-items: center;
        justify-content: left;
        margin-top: 10%
    }

    .userProfil {
        margin-bottom: 0px;
    }

    .userProfil,
    .passwort-aendern,
    .abmelden {
        width: 95%;
        padding-left: 30px;
    }

    .passwort-aendern {
        word-wrap: normal;
    }

    .grid-item1 {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    .grid-item3 {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    /* Gast/Gastgeber HOME NICHT ANGEMELDET --------------------------------------------------------------------------- */
    #h1RegSeite {
        font-size: xx-large !important;
        width: 95%;
        margin-left: 3%;
        text-align: center;
    }

    .anmelden,
    .passwortVergessen {
        margin-top: 10%;
        width: auto;
    }

    .beides {
        width: 90%;
        margin-left: 15px;
    }

    /* Gastgeber ERFASSEN --------------------------------------------------------------------------- */
    .einladungen {
        border: 4px solid black;
        width: 90%;
        padding-bottom: 2%;
        margin-bottom: 5%;
    }

    .einladung {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .einladungsinfo {
        padding: 10px;
        width: 90%;
        margin-bottom: 20px;
    }

    .tischkonstellation-container {
        margin-bottom: 3%;
        width: 90%;
    }

    .tischkonstellation {
        border: 2px solid black;
        padding: 10px;
    }

    /* Gastgeber EVENTS --------------------------------------------------------------------------- */
    .LinkAnmeldungenSehen {
        margin-top: 15%;
        font-size: larger;
        color: black;
        text-decoration: underline;
        text-align: center;
    }

    .titelEinladungenSehen {
        text-align: center;
        padding-bottom: 3%;
        font-size: x-large;
    }



    /* Gast  EINLADUNGEN ---------------------------------------------------------------------------*/
    .LinkAnmelden {
        margin-left: 50%;
        margin-top: 5%;
        font-size: larger;
        color: black;
        text-decoration: underline;
    }
}










@media screen and (max-width:1000px) {

    /* NAVIGATION --------------------------------------------------------------------------- */
    .navi {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }


    /* START --------------------------------------------------------------------------- */
    .personen {
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .personenGastgeber,
    .personenGast {
        color: black;
        border: solid black 4px;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        align-items: center;
        width: 60%;
        margin-bottom: 20px;
    }

    .personenText {
        text-align: center;
        font-size: xx-large;
    }


    /* Über UNS SEITE ---------------------------------------------------------------------------*/
    .ueberUns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .AboutUs,
    .Happy {
        width: 90%;
    }

    .AboutUs {
        text-align: left;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .Happy {
        text-align: center;
        display: flex;
        flex-flow: column;
        align-items: center;
        margin-left: 20px;
        margin-right: 20px;
        color: rgb(255, 255, 255);
        background-color: rgb(8, 55, 107);
    }

    .ImgCarousel {
        max-width: 70%;
        max-height: 100%;
        padding-bottom: 20px;
    }

    /* passwortEmail  ---------------------------------------------------------------------------*/
    .h3passwortEmail {
        font-size: x-large;
        padding-left: 5%;
    }

    /* MAILPAGE  ---------------------------------------------------------------------------*/
    .mailbestaetigen {
        padding-left: 10%;
    }



    /* Gastgeber/Gast HOME ANGEMELDET---------------------------------------------------------------------------*/
    .Profil {
        padding-top: 2%;
        padding-bottom: 2%;
        display: flex;
        flex-wrap: wrap;
    }

    .userProfil,
    .passwort-aendern,
    .abmelden {
        width: 45%;
        max-width: 600px;
        padding-left: 50px;
    }

    .abmelden {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        margin-right: 60%;
    }



    /* Gast/Gastgeber HOME NICHT ANGEMELDET --------------------------------------------------------------------------- */

    #h1RegSeite {
        font-size: x-large !important;
        width: 95%;
        margin-left: 3%;
    }

    .anmelden,
    .passwortVergessen {
        margin-top: 10%;
    }


    /* Gastgeber ERFASSEN --------------------------------------------------------------------------- */
    .einladungen {
        width: 90%;
    }

    .beschreibung {
        max-height: 50%;
    }


    /* Gastgeber EVENTS --------------------------------------------------------------------------- */
    .LinkAnmeldungenSehen {
        margin-top: 15%;
        font-size: larger;
        color: black;
        text-decoration: underline;
        text-align: center;
    }

    .titelEinladungenSehen {
        text-align: center;
        padding-bottom: 3%;
        font-size: x-large;
    }



    /* Gast  EINLADUNGEN ---------------------------------------------------------------------------*/
    .LinkAnmelden {
        margin-left: 50%;
        margin-top: 5%;
        font-size: larger;
        color: black;
        text-decoration: underline;
    }
}