menu {flex: 22%; max-width: 22%; min-height: 100%; padding: 0; margin: 1%;}
center {flex: 48%; min-height: 100%; padding: 0; margin: 1%;}
aside {flex: 22%; max-width: 22%; min-height: 100%; padding: 0; margin: 1%;}

body {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position: center;
    background-attachment: fixed;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    margin: 0;
    padding: 1.0%;
    justify-content: center;
}

menu, aside
{
    height: 100%;
}

aside > div {
    border-radius: 10px;
    text-align: center;
}

menu > div {
    border-radius: 10px;
    text-align: center;
}

.pasje_left
{
    background-color: rgba(190, 210, 230, 0.7);
    padding-bottom: 1px;
}

.przepisy_left
{
    background-color: rgba(94, 162, 128, 0.5);
    
}

.przepisy_right
{
    background-color: rgba(100, 170, 200, 0.5);
}

.subsite_box
{
    float: left;
    padding-bottom: 20px;
    padding-top:0px;
    height: 300px;
}

.subsite_box:hover
{
    filter: brightness(1.05);
    transform: scale(1.01);
    /*
    transform: rotate(-5deg) translateX(-35px);
    transition: 0.75s;
    animation: sway 2.0s linear infinite;
    animation-delay: 0.75s;
    */
}

@keyframes sway {
    0% {
        transform: rotate(-5deg) translateX(-35px);
    }
    25% {
        transform: translateY(-15px);
    }
    50% {
        transform: rotate(5deg) translateX(35px);
    }
    75% {
        transform: translateY(-15px);
    }
    100% {
        transform: rotate(-5deg) translateX(-35px);
    }
}

button
{
    cursor: pointer;
}

b { font-weight: bold; }
* { font-family: verdana; overflow-wrap: break-word; line-height: 1.3;}

hr {
    color: white;
    width: 95%;
}

a {
    color: black;
}

.back-button {
    min-width: 50%;
    min-height: 5%;
    font-size: 20px;
    margin: 5%;
    border-radius: 10px;
}

.back-button:hover {
    filter: brightness(0.95);
}

img {
    border-radius: 10px;
}

.passion-item-description {
    line-height: 1.4;
    font-size: 22px;
}

.passion-item-description {
    line-height: 1.5;
    font-size: 13pt;
}

.passion-item-image {
    max-width: 100%;
    max-height: 30%;
    margin-top: 10%;
}

.homepage-links {
    color: inherit;
    display: inline-block;
}

.btn-submit {
    background-color: #007bff; /* Kolor tła przycisku */
    color: #fff; /* Kolor tekstu przycisku */
    padding: 10px 20px; /* Rozmiar i wypełnienie przycisku */
    border: none; /* Usunięcie obramowania przycisku */
    border-radius: 5px; /* Zaokrąglenie krawędzi przycisku */
    cursor: pointer; /* Zmiana kursora na wskaźnik */
}

.homepage-figcaption {
    color: green;
    font-size: 16pt;
}

@media (min-width: 992px)
{
    menu, aside
    {
        margin: 5px;
    }

    .form-container {
        width: 90%; /* Ustawienie szerokości kontenera formularza */
        margin: 0 auto; /* Wyśrodkowanie kontenera formularza */
    }

    /* Stylowanie poszczególnych pól formularza */
    .form-field {
        margin-bottom: 20px; /* Dodanie odstępu między polami formularza */
    }

    /* Dodatkowe ostylowanie dla pola z plikiem */
    .file-input {
        margin-top: 10px; /* Dodanie odstępu między polem z plikiem a poprzednim polem */
    }

    .form-control {
        font-size: 16pt;
    }

    h1 {
        font-size: 50pt;
    }
}

@media (max-width: 991px)
{
    menu, center, aside
    {
        min-width: 98%;
    }
    h2, h3
    {
        padding: 0;
        margin: 0;
    }
    .form-control {
        background-color: whitesmoke;
    }
}