body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

.kontener-zewnetrzny {
    width: 100%;
    padding: 115px;
    justify-content: center;
}

.kontener {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.kwadrat {
    width: 340px;
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
    margin: 10px;
    position: relative;
}

h3 {
    color: black;
    font-size: 1.5em;
    margin-bottom: 5px;
    text-align: center;
}

h4 {
    color: black;
    font-size: 0.9em; 
    margin-bottom: 10px;
    font-weight: normal;
}

.cena {
    color: orange;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.opis {
    color: black;
    font-size: 0.9em;
    text-align: left;
    margin-bottom: 40px;
}

.przycisk {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.przycisk:hover {
    background-color: lightgreen;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    transition: background-color 0.6s ease;
    z-index: 1000;
}

.logo-container {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    margin-left: 10px;
}

nav .logo {
    margin-bottom: 0; 
}

nav .logo img {
    margin-left: 18px; 
}

.logo-subtext {
    color: white;
    font-size: 0.7em; 
    line-height: 1; 
    margin: 0;
    white-space: nowrap; 
    overflow: hidden;       
    text-overflow: ellipsis; 
    max-width: 300px;
    transition: color 0.5s ease-in-out;
}

nav .menu {
    margin-right: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    padding: 10px 20px;
    background-color: green;
    border-radius: 5px;
}

#sekcja1 {
    background-image: url("bg.webp");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding-top: 30px; 
    box-sizing: border-box; 
}

#sekcja1 h1 {
    font-size: 4em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 200px;
}

#sekcja1 button {
    background-color: green;
    color: black;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin-bottom: 100px;
}

#o-nas {
    background-color: white;
    display: flex;
    padding: 50px;
}

#o-nas img {
    height: 40%;
    height: auto;
}

#o-nas .tresc {
    width: 50%;
    padding-left: 50px;
}

#o-nas h2 {
    color: black;
    margin-bottom: 20px;
}

#o-nas p {
    color: black;
    margin-bottom: 10px;
}

#o-nas .gif {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

#o-nas .gif img {
    width: 200px;
    height: auto;
}

#uslugi {
    background-color: white;
    display: flex;
    padding: 50px;
}

#uslugi .lewa-strona {
    width: 50%;
}

#uslugi h2 {
    margin-bottom: 20px;
}

#uslugi .prostokat {
    background-color: #eee;
    padding: 20px;
    margin-bottom: 20px;
}

#uslugi .ciemniejszy {
    background-color: #ddd;
}

#uslugi .prawa-strona {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#uslugi .prawa-strona img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#uslugi .prawa-strona button {
    background-color: green;
    color: black;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 80px;
}

#sekcja4 {
    background-color: #26243a;
    padding: 50px;
    text-align: center;
}

#sekcja4 h2 {
    color: orange;
    font-size: 1.5em;
    margin-bottom: 20px;
}

#sekcja4 h1 {
    color: white;
    font-size: 2em;
    margin-bottom: 30px;
}

#sekcja4 .linia {
    width: 200px;
    height: 15px;
    background-color: orange;
    border-radius: 10px;
    margin: 0 auto 30px;
}

#sekcja4 p {
    color: orange;
    margin-bottom: 50px;
}

#sekcja4 .cztery-czesci {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

#sekcja4 .czesc {
    width: 20%;
    text-align: left;
    color: white;
}

#sekcja4 .czesc img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#sekcja4 .czesc h3 {
    margin-bottom: 10px;
}

#sekcja4 .maly-tekst {
    color: white;
    font-size: 0.8em;
    margin-bottom: 30px;
}

#sekcja4 button {
    background-color: orange;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
}

#kontakt {
    padding: 50px;
}

#kontakt h2 {
    margin-bottom: 20px;
}

#kontakt label {
    display: block;
    margin-bottom: 5px;
}

#kontakt input,
#kontakt textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#kontakt textarea {
    height: 150px;
}

#kontakt input[type="submit"] {
    background-color: green;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
}
#kontakt form {
    width: 40%;
    margin: 0 auto;

#footer {
    background-color: #26243a;
    display: flex;        
    align-items: center; 
    padding: 20px;
}

.msg-status {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 80px;
    padding: 40px;
    width: 650px;
    border-radius: 16px;
    font-size: 24px;
}

.success {
    display: flex;
    background-color: hsl(143, 83%, 55%);
}

.error {
    display: flex;
    background-color: hsl(9, 100%, 64%);
}