body {
    margin: 0;
}

#titleBackground {
    background-color: var(--darker-main-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.contentWrapper {
    padding: 20px;
    width: 100%;
    margin: auto;
    max-width: 950px;
}

.simulator {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inputs label {
    flex: 1 1 100%;
    font-weight: bold;
}

.inputs input {
    flex: 1 1 calc(50% - 10px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#calculateButton {
    flex: 1 1 100%;
    padding: 10px;
    background-color: var(--main-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#calculateButton:hover {
    background-color: #0056b3;
}

.chart-container {
    position: relative;
    margin-top: 20px;
    height: 400px;
    background-image: url('/assets/img/flou_graphe.webp');
}



.chart-container.transparent-bg {
    background-image: none;
}



article {
    margin-top: 45px;
}

.typeRevenu {
    width: 390px;
    display: inline-flex;
    flex-direction: column;
}





@media (max-width: 1100px){
    .contentWrapper {
        box-sizing: border-box;
    }
    
    .chart-container {
        background-position: center;   
    }
}

@media (max-width: 500px){

    
    .chart-container {
        background-size: contain;
        background-repeat: no-repeat;
        height: auto;
    }
}















