/* styles.css */


/* Initial styles for the "Generate PDF" button */
#generatePdfButton {
    background-color: #4CAF50; /* Green background color */
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: not-allowed; /* Not clickable */
    margin: 0 auto;
    display: block;
    opacity: 0.5; /* Initial transparency level */
}

/* Updated styles for the "Generate PDF" button when all questions are answered */
#generatePdfButton.active {
    cursor: pointer; /* Make it clickable */
    opacity: 1; /* Full opacity */
}

/* Add these styles to your CSS file */

.scheinselbststandigkeits-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333; /* Set your desired color */
}
/* Add these styles to your CSS file */

/* Add these styles to your CSS file */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dbits-logo,
.hays-logo {
    height: 70px; /* Adjust the height as needed */
    width: auto;
    margin-right: 30px; /* Adjust the spacing between logos */
}

/* Add media query to adjust styles for smaller screens */
@media screen and (max-width: 600px) {
    .logo {
        flex-direction: column; /* Stack logos vertically on smaller screens */
        align-items: center; /* Center logos vertically */
    }

    .hays-logo {
        margin-top: 10px; /* Add space between logos on smaller screens */
        margin-right: 0; /* Remove right margin on smaller screens */
    }
}

/* Add more styles as needed */


/* Add more styles as needed */


body {
    font-family: 'Arial', sans-serif;
    background-image: url('https://www.dbits.it/wp-content/uploads/2023/12/foto.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 1rem;
}

/* Main Content Styles */
main {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

/* Section Heading Styles */
.section-heading {
font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #009900;

}

/* Question Container Styles */
.question-container {
    margin-bottom: 2rem;
}

/* Question Styles */
.question {
    font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
}

/* Options Styles */
.options {
    display: flex;
    flex-direction: column;
}

/* Option Styles */
.option {
    margin: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border: 2px solid #009900;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.option:hover {
    background-color: #009900;
    color: white;
}

/* Selected Option Styles */
.selected {
    background-color: #C7F2E9;
    color: #009900;
    border: 2px solid #009900;
}

/* Answer Styles */
.answer {
    margin-top: 1rem;
    display: none;
}

/* Footer Styles */
footer {
    background-color: #444D54;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

/* Footer Column and Info Styles */
.footer-column,
.footer-info {
    margin-bottom: 20px;
}

/* Footer Link Styles */
.footer-column a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
}

/* Footer Info Span Styles */
.footer-info span {
    display: block;
    margin-bottom: 8px;
}

/* Newsletter Link Styles */
.newsletter-link {
    text-align: center;
    margin-top: 20px;
}

/* Newsletter Link Avia Button Wrap Styles */
.newsletter-link .avia-button-wrap {
    margin-top: 10px;
}

/* Expandable Section Styles */
.expandable-section {
    margin-bottom: 20px;
}

/* Expand Checkbox Styles */
.expand-checkbox {
    display: none;
}

/* Expand Label Styles */
.expand-label {
    background-color: #ccc; /* Light gray color */
    color: #000; /* Black text color */
    padding: 10px;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 5px;
}

.expand-checkbox:checked + .expand-label::after {
    content: '\25BC'; /* Downward-pointing triangle */
    color: #444; /* Darker gray color for the expand sign */
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* Expand Content Styles */
.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Checked Expand Label and Content Styles */
.expand-checkbox:checked + .expand-label + .expand-content {
    max-height: 1000px;
}


/* Print Styles */
@media print {
    .option {
        background-color: transparent !important;
        color: #333 !important;
        border: 2px solid #333 !important;
    }

    .selected {
        background-color: #C7F2E9 !important;
        color: #009900 !important;
        border: 2px solid #009900 !important;
    }

    #dummy-header,
    footer {
        display: none;
    }

    .expand-checkbox,
    .expand-label {
        display: none;
    }

    .expand-content {
        max-height: none !important;
        overflow: visible !important;
    }
}
