body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

.survey-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
}

.progress-bar {
    height: 20px;
    width: 0%;
    background-color: #4CAF50;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    transition: width 0.4s ease-in-out;
}

.survey-page {
    margin-bottom: 20px;
}

.survey-page h2 {
    color: #333;
    margin-bottom: 15px;
}

.question-group {
    margin-bottom: 20px;
}

.question-group label {
    display: block;
    margin-bottom: 8px;
}

.question-group input[type="radio"],
.question-group input[type="checkbox"] {
    margin-right: 10px;
}

.question-group input[type="number"],
.question-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

button:hover {
    background-color: #0056b3;
}

button[type="submit"] {
    background-color: #28a745;
}

button[type="submit"]:hover {
    background-color: #218838;
}

button.prev-btn {
    background-color: #6c757d;
}

button.prev-btn:hover {
    background-color: #5a6268;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
  
    color: #000;
    padding: 20px 0;
    text-align: center;
}

.main-header .logo img {
    max-height: 80px; /* Wysokość logo */
    margin-bottom: 10px;
}

.main-header h1 {
    margin: 0;
    font-size: 2.2em;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.main-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.button-container {
    display: flex;
    gap: 20px; /* Odstęp między przyciskami */
    flex-wrap: wrap; /* Zawijanie przycisków na mniejszych ekranach */
    justify-content: center;
}

.btn {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    min-width: 250px; /* Minimalna szerokość przycisków */
    text-align: center;
}

.btn:hover {
    background-color: #218838;
}

.main-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .main-header h1 {
        font-size: 1.8em;
    }
    .button-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .btn {
        width: 100%;
        min-width: unset;
    }
}