

*{
   box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

#menu {
   position: fixed;
    top: 0;         
    left: 0;          
    width: 100%;      
    z-index: 1000;    
    background-color: rgba(0, 0, 0, 0.8); 
    padding: 0;
    margin: 0;
    backdrop-filter: blur(5px);
}



#pierwsza {
    display: flex;
    justify-content: center; 
    align-items: center;     
    width: 100%;             
    padding: 10px 0;        
}

#pierwsza img {
    display: block;
    margin: 0 auto;          
    max-width: 100%;         
    width:50%;             
    height: auto;
    animation: breathe 4s infinite ease-in-out;

}

 @keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.02); opacity: 1; }
}



#druga, #trzecia, #czwarta, #piata, #szosta, #siodma {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 40px;
    padding-left: 365px;  
    padding-right: 365px; 
    width: 100%;
}

.zawartosc {
    flex: 1; 
    max-width: 800px; 
    padding: 0; 
}

section img {
    flex: 0 1 auto;
    max-width: 100%; 
    height: auto;
    margin: 0;
    transition: transform 0.5s ease, filter 0.5s ease;
}

section img:hover {
    transform: scale(1.05); 
    filter: brightness(1.2); 
    cursor: zoom-in;
}


body {
    margin: 0;
    padding-top: 80px;
    font-family: 'New Rocker', system-ui;
    background-image: url("img/tlo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    text-align: left;
  
  
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 40px; 
}

.nav-group {
    display: flex;
    gap: 30px; 
    flex: 1;   
}


.nav-group:first-child { justify-content: flex-end; }
.nav-group:last-child { justify-content: flex-start; }

.nav-logo {
    font-family: new rocker;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.nav-group a {
    color: white;
    text-decoration: none;
    font-family: new rocker;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;             
    justify-content: center;    
    align-items: center;        
    padding: 10px 0;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.mini-logo {
    font-size: 48px;          
    font-family: 'New Rocker';
    margin: 0 20px;           
    color: white;
    line-height: 1;           
}

.jasne {
    background: white;
    color: black;  
}

h1, h2 {
    margin: 30px 0;
}

 h2{
    font-size: 96px;
 }



p {
    font-family: "STIX Two Text", serif;
    font-optical-sizing: auto;
    font-weight: 400; 
    font-style: normal;
}

.zawartosc p::first-letter {
    font-family: 'New Rocker', cursive;
    font-size: 3rem;
    float: left;
    margin-right: 8px;
    line-height: 1;
    color: #656565; 
}

section {
    padding: 60px 20px;
}

footer {
    background-color: black !important; 
    width: 100%;
    margin: 0;
    padding: 60px 365px; 
    color: white;
}

#stopka {
    padding: 0; 
    margin: 0;
    background: transparent; 
}

.stopka-kontener {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.stopka-lewa {
    flex: 1;
}

.stopka-lewa h1 { font-size: 60px; margin: 0; }
.stopka-lewa h3 { margin-top: 30px; color: white; border: none; }


.stopka-prawa {
    flex: 1.5;
}

.formularz-boks {
    background-color: white;
    color: black;
    padding: 40px;
    border-radius: 5px; 
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-header h2 {
    margin: 0;
    font-size: 32px;
}


.formularz-boks input, 
.formularz-boks textarea {
    width: 100%;
    background-color: #e0e0e0; 
    border: none;
    padding: 15px;
    margin-bottom: 15px;
    font-family: stix two text, serif;
}

.formularz-boks textarea {
    height: 100px;
    resize: none;
}

.opis-serif {
    font-family: serif !important; 
    font-size: 16px;
    line-height: 1.6;
    margin-top: 5px;
    color: #e0e0e0; }

    button {
    transition: all 0.3s ease; 
    cursor: pointer;
    border: none;
    width: 200px; 
}

button:hover {
    background-color: #555; 
    color: white;
    transform: translateY(-2px); 
}


.social-icons img {
    transition: transform 0.2s;
    cursor: pointer;
    max-width: 70px;
}


.social-icons img:hover {
    transform: scale(1.2);
}




.copyright {
    text-align: right;
    margin-top: 40px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    opacity: 0.7;
}
