﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    margin-bottom: 60px;
    background-color: #131313;
    color: white;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.menu_left {
    background-color: black;
    width: 200px;
    min-height: 100vh;
    color: white;
    padding-left: 25px;
    padding-top: 10px;
    flex-shrink: 0; /* blokuje menu przed zwijaniem */
}

.nav-link {
    color: navajowhite !important; /* testowo daj czerwony, żeby zobaczyć, czy działa */
    text-decoration: none;

}

.nav-item {
    margin-left:10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.nav-link:hover {
    color: #606060 !important; /* kolor po najechaniu */
}

.logo {
    align-content: center;
    padding-top: 10px;
}

.menu {
    padding-top: 40px;
}

.top_ip {
    color: black;
    background-color: navajowhite;
}



.box-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.box {
    background-color: navajowhite;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    border: 1px solid #d8b88c; /* delikatna ramka */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: black;
}

    .box h3 {
        margin-top: 0;
        font-size: 20px;
        font-weight: bold;
        border-bottom: 2px solid #cfa676;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }



.box1 {
    background-color: #414141;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    border: 1px solid #222; /* delikatna ramka */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white;
}

.box1 h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #606060;
    padding-bottom: 5px;
    margin-bottom: 10px;
}




.box2 {
    background-color: #414141;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    border: 1px solid #222; /* delikatna ramka */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white;
    text-align:center;
}





/* GŁÓWNA TREŚĆ */
main {
    flex-grow: 1;
    padding: 20px;
}

.menu ul {
    list-style-type: none; /* usuwa kropki */
    padding-left: 0; /* usuwa domyślny odstęp */
    margin: 0; /* usuwa domyślny margines */
}

/* GŁÓWNY KONTENER – ustawia elementy obok siebie */
.layout {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.map_image {

    margin-top: 10px;
    max-width: 300px;
    max-height: 300px;

}








.box-weapons {
    background-color: #414141;
    padding: 20px;
    border-radius: 10px;
    width: 350px;
    border: 1px solid #414141; /* delikatna ramka */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: black;
}


table {
    border-collapse: collapse;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: #222;
    color: #fff;
    font-size: 16px;
}

td img {
    max-width: 175px;
    max-height: 77px;
    display: block;
    margin: 0 auto 5px;
}

td b {
    display: block;
    margin-top: 5px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}


.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #222;
    color: white;
    flex-shrink: 0; /* footer się nie kurczy */
}



.status-online::before {
    content: "";
    display: inline-block;
    width: 10px; /* średnica kropki */
    height: 10px;
    background-color: green;
    border-radius: 50%; /* kółko */
    margin-right: 5px; /* odstęp od tekstu */
}





/* DOWNLOAD */

.logo_download_game {

    max-width:200px;
    max-height:300px;
}

.link {

    font-family: 'Segoe Fluent Icons' 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration:underline;
    cursor: pointer;
    color: royalblue;
}