* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: aqua;
}

.header {
    display: flex;
    align-items: center;
    padding: 10px;
}

.menu {
    display: flex;
    align-items: center;
    border: 2px solid rgb(255, 255, 255);
    padding: 10px 20px;
    background-color: white;
    height: 60px;
    width: 100vw; /* Ustawienie szerokości na całą stronę */
    position: absolute; /* Pozwala przesunąć menu */
    left: 0; /* Zapewnia, że zaczyna się od lewej krawędzi */
    border-left-color: green;
    border-left-width: 150px;
}

.menu a {
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    border-left: 2px solid white;
    justify-content: space-around; /* Zapewnia równomierne rozmieszczenie */
    text-align: center;
}

.menu a::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background: green;
    transition: width 0.3s;
    margin: auto;
}

.menu a:hover::after {
    width: 100%;
}

.zst-button:hover {
    background-color: #006400; /* Ciemniejszy zielony */
    border-color: #006400;
    transition: width 0.9s;
}



.logo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    z-index: 10;
    position: relative;
}

.zst-button a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.zst-button {
    background: green;
    padding: 10px 20px;
    text-align: center;
    border: 2px solid green;
    border-radius: 15px;
    left: 110px; /* Dopasuj pozycję */
    top: 10px; /* Dostosuj względem menu */
    z-index: 9; /* Wyższy priorytet warstw */
    color: white;
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: -40px;
    transition: background-color 0.3s ease-in-out; /* Płynna zmiana koloru */
}



/* Animacja przesuwania w dół bez efektu zanikania */
@keyframes slideDown {
    0% {
        transform: translateY(-100px); /* Startuje 100px powyżej */
    }
    100% {
        transform: translateY(0); /* Wraca na miejsce */
    }
}

.menu {
    display: flex;
    align-items: center;
    border: 2px solid rgb(255, 255, 255);
    padding: 10px 20px;
    background-color: white;
    height: 60px;
    width: 100vw;
    position: absolute;
    left: 0;
    border-left-color: green;
    border-left-width: 150px;

    /* Animacja przesuwania */
    animation: slideDown 0.3s ease-out;
}

.logo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    z-index: 10;
    position: relative;

    /* Animacja przesuwania */
    animation: slideDown 0.3s ease-out;
}

.zst-button {
    background: green;
    padding: 10px 20px;
    text-align: center;
    border: 2px solid green;
    border-radius: 15px;
    color: white;
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease-in-out;

    /* Animacja przesuwania */
    animation: slideDown 0.3s ease-out;
}

/* Efekt po najechaniu */
.zst-button:hover {
    background-color: #006400;
    border-color: #006400;
}
