body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: rgb(54, 54, 54);
    color: white;
}


a {
    color: rgb(116, 104, 255);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    background-color: rgb(116, 104, 255);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    box-shadow: rgb(152, 152, 152);
}

button:hover {
    background-color: rgb(78, 78, 78);
    transform: scale(1.2);
}

button:active {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    box-shadow: 0 5px #666;
    transform: translateY(4px);
    transition-duration: 0.4s;
    transition-property: transform;
}


footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
}





.top {
    float: left;
    position: relative;
    background-color: royalblue;
    width: 100%;
    height: 60px; /* Use 100% of the viewport height */
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    box-shadow: #606060;
}

.top a {
    float: right;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.top h1 {
    float: left;
    animation: shakingtext 2s infinite;
}

.changing-text::before {
    content: "Siema!";
    font-size: 36px;
    color: var(--color);
    animation: changeText 3s linear infinite;
}

.about-us {
    background-color: #fff;
    color: black !important;
    border-radius: 5px;
}

.about-us h1,
#center {
    display: flex;
    justify-content: center;
}

.about-us li {
    margin-left: 5px;
}

#alaholo {
    font-size: 30px;
    font-weight: bold;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie {
    background-color: #343a40; /* Ciemnoszary kolor tła */
    color: #fff; /* Biały kolor tekstu dla kontrastu */
    padding: 15px; /* Odstępy wewnątrz komunikatu */
    position: fixed; /* Utrzymanie komunikatu na stałej pozycji */
    top: 50%; /* Ustawienie górnej krawędzi na środku ekranu w pionie */
    left: 50%; /* Ustawienie lewej krawędzi na środku ekranu w poziomie */
    transform: translate(-50%, -50%); /* Przesunięcie komunikatu o -50% jego wysokości i szerokości */
    width: auto; /* Auto szerokość w zależności od zawartości */
    max-width: 90%; /* Maksymalna szerokość komunikatu */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Cień dookoła komunikatu */
    z-index: 1000; /* Zapewnia, że komunikat będzie nad innymi elementami */
    text-align: center; /* Wyśrodkowanie tekstu */
    font-size: 16px; /* Określenie rozmiaru czcionki */
    border-radius: 8px; /* Zaokrąglenie rogów komunikatu */
}


@keyframes changeText {
    0% { content: "AfterCraft.pl > Profesjonalne usługi"; }
    1% { content: "AfterCraft.pl > Profesjonalne usług"}
    2% { content: "AfterCraft.pl > Profesjonalne usłu"}
    3% { content: "AfterCraft.pl > Profesjonalne usł"; }
    4% { content: "AfterCraft.pl > Profesjonalne us"; }
    5% { content: "AfterCraft.pl > Profesjonalne u"; }
    6% { content: "AfterCraft.pl > Profesjonalne"}
    7% { content: "AfterCraft.pl > Profesjonaln"}
    8% { content: "AfterCraft.pl > Profesjonal"}
    9% { content: "AfterCraft.pl > Profesjona"}
    10% { content: "AfterCraft.pl > Profesjon"}
    11% { content: "AfterCraft.pl > Profesjo"}
    12% { content: "AfterCraft.pl > Profesj"}
    13% { content: "AfterCraft.pl > Profes"}
    14% { content: "AfterCraft.pl > Profe"}
    15% { content: "AfterCraft.pl > Prof"}
    16% { content: "AfterCraft.pl > Pro"}
    17% { content: "AfterCraft.pl > Pr"}
    18% { content: "AfterCraft.pl > P"}
    19% { content: "AfterCraft.pl > "}
    20% { content: "AfterCraft.pl > M"}
    21% { content: "AfterCraft.pl > Mi"}
    22% { content: "AfterCraft.pl > Mił"}
    23% { content: "AfterCraft.pl > Miła"}
    24% { content: "AfterCraft.pl > Miła a"}
    25% { content: "AfterCraft.pl > Miła ad";}
    26% { content: "AfterCraft.pl > Miła adm"}
    27% { content: "AfterCraft.pl > Miła admi"}
    28% { content: "AfterCraft.pl > Miła admin"}
    29% { content: "AfterCraft.pl > Miła admini"}
    30% { content: "AfterCraft.pl > Miła adminis"}
    31% { content: "AfterCraft.pl > Miła administ"}
    32% { content: "AfterCraft.pl > Miła administr"}
    33% { content: "AfterCraft.pl > Miła administra"}
    34% { content: "AfterCraft.pl > Miła administrac"}
    35% { content: "AfterCraft.pl > Miła administracj"}
    36% { content: "AfterCraft.pl > Miła administracja"; }
    50% { content: "AfterCraft.pl > Miła administracja"; }
    51% { content: "AfterCraft.pl > Miła administracj"; }
    52% { content: "AfterCraft.pl > Miła administrac"}
    53% { content: "AfterCraft.pl > Miła administra"; }
    54% { content: "AfterCraft.pl > Miła administr"; }
    55% { content: "AfterCraft.pl > Miła administ"; }
    56% { content: "AfterCraft.pl > Miła adminis"; }
    57% { content: "AfterCraft.pl > Miła admini"; }
    58% { content: "AfterCraft.pl > Miła admin"; }
    59% { content: "AfterCraft.pl > Miła admi"; }
    60% { content: "AfterCraft.pl > Miła adm"; }
    61% { content: "AfterCraft.pl > Miła ad"}
    62% { content: "AfterCraft.pl > Miła a"}
    63% { content: "AfterCraft.pl > Miła"; }
    64% { content: "AfterCraft.pl > Mił"; }
    65% { content: "AfterCraft.pl > Mi"; }
    66% { content: "AfterCraft.pl > M"; }
    67% { content: "AfterCraft.pl >"}
    68% { content: "AfterCraft.pl > S"; }
    69% { content: "AfterCraft.pl > Sz"; }
    70% { content: "AfterCraft.pl > Szy"; }
    71% { content: "AfterCraft.pl > Szyb"; }
    72% { content: "AfterCraft.pl > Szybk"; }
    73% { content: "AfterCraft.pl > Szybka "}
    74% { content: "AfterCraft.pl > Szybka p"; }
    75% { content: "AfterCraft.pl > Szybka po"; }
    76% { content: "AfterCraft.pl > Szybka pom"; }
    77% { content: "AfterCraft.pl > Szybka pomo"; }
    100% { content: "AfterCraft.pl > Szybka pomoc"; }
}

@keyframes shakingtext {

    0% {
        transform: translate3d(1px, 0, 0);
    }
    10% {
        transform: translate3d(-1px, 0, 0);
    }
    20% {
        transform: translate3d(1px, 0, 0);
    }
    30% {
        transform: translate3d(-1px, 0, 0);
    }
    40% {
        transform: translate3d(1px, 0, 0);
    }
    50% {
        transform: translate3d(-1px, 0, 0);
    }
    60% {
        transform: translate3d(1px, 0, 0);
    }
    70% {
        transform: translate3d(-1px, 0, 0);
    }
    80% {
        transform: translate3d(1px, 0, 0);
    }
    90% {
        transform: translate3d(-1px, 0, 0);
    }
    100% {
        transform: translate3d(1px, 0, 0);
    }

}