@media only screen and (max-width: 400px){

   
    .textos-one {
        width: 90%;
        margin-top: 10px;
        color: rgb(255, 0, 0);
        font-weight: lighter;
    }
    

    
    #encabezado h1{
        font-size: 16px;
    }
    
    #encabezado p{
        font-weight: normal;
        font-size: 8px;
    }

    .simulador h2{
        margin-top: 10px;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 1250px){ 
   
    .simulador {
        margin: 0 auto; /* Centrar horizontalmente */
        width: 90%; /* Reducir el ancho al 90% del contenedor */
        max-width: 500px; /* Establecer un ancho máximo */
    }

    
    .textos-one {
        width: 90%;
        margin-top: 10px;
        color: white;
        font-weight: lighter;
    }
    


    #encabezado h1{
        font-size: 16px;
    }
    
    #encabezado p{
        font-weight: normal;
        font-size: 8px;
    }
    
    form {
        max-width: 90%; /* Establecer un ancho máximo */
        margin: 0 0; /* Centrar horizontalmente */
        text-align: center;
    }
    
    input[type="number"], select {
        width: 100%;
        padding: 8px;
        margin: 5px 0;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    button {
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        margin: 10px 0;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        width: 100%; /* Establecer el ancho al 100% del contenedor */
    }
    
    table {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid #ddd;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    
    table th, table td {
        padding: 5px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }
    
    table th {
        background-color: #f2f2f2;
    }
    
    table tr:nth-child(even) {
        background-color: #f2f2f2;
    }       

}