html,
body {
    cursor: context-menu;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: white;
}

/* Stylizacja kontenera głównego */
.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 1100px;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Stylizacja nawigacji */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(83 21 88);
    padding: 5px;
    position: relative;
}

.nav label {
    color: white;
    font-size: 14px;
    margin-right: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
}

.nav label:hover {
    background-color: #444;
}

/* Stylizacja przycisku "Wyloguj" */
.nav button {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.nav button:hover {
    background-color: #c0392b;
}

/* Stylizacja siatki (gridu) */
#grid {
    flex-grow: 1;
    margin: 0;
    width: 99%;
}


/* Elementy nawigacji */
.nav-items {
    display: flex;
    gap: 20px;
}

/* Ukrywanie elementów w trybie mobilnym */
.nav-items.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #333;
    width: 100%;
    padding: 0;
    z-index: 10;
}

.nav-items.active label,
.nav-items.active button {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #444;
    color: white;
}

.nav-items.active button {
    background-color: #e74c3c;
    border: none;
}

/* Stylizacja przycisku hamburgera */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.logo img {
    margin: 0;
    padding: 0;
}

.reset-btn {
    background-color: #007BFF;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;

}

.reset-btn:hover {
    background-color: #0056b3;
}

.reset-btn:active {
    background-color: #004085;
    transform: scale(0.98);
}

.reset-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 143, 255, 0.5);
}

.btn-container {
    display: flex;
    justify-content: flex-end;
}

.reset-btn,
.delete-btn {
    background-color: #007BFF;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.reset-btn:hover,
.delete-btn:hover {
    background-color: #0056b3;
}

.reset-btn:active,
.delete-btn:active {
    background-color: #004085;
    transform: scale(0.98);
}

.reset-btn:focus,
.delete-btn:focus {
    outline: none;
}

.delete-btn {
    background-color: #dc3545;
}

.delete-btn:hover {
    background-color: #c82333;
}

.delete-btn:active {
    background-color: #bd2130;
}

@media (max-width: 600px) {
    .main-container {
        width: 99%;
    }

    .hamburger {
        display: flex;
    }

    /* Ukrywanie elementów menu w widoku mobilnym */
    .nav-items {
        display: none;
    }

    /* Wyświetlanie dropdown menu po kliknięciu */
    .nav-items.active {
        display: flex;
    }

    .nav-items {
        gap: 0px;
    }

    .custom-font {
        font-size: 11px;
    }
}


#logo-container {
    display: flex;
    width: 350px;
    height: 132px;
    align-items: center;
    justify-content: center;
}