body {
    font-family: Arial, sans-serif;
    background: url('back.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: auto;
    max-width: 500px; /* Ograniczenie maksymalnej szerokości kontenera */
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 10px;
}

.form-row label,
.form-row .checkbox-label {
    margin-right: 10px;
    white-space: nowrap; /* Zapobiega zawijaniu się tekstu etykiety */
}

.form-row input[type="text"],
.form-row input[type="email"] {
    flex: 1; /* Pola tekstowe zajmują dostępną przestrzeń */
    margin-right: 10px; /* Odstęp między polami */
}

.form-row input[type="checkbox"] {
    margin-right: 10px; /* Odstęp między checkboxem a etykietą */
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

#logo-fundacji {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

/* Styl dla etykiet checkboxów, by nie rozszerzały się na całą szerokość */
.checkbox-label {
    flex-grow: 0; 
}
.flash-text {
    color: red;
    animation: flash 1s linear infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
