/* Jsou tu defaultní barvy pro Brno, ale každé město je má nastavené pořádně znovu ve svém style-sheetu */

.nav{
    display: flex;
    justify-content: center;
    background-color: black;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}

.nav-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 100%;
    max-width: 1600px;
}

.tabs{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.tabs-inner{
    display: flex;
    align-items: end;
    gap:13px
}


.nav-link{
    background-color: #3a3e42;
    color: #a9a9a9;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: inset 0 -8px 6px -6px black;
    overflow: hidden;
}

.nav-link:hover{
    color: white;
}

.nav-link.active{
    background-color: #1A1A1A;
    box-shadow: none;
    color: white;
}

.nav-link div{
    height: 50px;
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    align-items: center;
}




.login_box{
    background-color: #3A3E42;
    color: #A9A9A9;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    align-self: center;
    padding-left: 5px;
    padding-right: 5px;
    height: 40px;
    font-size: 18px;
}

.login_box div form{
    margin: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.login_div input{
    background-color: #3A3E42;
    border-bottom: 1px solid black;
    border-left: none;
    border-right: none;
    border-top: none;
}

.password_div input{
    background-color: #3A3E42;
    border-bottom: 1px solid black;
    border-left: none;
    border-right: none;
    border-top: none;
}

.login_submit input{
    background-color: transparent;
    border-bottom: none;
}

.account_box{
    display: flex;
    align-items: end;
    gap: 13px
}

.player_id{
    color:white;
    display: inline-block;
    margin-left: 0.5rem;
}

.mobile_login_register{
    display: none;
}

.login-ap {
    position: absolute;
    box-sizing: border-box;
    top: 65px;
    right: 5px;
    padding: 0px 0 0px 0;
    margin: 0px 0px 0px -9px;
    border: 0px solid black;
    border-top: 0px;
    width: 375px;
    border: 2px solid black;
    background-color: #3A3E42;
  }
  
.login-ap p {
      padding: 0px 5px 2px 12px;
      font-size: 12px;
}

.overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 4;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.6s ease-out;
}

.nav-toggle-button{
    display: none;
}

.nav-toggle-button svg{
    fill: #a9a9a9
  }

.login_password_wrapper{
    display:flex
}


@media (max-width: 1305px){
    .nav-wrapper{
        align-items: center;
    }
    
    .tabs{
        background-color: black;
        z-index: 5;
        position: fixed;
        top: 0;
        right: -80%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        overflow-y: auto;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        border-left:3px solid #A9A9A9;
        box-sizing: border-box;
        padding: 2rem;
        transition: right 0.6s ease-out
    }

    .tabs-inner{
        flex-direction: column;
        align-items: start;
        gap: 0;
    }

    .nav-link{
        background-color: black;
        color: #a9a9a9;
        padding: 0px;
    }
    
    .nav-link.active{
        background-color: black;
        color: white
    }
    
    .nav-link div{
        padding: 0px;
    }

    .login_box{
        display: flex;
        align-self: start;
        justify-content: start;
        align-items: start;
        background-color: black;
        padding: 0;
        margin-top: 10px;
    }

    .login_box div form {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .login_password_wrapper{
        flex-direction: column;
    }
    .login_div{
        display: flex;
        flex-direction: column;
    }
    .password_div{
        display: flex;
        flex-direction: column;
    }

    .mobile_login_register{
        display: flex;
        gap: 15px;
        align-self: end;
    }

    .mobile-nav-link{
        background-color: #3a3e42;
        color: #a9a9a9;
        font-size: 17px;
        font-weight: bold;
        text-decoration: none;
        box-shadow: inset 0 -8px 6px -6px black;
        overflow: hidden;
    }
    
    .mobile-nav-link:hover{
        color: white;
    }
    
    .mobile-nav-link.active{
        background-color: #1A1A1A;
        box-shadow: none;
        color: white;
    }
    
    .mobile-nav-link div{
        height: 50px;
        padding-left: 8px;
        padding-right: 8px;
        display: flex;
        align-items: center;
    }

    .account_box{
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 0px;
    }

    .login_submit input{
        height: 2rem;
    }

    .login-ap {
        position: relative;
        top: 0;
        padding: 0px 0 0px 0;
        margin: 0px 0px 0px -9px;
        border: 0px solid black;
        border-top: 0px;
        border: 2px solid black;
        width: 60%;
    }

    .nav-toggle-button{
        display: block;
        margin-right: 0.5rem;
    }

    #nav-toggle:checked ~ .tabs{
        right:0px;
    }

    #nav-toggle:checked ~ .overlay {
        pointer-events: all;
        background-color: rgba(0,0,0,0.5);
    }
}

@media (max-width: 420px) {
    .mobile_login_register a {
        font-size: 13px;
    }
    .nav{
        height: 40px;
    }
    .mobile_login_register{
        gap: 10px;
    }
    .mobile-nav-link div{
        height:40px;
    }
    #layout{
        margin-top: 40px;
    }
    .player_id{
        display: none;
    }
}