@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 {
    min-height: 100vh;
    background: url('/img/NekoNet.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


nav {
    min-height: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #162938;
    color: white;
    z-index: 99;
    position: fixed;
    top: 0px;
    

}

.navlogo {
    margin: 10px;
    font-size: 30px;
    z-index: inherit;
}

nav ul {
    display: flex;
    z-index: inherit;
}

nav ul li {
    height: 100%;
    padding: 15px;
    list-style-type: none;
    border-bottom: 4px solid #162938;

}

nav ul li:hover {
    border-bottom: 4px solid #f39dec;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-family: sans-serif;
}

.toggle-button {
    position: absolute;
    top: 19px;
    right: 17px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 27px;
    height: 18px;
}

.toggle-button .bar {
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 100px;
}


/* LogIn-Fenster */

.centerbereich {
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;

}

.loginfenster {
    position: relative;
    width: 400px;
    height: 400px;
    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;



}


.loginfenster.active {
    height: 540px;
}

.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 h2 {
    color: white;
    font-size: 2em;
    text-align: center;
}




.log-input-box {
    position: relative;
    width: 100%;
    height: 50px;

    border-bottom: 2px solid white;
    margin: 30px 0;

}

.log-input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #d8d8d8;
    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: white;
    font-weight: 600;
    padding: 0 35px 0 5px;


}

.log-input-box .loginicon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: white;
    line-height: 57px;

}

.logbtn {
    width: 100%;
    height: 45px;
    background: #00243f;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: .5s;
}

.logbtn:hover {
    background-color: #070027;

}

.remember-forgot {
    font-size: 0.9em;
    color: #d8d8d8;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #d8d8d8;
    margin-right: 3px;
}

.remember-forgot a {
    color: #d8d8d8;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.login-register {
    font-size: .9em;
    color: #d8d8d8;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

.login-register p a {
    color: #d8d8d8;
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover {
    text-decoration: underline;
}

/* area-member-start */

.mainarea {
    display: flex;
    justify-content: center;
}

.boxeigenschaften {
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, .5);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
}

.area_member_start {
    margin-top: 70px;
    margin-left: 100px;
    margin-right: 100px;
    width: 95%;
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr 1fr 1fr;

}


.area_member_start .username {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #162938;
    font-size: 20px;
    font-weight: bold;

}

.area_member_start .raumzahl {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #162938;
    font-size: 20px;
    font-weight: bold;

}

.area_member_start .erfolgsquote {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #162938;
    font-size: 20px;
    font-weight: bold;

}

.area_member_start .dates {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    padding: 3px 10px;
    color: #162938;

}

.area_member_start .lastgames {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    padding: 3px 10px;
    color: #162938;

}




@media(max-width:700px) {
    .navlinks {
        display: none;
        width: 100%;
    }
    .toggle-button {
        display: flex;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;

    }
    .navlinks ul {
        flex-direction: column;
        width: 100%;

    }

    .navlinks li {
        text-align: center;
    }
    .navlinks.active{
        display: flex;
    }

    .loginfenster {
        max-width: 400px;
        width: 95%;
    }

    .area_member_start {
        margin-top: 70px;
        margin-left: 10px;
        margin-right: 10px;
        width: 95%;
        display: grid;
        gap: 0.5em;
        grid-template-columns: 1fr 1fr;
    
    }
    
    
    .area_member_start .username {
        grid-column: 1 / 3;
        grid-row: 1 / 2;

    
    }
    
    .area_member_start .raumzahl {
        grid-column: 1 / 2;
        grid-row: 2 / 3;

    
    }
    
    .area_member_start .erfolgsquote {
        grid-column: 2 / 3;
        grid-row: 2 / 3;

    
    }
    
    .area_member_start .dates {
        grid-column: 1 / 3;
        grid-row: 3 / 4;

    
    }
    
    .area_member_start .lastgames {
        grid-column: 1 / 3;
        grid-row: 4 / 5;

    
    }
    
    



}