@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('/images/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: #162938;
}

a:hover {
    text-decoration: underline;
    color: #162938;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;

}


.logo {
    font-size: 1.6em;
    color: white;
    user-select: none;
}

.navigation a {
    position: relative;
    font-size: 1.1em;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;

}

.navigation a:hover::after {
    transform-origin: left;
    transform: scaleX(1);

}

.navigation .btnLogin-popup {
    width: 130px;
    height: 50px;
    background: transparent;
    border: 2px solid white;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: white;
    font-weight: 500;
    margin-left: 40px;
    transition: .5s;


}

.navigation .btnLogin-popup:hover {
    background: white;
    color: #162938;
}

.errorfenster {
    position: absolute;
    right: 100px;
    top: 100px;
    width: 400px;
    height: 40px;
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
    overflow: hidden;
    animation: fadein 0.5s ease normal;
    color: red;


}


@keyframes fadein {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.loginfenster {
    position: relative;
    width: 400px;
    height: 440px;
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
    transition: transform .5s ease, height .2s ease;
    overflow: hidden;
    transform: scale(0);


}

.loginfenster.active-popup {
    transform: scale(1);
}

.loginfenster.active {
    height: 740px;
}

.loginfenster .log-form-box.login {
    transition: transform .18s ease;
    transform: translateX(0);
}

.loginfenster.active .log-form-box.login {
    transition: none;
    transform: translateX(-400px);
}

.loginfenster .log-form-box {
    width: 100%;
    padding: 40px;
}



.loginfenster .log-form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}

.loginfenster.active .log-form-box.register {
    transition: transform .18s ease;
    transform: translateX(0);
}

.loginfenster .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;


}

.loginfenster h2 {
    color: #162938;
    font-size: 2em;
    text-align: center;
}




.log-input-box {
    position: relative;
    width: 100%;
    height: 50px;

    border-bottom: 2px solid #162938;
    margin: 30px 0;

}

.log-input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.log-input-box input:focus~label,
.log-input-box input:valid~label {
    top: -5px;
}

.log-input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;


}

.log-input-box .loginicon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 57px;

}

.logbtn {
    width: 100%;
    height: 45px;
    background: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: .5s;
}

.logbtn:hover {
    background-color: #684e66;

}

.remember-forgot {
    font-size: 0.9em;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
}

.remember-forgot a {
    color: #162938;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.login-register {
    font-size: .9em;
    color: #162938;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

.login-register p a {
    color: #162938;
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover {
    text-decoration: underline;
}

/* Memberbereich */

.fensterbereich {
    position: absolute;
    top: 100px;
    width: 100%;
    display: block;
    justify-content: center;
    padding: 20px 100px;

}

.profiledit-box {
    color: #162938;
    font-size: 1.1em;
    position: relative;
    width: 400px;
    height: 650px;
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, .5);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
    overflow: hidden;
    padding: 10px;
    animation: fadein 0.5s ease normal;
}

.profiledit-box .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    z-index: 1;
}

.profiledit-box .icon-close a{
    color: white;
    text-decoration: none;    
    cursor: pointer;
}

.profiledit-box h2 {
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    margin-bottom: 3px;
}

.profil-input-box {
    position: relative;
    width: 100%;
    height: 35px;

    border-bottom: 2px solid #162938;
    margin: 30px 0;

}

.profil-input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.profil-input-box input:focus~label,
.profil-input-box input:valid~label {

    font-size: 0.6em;
    top: -5px;
}

.profil-input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;

}

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

.profiledit-btn button{
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 35px;
    background: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: .5s;
}

.profiledit-btn button:hover {
    background-color: #684e66;

}

.profil-img-box {
    display: flex;
    justify-content: center;
}

.profil-img-box img {
    height: 200px;
    border-radius: 5px;
    background: white;
    padding: 5px;
}

.profil-input-box > input[type="file"] {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.8em;
    height: 30px;


}

.profil-input-box > input::file-selector-button {
    position: absolute;
    width: 40%;
    right: 0;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #162938;
    color: white;
    cursor: pointer;
    padding: 3px 5px;
    transition: .5s;
}
.profil-input-box > input::file-selector-button:hover {
    background-color: #684e66;

}


.spieledit-box {
    color: #162938;
    font-size: 1.1em;
    position: relative;
    width: 400px;
    height: 650px;
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, .5);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
    overflow: scroll;
    padding: 10px;
    animation: fadein 0.5s ease normal;
}

.spieledit-box .icon-close {
    position: fixed;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    z-index: 1;
}

.spieledit-box .icon-close a{
    color: white;
    text-decoration: none;    
    cursor: pointer;
}

.spieledit-box h2 {
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    margin-bottom: 3px;
}


.spiel-input-box {
    position: relative;
    width: 100%;
    height: 35px;

    border-bottom: 2px solid #162938;
    margin: 30px 0;

}

.spiel-input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    font-size: 0.6em;
    top: -15px;
    color: #162938;
    font-weight: 500;
    pointer-events: none;

}



.spiel-input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;

}

.spiel-input-box select {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;

}

.spiel-textarea-box {
    position: relative;
    width: 100%;
    height: 70px;

    border-bottom: 2px solid #162938;
    margin: 30px 0;

}

.spiel-textarea-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    font-size: 0.6em;
    top: -15px;
    color: #162938;
    font-weight: 500;
    pointer-events: none;

}

.spiel-textarea-box textarea {
    width: 100%;
    height: 60px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
    resize: none;

}

.spiel-input-box > input[type="checkbox"] {
    width: 25px;
    height: 25px;
    background: transparent;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 15px;
    border-radius: 10px;

}

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

.spieledit-btn button{
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 35px;
    background: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: .5s;
}

.spieledit-btn button:hover {
    background-color: #684e66;

}

.spiel-img-box {
    display: flex;
    justify-content: center;
}

.spiel-img-box img {
    height: 200px;
    border-radius: 5px;
    background: white;
    padding: 5px;
}

.spiel-input-box > input[type="file"] {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.8em;
    height: 30px;


}

.spiel-input-box > input::file-selector-button {
    position: absolute;
    width: 40%;
    right: 0;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #162938;
    color: white;
    cursor: pointer;
    padding: 3px 5px;
    transition: .5s;
}
.spiel-input-box > input::file-selector-button:hover {
    background-color: #684e66;

}







.fenster {
    color: #162938;
    font-size: 1.1em;
    position: relative;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, .5);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
    overflow: hidden;
    padding: 10px;

}

.fenster .icons {
        position: absolute;
        top: 0;
        right: 0;
        width: 70px;
        height: 30px;
        background: #162938;
        font-size: 1.1em;

        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom-left-radius: 20px;

        z-index: 1; 
}

.fenster .icons a { 
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: .5s;

}
.fenster .icons a:hover { 
    color: #684e66;
}


.fenster h3 {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 5px;
}

.fenster.animationfenster1 {
    animation: fadein 0.5s ease-out normal backwards;
}

.fenster.animationfenster2 {
    margin-top: 20px;
    animation: fadein 0.5s ease-out normal backwards;
    animation-delay: 200ms;
}

.fenster h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #162938;
    margin-bottom: 5px;
}

.suchleiste {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 20px;
}

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

.suchleisten-input {
    margin-left: 20px;
    height: 25px;
    width: 300px;    
    border-bottom: 2px solid #162938;
}

.suchleisten-input input {
    border: none;
    padding: 2px 2px 2px 25px;
    outline: none;
    height: 25px;
    color: #162938;
    background: transparent;
    font-size: 1em;
    font-weight: 500;
}

.suchleisten-input .search-icon {
    position: absolute;
    left: 30px;
    font-size: 0.8em;
    color: #162938;
    line-height: 27px;
}

.search button {
    height: 25px;
    border: none;
    color: white;
    background: #162938;
    border-radius: 5px;
    width: 100px;
    font-weight: 500;
    transition: .5s;
    cursor: pointer;
    margin-left: 20px;
}

.suchleiste button:hover {
    background-color: #684e66;
}


.tab_room {
    display: grid;
    grid-template-columns: 200px 300px 1fr 100px;
}

.raum {
    display: grid;
    grid-template-columns: 215px 1fr;
}

.raum img {
    width: 200px;
    border-radius: 5px;
    background: white;
    padding: 5px;
}

.raumliste {
    display: grid;
    grid-template-columns: 110px 1fr 100px 100px;
}

.tab_member {
    display: grid;
    grid-template-columns: 200px 200px 200px 1fr;
}

.member {
    display: grid;
    grid-template-columns: 215px 260px 1fr;
}

.member img {
    width: 200px;
    border-radius: 5px;
    background: white;
    padding: 5px;
}

.membergames {
    display: grid;
    grid-template-columns: 120px 300px 250px 1fr 100px 100px;
}

.games {
    display: grid;
    grid-template-columns: 365px 1fr;
}

.games img {
    width: 350px;
    border-radius: 5px;
    background: white;
    padding: 5px;
}

.tab_header {
    color: #162938;
    font-weight: 500;
    font-size: 1.1em;
    border-bottom: 2px solid #162938;
    margin-bottom: 5px;
}

.tab_header a {
    color: #162938;
    text-decoration: none;
}

.tab_zeile {
    color: #162938;

}

.tab_zeile a {
    color: #162938;
    text-decoration: none;

}

.tab_zeile:hover {

    background: #684e66;

}

.bezeichnung {
    color: #b9aab8;
    font-size: 0.8rem;
}



