@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');


:root {
    --titelbg: #0b4400b3;
    --titeltext: white;
    --linien: #007206;
    --liniehover: #008000;
    --fensterbg: #2c2c2ccc;
    --fenstertext: white;
    --textfeldhover: #0096201a;
    --button: #004406;
    --buttonhover: #008000;
    --editbuttonhover: darkred;
    --formbg: #0028002d;
    --selectfeld: rgb(32, 32, 32);
    --selectfeldselect: rgb(0, 56, 0);
    --kommentar: rgb(187, 187, 187);

    --abrunden: 10px;
    
    --dunkles: rgb(93, 141, 93);
    --hellesa: #5d8d5d;
    --dunklesa: rgba(50, 80, 50, 0.7);
    --weiss: white;


  }

body {
    padding: 20px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: black;
    color: white;

    background-position: center;
    font-size: 4vw;

}

.grid {
    width: 100%;
}


/* Allgemeines */

.logo {
    height: 70px;
}

.header {
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;


}



.nachrichtlink {



    text-decoration: none;
    color: white;
}

.postheader {
    display: flex;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.nachricht {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 10px;
}

.nachricht.msg_ungelesen {
    background: #004406;
}

.nachricht.msg_gelesen {
    background: #002003;
}

.nachricht .msg_header {
    display: flex;
    justify-content: space-between;
    color: white;
    padding: 10px;
}

.nachricht .msg {
    color: white;
    padding: 10px;
}


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

.log-form-box header {
    color: #5d8d5d;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}




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

    border-bottom: 2px solid #5d8d5d;
    margin: 60px 0;

}

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

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

.log-input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.3em;
    color: var(--weiss);
    font-weight: 600;
    padding: 0 35px 0 5px;


}

.log-input-box .loginicon {
    position: absolute;
    right: 8px;
    font-size: 1.3em;
    color: #5d8d5d;
    line-height: 120px;

}

.logbtn {
    width: 100%;
    height: 150px;
    background: var(--dunklesa);
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--weiss);
    cursor: pointer;
}
.logbtn:hover {
    background-color: #5d8d5d;
}

.fehlermsg {
    color: red;
    font-style: oblique;
}


.titelnavi a {
    position: relative;
    color: var(--weiss);
    text-decoration: none;
    margin-left: 20px;
    font-size: 20px;
}

.titelnavi a:hover {
    text-decoration: underline;
}

.titelnavi i {
    color: var(--weiss);
    font-size: 25px;
    margin-left: 16px;
    transition: color .5s;

}
.titelnavi i:hover {
    color: #5d8d5d;
    transition: color .5s;
}

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

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

.fenster {
    background: transparent;
    border: 2px solid var(--dunklesa);
    backdrop-filter: blur(20px);
    overflow: hidden;
}
.fenster header {
    background-color: var(--dunklesa);
    font-weight: bold;
    color: var(--titeltext);
    padding: 5px 10px 5px 10px;
    justify-content: space-between;
    display: flex;
}
.fenster main {
    padding: 15px 15px 3px 15px;
    color: white;
}
.fenstermitte {
    border-radius: 10px;
}
.fensterlinks {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.position1 {
    animation: charfadein 0.5s ease-out normal backwards;
    animation-delay: 0;
}
.position2 {
    animation: charfadein 0.5s ease-out normal backwards;
    animation-delay: 150ms;
}
.position3 {
    animation: charfadein 0.5s ease-out normal backwards;
    animation-delay: 300ms;
}
@keyframes charfadein {
    0% {transform: scale(0);}
    100% {transform: scale(1);}
}

.listbox {
    overflow: scroll;
    height: 1fr;
}

/* Suchleiste */
.suchleiste {
    font-weight: bold;
    color: var(--titeltext);
    padding: 10px 10px 10px 10px;
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.suchleiste input {
    background: transparent;
    transition: background-color .5s;
    border-radius: 5px;
    border: none;
    color: var(--weiss);
    font-weight: bold;
    border-bottom: 2px solid var(--dunklesa);
    width: 200px;
    padding: 5px 5px;
    margin-left: 15px;
}
.suchleiste input:hover,
.suchleiste input:focus {
    background-color: var(--dunklesa);   
    transition: background-color .5s;

    outline: none;
}

.suchleiste button {
    outline: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    padding: 5px 15px;
    background: var(--dunklesa);
    color: var(--weiss);
    margin-left: 15px;
}
.suchleiste button:hover {
    background-color: #5d8d5d;
    cursor: pointer;
}
.suchleiste i {
    color: white;
    font-size: 22px;
    margin-left: 16px;
}
.suchleiste i:hover {
    color: var(--buttonhover);  
}

/* Listenanordnung */

.charlist {
    display: grid;
    grid-template-columns: 30px 150px 150px 60px 1fr 60px;
}
.dorflist {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.clanlist {
    display: grid;
    grid-template-columns: 300px 1fr;
}
.teamlist {
    display: grid;
    grid-template-columns: 200px 1fr;
}
.grouplist {
    display: grid;
    grid-template-columns: 1fr;
}

.msglist {
    display: grid;
    grid-template-columns: 30px 200px 200px 1fr 20px;
}


/* Tabellen */
.tab_header {
    color: var(--fenstertext);
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--fenstertext);
}
.tab_header > a {
    text-decoration: none;
    color: var(--fenstertext);
}
.tab_header > a:hover {
    text-decoration: none;
    color: var(--buttonhover);
}

.tab_zeile {
    text-decoration: none;
    color: var(--fenstertext);
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(0, 135, 0, 0.3);

}
.tab_zeile:hover {
    background-color: #5d8d5d;

}
.tab_zeile_ready {
    background-color: var(--formbg);
}
.tab_zeile a {
    color: var(--fenstertext);
    text-decoration: none;
}
.tab_zeile i {
    margin-left: 3px;
    margin-right: 3px;
}
.tab_zeile i:hover {
    color: var(--editbuttonhover);  
}


.listenfenster {
    display: grid;
    grid-template-rows: 80px 1fr;
    width: 99.2%;
    height: 99.2%;
    grid-template-areas: 
    "listheader"
    "listzeilen";
    background: transparent;
    border: 2px solid var(--dunklesa);
    backdrop-filter: blur(20px);
    overflow: hidden;
    border-radius: 10px;
}

.listenfenster-header {
    grid-area: listheader;
    border-bottom: 2px solid var(--dunklesa);

}

.listenfenster-header .listentitel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--dunklesa);
    color: white;
    width: 200px;
    height: 32px;
    font-size: 1.4em;
    font-weight: 600;
    border-bottom-right-radius: 10px;
}

.listenfenster-header .searchbar {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 190px;
    width: 300px;
    height: 30px;
    border-bottom: 2px solid var(--dunklesa);
    border-right: 2px solid var(--dunklesa);
    border-bottom-right-radius: 10px;
}

.listenfenster-header .searchbar input{
    margin-left: 20px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    width: 240px;
    font-size: 1em;
}

.listenfenster-header .searchbar button {
    border: none;
    outline: none;
    background: transparent;
    color: white;
    width: 30px;
    font-size: 1em;
    cursor: pointer;
}

.listenfenster-header .listicons {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 32px;
    background-color: var(--dunklesa);
    border-bottom-left-radius: 10px;
    font-size: 1.4em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.listenfenster-header .listicons a {
    color: white;
    text-decoration: none;

}

.listenfenster-header .listicons a:hover {
    color: #004406;
}

.listenfenster-header .searchbar button:hover {
    color: #004406;
}

.listenfenster-zeilen {
    grid-area: listzeilen;
    overflow: scroll;
}

.listenfenster-header .tab_listenheader {
    margin-top: 45px;
    position: relative;
    bottom: 0;
    color: var(--fenstertext);
    font-weight: bold;
    padding: 10px;

}
.listenfenster-header .tab_listenheader > a {
    text-decoration: none;
    color: var(--fenstertext);
}
.listenfenster-header .tab_listenheader > a:hover {
    text-decoration: none;
    color: var(--buttonhover);
}

.listenfenster-zeilen .tab_listenzeile {
    padding: 10px;
    text-decoration: none;
    color: var(--fenstertext);
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(0, 135, 0, 0.3);

}
.listenfenster-zeilen .tab_listenzeile:hover {
    background-color: #5d8d5d;

}
.listenfenster-zeilen .tab_listenzeile {
    background-color: var(--formbg);
}
.listenfenster-zeilen .tab_listenzeile a {
    color: var(--fenstertext);
    text-decoration: none;
}
.listenfenster-zeilen .tab_listenzeile i {
    margin-left: 3px;
    margin-right: 3px;
}
.listenfenster-zeilen .tab_listenzeile i:hover {
    color: var(--editbuttonhover);  
}



