/* The Overlay (background) */
/* The Overlay (background) */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(245, 249, 252); /* Białe, lekko przezroczyste tło */
    overflow-x: hidden;
    transition: 0.5s;
}

/* Pozycjonowanie zawartości menu */
.overlay-content {
    position: relative;
    top: 15%; /* Nieco niżej, aby zrobić miejsce na nagłówek "Menu" */
    width: 100%;
    text-align: left; /* Wyrównanie tekstu do lewej */
    margin-top: 15px;
    padding-left: 20px; /* Odstęp od lewej krawędzi */
}

/* Napis Menu nad listą pozycji */
.menu-label {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    padding: 20px 20px 10px 20px;
}

/* Linki w menu */
.overlay a {
    padding: 8px 8px 8px 30px; /* Lewy padding zwiększony, aby zrobić miejsce na kwadracik */
    text-decoration: none;
    font-size: 20px;
    color: #333;
    display: block;
    transition: 0.3s;
    position: relative;
}

/* Dodanie czerwonego kwadracika (bullet point) przed linkiem */
.overlay a::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: red;
}

/* Efekt hover - zmiana koloru linków */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Przycisk zamknięcia menu */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #333;
}


.overlay a.closebtn::before {
    content: none; /* Wyłącza generowanie bulletu */
}

/* Dla ekranów o wysokości poniżej 450px */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 18px;
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


  