body {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
    line-height: 1.6;
}
/* Kontener na tło */
.image-background {
    position: fixed; /* Tło zostaje w miejscu podczas przewijania strony */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Przesuwa tło pod inne elementy na stronie */
}

/* Samo zdjęcie */
.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sprawia, że zdjęcie wypełnia cały ekran, ucinając nadmiar, ale nie psując proporcji */
    object-position: center; /* Wyśrodkowuje zdjęcie */
}

.rodo-standardy .dropdown-menu {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Wyśrodkowanie każdego linku w menu */
.rodo-standardy .dropdown-menu a {
    display: block;
    text-align: center;
    padding: 10px;
}
.menu-icon {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background-color: rgba(216, 168, 227, 0.2);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
}
.dropdown-menu {
    display: none;
    position: fixed;
    top: 50px;
    right: 15px;
    background-color: rgb(70, 1, 112, 0.9);
    color: #d3b0eb;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color:  #d3b0eb;
}

.dropdown-menu a:hover {
    background-color: rgba(216, 168, 227, 0.5);
}
.wavy-text{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight:normal;
}
.rodo{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 19px;
    color:black;
 
}
.klauzula{
    text-align: center;
    font-size:40px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight:normal;
    color:black;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video,
.video-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 20px;
}

h1 {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-style: italic;
    font-size: 85px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: -15px;
}

p {
    font-style: italic;
}

h1 a {
    text-decoration: none;
    color: rgb(210, 190, 230);
}

h1 span {
    font-size: 28px;
    color: rgb(210, 190, 230);
}

.contact-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    text-align: left;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 30%;
    margin-right: 50px;
}

.contact-container h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: rgb(210, 190, 230);
}

.contact-container p {
    font-size: 23px;
    margin: 0;
    padding: 0;
    color: rgb(234, 225, 243);
}

table.Podstrony {
    
    width: 40%;
    border-collapse: collapse;
    margin: 0 auto;
}

table.Podstrony td {
    
    text-align: center;
    vertical-align: middle;
    padding: 20px;
    border-radius: 5px;
    width: 180px;
    height: 180px;
}

table.Podstrony img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

table.Podstrony a {
    font-size: 25px;
    text-decoration: none;
    color: rgb(234, 225, 243);
 
   
    display: inline-block; /* Zmiana na inline-block, aby szerokość była stała */
    width: 75%; /* Określona szerokość obramowania */
    height:85%;
    margin-top: 10px;
    padding: 12px;
    border: 2px solid rgb(234, 225, 243,0.5);
    border-radius: 35px;
    text-align: center;
    transition: transform 0.3s ease;
}

table.Podstrony a:hover {
    transform: scale(1.2);
}

.custom-line {
    width: 90%;
    margin: 20px auto;
    border: 0;
    border-top: 2px solid #fff;
}
.wavy-text {
    text-decoration: underline;
    text-decoration-color: rgb(234, 225, 243,0.2); /* Kolor podkreślenia (możesz zmienić) */
    text-underline-position: under;
    color:rgb(210, 190, 230);
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #a9a9a9;
}

.about-container {
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.43);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 20px;
    width: 80%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.image-container {
    margin-right: 20px;
    flex-shrink: 0;
    width: 40%;
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.text-container {
    max-width: 50%;
}

.text-container h2 {
    
    font-style: italic;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.text-container p {
    font-size: 22px;
    color: black;
    line-height: 1.6;
}

.description-container {
    background-color: rgba(169, 169, 169, 0.4);
    padding: 20px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    border-radius: 15px;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

.description-text p {
    font-weight: normal;
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.images-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 20px;
    gap: 10px;
}

.images-container img {
    width: 45%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.images-container img:hover {
    transform: scale(2.5);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 1px;
    padding: 20px;
    justify-content: center;
    width: 82%;
    margin: 0 auto;
}

.gallery img {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.5);
}

html, aktualnosci {
    scroll-behavior: smooth;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 27px;
    padding: 10px;
    border-radius: 50%;
    display: none;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.scroll-to-top:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.go-back {
    position: fixed;
    top: 20px;
    left: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 27px;
    padding: 10px;
    border-radius: 50%;
    display: block;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.go-back:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-container a {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS';
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: white;
}

.footer-copyright {
    margin-top: 20px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5)
  
}

@media (max-width: 768px) {

    .video-background video,
    .video-background img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 120vh;
        min-width: 100vw;
        min-height: 100vh;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

    html, body {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-style: normal;
        font-weight: normal;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    h1 {
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 73px;
        margin-top: 30px;
    }
    
    h1 span {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-weight: normal;
        font-size: 27px;
        margin-top: 3px;
        display: block;
    }

    .container {
        padding-top: 30px;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        
    }

    .logo {
        order: 1;
        margin: 20px 0 0 0;
        width: 150px;
    }

    .about-container {
        display: block;
        width: 90%;
        padding: 20px;
    }

    .text-container {
        width: 200%;
        margin: 0;
        order: 1;
    }

    .text-container h2 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 15px;
        width: 200%; 
        order: 1;
    }

    .text-container p {
        font-size: 18px;
        width: 200%;
        text-align: justify;
    }

    .profile-image {
        width: 90%;
        margin: 0 0 0 8px; 
    }

    .image-container {
        order: 2; 
        margin: 0 auto; 
        width: 100%;
        margin-top: 20px; 
        display: block; 
    }

    .footer {
        text-align: center;
        padding: 20px 0; /* Dodajemy przestrzeń na górze i dole stopki */
        font-size: 14px;
        background-color: rgba(0, 0, 0, 0.4);
        color: white;
    }
    
    .footer-container {
        display: flex;
        justify-content: center; /* Wyśrodkowanie linków */
        gap: 20px; /* Dodajemy przestrzeń między linkami */
        margin-bottom: 20px; /* Przestrzeń między linkami a prawami autorskimi */
    }
    
    .footer-container a {
        color: rgba(255, 255, 255, 0.8);
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-container a:hover {
        color: white;
    }
    
    .footer-copyright {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.5);
    }


    .wavy-text {
        display: none; /* Ukrywa napis "Zapraszam do kontaktu" */
    }

    .contact-container div {
        margin-top: -10px; /* Przesuwa dane kontaktowe wyżej */
    }
}
